LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-02-2007, 12:02 AM   #1
orbit
Member
 
Registered: Sep 2006
Location: Australia
Distribution: Slackware
Posts: 176

Rep: Reputation: 30
Splashy with Slackware - Can it be done?


Hello all,

Using Slackware 12, I am trying to compile Splashy to enable a startup bootsplash.

I have installed dependancies including; directfb, glib2, libmagic and libjpeg.

Using the Installation instructions, I have extracted and tried multiple configurations including:
./configure
./configure --prefix=/
./configure --enable-static (as suggested Here)

.. on each separate try, the configure seems to go with no problems.

Then I run make and I am presented with the following errors:

This is the end portion of the make error:
Quote:
/usr/lib/libdirect.so -lz -ldl -lpthread -lm /usr/lib/libglib-2.0.a
gcc: /usr/lib/directfb-1.0-0/systems/libdirectfb_fbdev.o: No such file or directory
gcc: /usr/lib/directfb-1.0-0/wm/libdirectfbwm_default.o: No such file or directory
gcc: /usr/lib/directfb-1.0-0/interfaces/IDirectFBFont/libidirectfbfont_ft2.o: No such file or directory
gcc: /usr/lib/directfb-1.0-0/interfaces/IDirectFBFont/libidirectfbfont_default.o: No such file or directory
gcc: /usr/lib/directfb-1.0-0/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_png.o: No such file or directory
gcc: /usr/lib/directfb-1.0-0/inputdrivers/libdirectfb_keyboard.o: No such file or directory
gcc: /usr/lib/libfreetype.a: No such file or directory
gcc: /usr/lib/libglib-2.0.a: No such file or directory
make[2]: *** [splashy] Error 1
make[2]: Leaving directory `/build/splashy-0.3.5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/build/splashy-0.3.5'
make: *** [all] Error 2
root@Slackware12:/build/splashy-0.3.5#
I have no idea as to what I am supposed to do to overcome this make issue? Google'ing the error has not rendered any Slackware based solutions.

As this looks to be a VERY useful program (it does not require a kernel patch to activate Bootsplash, so therefore much better to get splash working for beginners), I was wondering if some of the linux experts on the forum would like to flex their gray-matter at it

The source file can be downloaded HERE if anyone would like to try it to see if they can get it going.

I'll look forward to all responses.

Cheers

Orbit
 
Old 08-02-2007, 05:02 AM   #2
erklaerbaer
Member
 
Registered: Mar 2006
Posts: 381

Rep: Reputation: 30
you need directfb



www.slackware.com/~alien/slackbuilds/directfb
 
Old 08-05-2007, 11:52 AM   #3
Lockywolf
Member
 
Registered: Jul 2007
Posts: 669

Rep: Reputation: 249Reputation: 249Reputation: 249
He said, that he installed directfb.

I have the same problem.

I tried using directfb from slacky.it and tried to compile it myself...

Nothing works. I get the same errors.
 
Old 08-05-2007, 12:41 PM   #4
erklaerbaer
Member
 
Registered: Mar 2006
Posts: 381

Rep: Reputation: 30
grep for DFBHACK in the Makefiles. maybe you have to adjust/remove/replace with
Code:
$(shell directfb-config  --libs --input=keyboard --imageprovider=png --font=ft2,default)
it

Last edited by erklaerbaer; 08-05-2007 at 12:42 PM.
 
Old 08-05-2007, 05:13 PM   #5
adriv
Member
 
Registered: Nov 2005
Location: Diessen, The Netherlands
Distribution: Slackware 15
Posts: 700

Rep: Reputation: 43
Here's a -sort of- howto, but it's in Italian: http://www.slacky.eu/forum/viewtopic.php?t=20035
In Konqueror you can translate it to English.
 
Old 08-05-2007, 07:41 PM   #6
orbit
Member
 
Registered: Sep 2006
Location: Australia
Distribution: Slackware
Posts: 176

Original Poster
Rep: Reputation: 30
Hi All,

erklaerbaer: I was using directfb-1.0.0, but I have removed it and tried the directfb-0.9.4 slackbuild that you suggested.
After building and installpkg'ing the directfb-0.9.4 slackbuild package, I ./configured splashy again .. now it is saying that directfb in not installed?
(I can see directfb-0.9.24-i486-2 in the package list of Kpackage)?
What's going on?

I have now removed directfb-0.9.24-i486-2 and re-installed directfb-1.0.0-i686-1as again.


Then I tried adriv's suggestion from the italian page:
./configure --prefix=/boot/initrd-tree --enable-static
... seemed to go ok.

Then I ran make and got:
Quote:
splashy-0.3.5/src/.libs/libsplashycnf.a /usr/lib/libdirectfb.so /usr/lib/libfusion.so /usr/lib/libdirect.so -lz -ldl -lpthread -lm /usr/lib/libglib-2.0.a
gcc: /usr/lib/directfb-1.0-0/systems/libdirectfb_fbdev.o: No such file or directory
gcc: /usr/lib/directfb-1.0-0/wm/libdirectfbwm_default.o: No such file or directory
gcc: /usr/lib/directfb-1.0-0/interfaces/IDirectFBFont/libidirectfbfont_ft2.o: No such file or directory
gcc: /usr/lib/directfb-1.0-0/interfaces/IDirectFBFont/libidirectfbfont_default.o: No such file or directory
gcc: /usr/lib/directfb-1.0-0/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_png.o: No such file or directory
gcc: /usr/lib/directfb-1.0-0/inputdrivers/libdirectfb_keyboard.o: No such file or directory
gcc: /usr/lib/libfreetype.a: No such file or directory
gcc: /usr/lib/libglib-2.0.a: No such file or directory
make[2]: *** [splashy] Error 1
make[2]: Leaving directory `/build/splashy-0.3.5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/build/splashy-0.3.5'
make: *** [all] Error 2
root@Slackware12:/build/splashy-0.3.5#
Hmmm ... that's not good.


