SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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 ).
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 \
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:-
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.
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
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.