So, following on from your suggestion:
Quote:
grep for DFBHACK in the Makefiles. maybe you have to adjust/remove/replace with
Code:
$(shell directfb-config --libs --input=keyboard --imageprovider=png --font=ft2,default)
I found that exact line already in-place on line 259 in the /splashy-0.3.5/src/Makefile ... so how do you suggest I change/edit/delete it?

Has anyone been able to make a Slackware12 splashy.tgz package successfully? How was it done? ... or alternatively ... could you link it so that I can try it.

I'm pretty well lost on this program, so I'll appreciate any assistance or advice in getting this program to compile.

Thanks for any advice (or a link to a working file ).

Cheers

Orbit

Last edited by orbit; 08-05-2007 at 08:40 PM.
 
Old 08-05-2007, 11:08 PM   #7
bmfan
Member
 
Registered: Mar 2005
Posts: 74

Rep: Reputation: 15
you will need to rebuild a couple stock slackware packages, glib2 and freetype. use the standard buildscripts in the source directory. for glib2 add '--enable-static' in the configure options. build and upgradepkg. then for freetype edit the buildscript and comment out or just remove this line

# Can't imagine a lot of use for this:
rm -f $PKG/usr/lib/*.a

build and upgrade freetype, then build and install directfb use these options
./configure \
--prefix=/usr \
--enable-static \
--enable-sysfs=no \

now splashy will build successfully...
 
Old 08-06-2007, 01:47 AM   #8
orbit
Member
 
Registered: Sep 2006
Location: Australia
Distribution: Slackware
Posts: 176

Original Poster
Rep: Reputation: 30
Hi bmfan,

First up, Thanks for your advice. It's very appreciated.

I have followed your steps and so far:-

Rebuilding glib2: I added '--enable-static' to the configure section of the slackbuild. then ran the slackbuild .. then installed the new package.

Freetype source file: I commented out the line 'rm -f $PKG/usr/lib/*.a' then built it and installed the new package.

all good so far ...


DirectFB-1.0.0: this one is giving me problems.

What i have done so far ...
1. In the configure section of the slackbuild, I added the lines so that it looks like this -
Quote:
cd DirectFB-$VERSION
./configure --prefix=/usr \
--mandir=/usr/man \
--enable-x11 \
--with-gfxdrivers=all \
--with-inputdrivers=all \
--enable-zlib
--enable-static \
--enable-sysfs=no \
make
make install DESTDIR=$PKG
It failed...(this is the end portion of the error) :-

Quote:
./directfb.SlackBuild: line 51: --enable-static: command not found
make: *** No rule to make target `install'. Stop.
cat: /build/dfb/slack-desc: No such file or directory
cp: cannot stat `slack-desc': No such file or directory
gzip: /tmp/package-DirectFB/usr/man/*/*: No such file or directory
./directfb.SlackBuild: line 72: requiredbuilder: command not found

Slackware package maker, version 2.1.

Searching for symbolic links:

No symbolic links were found, so we won't make an installation script.
You can make your own later in ./install/doinst.sh and rebuild the
package if you like.

This next step is optional - you can set the directories in your package
to some sane permissions. If any of the directories in your package have
special permissions, then DO NOT reset them here!

Would you like to reset all directory permissions to 755 (drwxr-xr-x) and
directory ownerships to root.root ([y]es, [n]o)? n


Creating tar file directfb-1.0.0-i686-1as.tar...

./
tar-1.13: directfb-1.0.0-i686-1as.tar is the archive; not dumped
install/
install/slack-desc
usr/
usr/doc/
usr/doc/directfb-1.0.0/
usr/doc/directfb-1.0.0/directfb.SlackBuild
usr/doc/directfb-1.0.0/TODO
usr/doc/directfb-1.0.0/README
usr/doc/directfb-1.0.0/NEWS
usr/doc/directfb-1.0.0/ChangeLog
usr/doc/directfb-1.0.0/COPYING
usr/doc/directfb-1.0.0/AUTHORS
WARNING: zero length file ./install/slack-desc

Gzipping directfb-1.0.0-i686-1as.tar...

Renaming directfb-1.0.0-i686-1as.tar.gz to directfb-1.0.0-i686-1as.tgz...

Moving directfb-1.0.0-i686-1as.tgz to /build/dfb...

Package creation complete.

root@Slackware12:/build/dfb#


What I did then was to manually extract the sourcefile (tar -xvzf...) and run this command in the terminal:-

Quote:
root@Slackware12:/build/dfb/DirectFB-1.0.0# ./configure --prefix=/usr --enable-static --enable-sysfs=no

The configure seemed to go ok, but on running make, I came up with this error:-

Quote:
gcc -shared .libs/vncinput.o -Wl,--rpath -Wl,/build/dfb/DirectFB-1.0.0/src/.libs -L/usr/lib /usr/lib/libvncserver.so /usr/lib/libvncclient.so -lnsl -lz -ljpeg ../../src/.libs/libdirectfb.so -ldl -lpthread -Wl,-soname -Wl,libdirectfb_vncinput.so -o .libs/libdirectfb_vncinput.so
/usr/lib/gcc/i486-slackware-linux/4.1.2/../../../../i486-slackware-linux/bin/ld: errno: TLS definition in /lib/libc.so.6 section .tbss mismatches non-TLS reference in /usr/lib/libz.so
/lib/libc.so.6: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[3]: *** [libdirectfb_vncinput.la] Error 1
make[3]: Leaving directory `/build/dfb/DirectFB-1.0.0/systems/vnc'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/build/dfb/DirectFB-1.0.0/systems'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/build/dfb/DirectFB-1.0.0'
make: *** [all] Error 2
root@Slackware12:/build/dfb/DirectFB-1.0.0#
This is a bit of a problem as I can't progress to trying to compile splashy, until this directfb issue is sorted.

Would you know what I can do to resolve this make error with directfb?

Cheers

Orbit

Last edited by orbit; 08-06-2007 at 01:50 AM.
 
Old 08-06-2007, 02:18 AM   #9
bmfan
Member
 
Registered: Mar 2005
Posts: 74

Rep: Reputation: 15
it looks like there is something wrong with your directfb build script, if you pm me your email address i can send you the directfb package i built, it has the build script in it. so you can either use the package as is, or build your own from the build script. as far as that error you got when you tried to compile it. I don't really know, it compiled and installed fine for me.
 
Old 08-06-2007, 02:21 AM   #10
bmfan
Member
 
Registered: Mar 2005
Posts: 74

Rep: Reputation: 15
here is the error in your directfb build script

cd DirectFB-$VERSION
./configure --prefix=/usr \
--mandir=/usr/man \
--enable-x11 \
--with-gfxdrivers=all \
--with-inputdrivers=all \
--enable-zlib <------- you need to have a \ there
--enable-static \
--enable-sysfs=no \
make
make install DESTDIR=$PKG
 
Old 08-06-2007, 02:31 AM   #11
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
--enable-sysfs=no \ <<-- you also need to remove this last backslash
 
Old 08-07-2007, 12:39 AM   #12
orbit
Member
 
Registered: Sep 2006
Location: Australia
Distribution: Slackware
Posts: 176

Original Poster
Rep: Reputation: 30
Thanks for your help bmfan and gnashley.

bmfam, did you get my email?

cheers

Orbit
 
Old 08-07-2007, 12:59 AM   #13
Lockywolf
Member
 
Registered: Jul 2007
Posts: 669

Rep: Reputation: 249Reputation: 249Reputation: 249
how to set it up?

splashy creates some sys-v scripts, and when i boot, it doesn't seem to be running

i added the line "append=splash quiet"
 
Old 08-07-2007, 01:48 AM   #14
perry
Member
 
Registered: Sep 2003
Location: USA & Canada
Distribution: Slackware 12.0
Posts: 978

Rep: Reputation: 30
Looks really nice...

I often imagined a really cool bootup screen for Slack/Linux but been too busy with other things. Would be nice to know how this thing is running such that we could really make a slick looking bootup screen.

Let us know if it works out!

- perry

ps.
translation of slacky.eu
Code:
Splashy works, the problem is that a po set offs late therefore 
would want to try to make to start it from the initrd. then I have 
read from some part that initrd the other is not that a small 
system gnu/linux in miniatura loaded in the ram totally independent 
from the rest therefore I have thought something of the sort 

1. I compile splashy with -- prefix=/boot/initrd-tree -- enable-static so as to to have all cio that the topic serves to start splashy in initrd the 

2 adds in the script init of initrd-tree the commando in order to start splashy 

3 with the being followed loaded sintassi 
   /boot/initrd-tree/sbin/splashy_config - s nometema 
   answers to me saying to me that the topic is loaded 

4 correctly gives the commando mkinitrd - or initrd.gz 

5 I add in lilo and I give it lilo - v pear tree does not work a mace 

Very Happy Very Happy Very Happy someone can gives some clarification to me? 
thanks to all

Last edited by perry; 08-07-2007 at 01:52 AM.
 
Old 08-07-2007, 02:07 AM   #15
Lockywolf
Member
 
Registered: Jul 2007
Posts: 669

Rep: Reputation: 249Reputation: 249Reputation: 249
mm....

i don't need it in initrd...

i install splashy from slacky.eu

splashy test - works

then i add append="splash quiet" in lilo.conf and reinstall lilo

nothing happens during the boot

then i read the manual once again and tried to execute /etc/rc.d/init.d/splashy start
but it says

"Could not read file /lib/lsb/init-functions. Please install lsb-base"

lsb-base is a debian package. there is nothing like it in slackware
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
splashy wkwireless Debian 2 11-21-2006 07:32 PM
Splashy is great! MrInept Debian 18 09-20-2006 12:51 AM
Problems with Splashy Paulsrud Ubuntu 10 08-30-2006 02:49 PM
Need Help With Splashy Paulsrud Linux - Software 1 08-24-2006 02:43 AM
splashy-0.1.6 kenkeanon Debian 1 01-04-2006 12:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration