directfb error when compling cdk

The forum for our foreign guests... Please post in English
dunryc
Neugieriger
Neugieriger
Beiträge: 19
Registriert: Samstag 27. November 2004, 22:43

directfb error when compling cdk

Beitrag von dunryc »

im trying to install the cdk on a slackware 10.1 system

everything goes ok untill i get to the make all command where it runs for a couple of hours then falls at compiling
DIRECTFB iver encountered this error before on my mandrake system and couldnt get past it then thinking it was a distro fault i decided to try with slackware but unfortunaly the same error has occoured.

heres a paste of the check.log i think everything is ok with my versions

automake >=1.7 :1.9
autoconf >=2.57a :2.59
cvs :1.11.18
libtool >=1.4.2 :1.5.10
make >=3.79 :3.80
gettext >=0.12.1 :0.14.1
makeinfo (texinfo) :4.7
tar :1.15.1
bunzip2 :1.0.2
gunzip :1.3.3
patch :2.5.4
infocmp :5.4.20040208
gcc >=3.0 :3.3.4
g++ >=3.0 :3.3.4
yacc :yacc installiert
bison :1.35
flex :2.5.4
pkg-config :0.15.0
fakeroot :fakeroot version 1.2.9

Versionscheck erfolgreich

and heres a paste of where the compile halts :-

checking how to run the C preprocessor... powerpc-tuxbox-linux-gnu-gcc -E
checking for powerpc-tuxbox-linux-gnu-g++... powerpc-tuxbox-linux-gnu-g++
checking whether we are using the GNU C++ compiler... yes
checking whether powerpc-tuxbox-linux-gnu-g++ accepts -g... yes
checking dependency style of powerpc-tuxbox-linux-gnu-g++... gcc3
./configure: line 5116: syntax error near unexpected token `DIRECTFB,'
./configure: line 5116: `PKG_CHECK_MODULES(DIRECTFB, directfb >= $DIRECTFB_VERSION)'

Now type 'make' to compile DFB++.
make[1]: Entering directory `/root/tuxbox-cvs/cdk/DFB++-0.9.22'
make[1]: *** No rule to make target `all'. Stop.
make[1]: Leaving directory `/root/tuxbox-cvs/cdk/DFB++-0.9.22'
make: *** [.deps/libdirectfbpp] Error 2

any help or adive anyone can give me would be much appreciated
Npq
Senior Member
Beiträge: 1339
Registriert: Donnerstag 24. April 2003, 12:12

Beitrag von Npq »

Sorry, no idea about Slackware.

But from the error message pkg-config (or maybe just its devel-package) seems not to be installed properly.

Alternatively, since no public software for the dbox2 needs directfb you could skip it by touching:

.deps/libdirectfb
.deps/libdirectfbpp
.deps/libppdirectfb

in the central cdk-directory

But other packages might use the PKG_CONFIG-macro as well, so you might still need that one.
dunryc
Neugieriger
Neugieriger
Beiträge: 19
Registriert: Samstag 27. November 2004, 22:43

Beitrag von dunryc »

thanks for the reply i had thought about using the touch command but thought it better to do a full compile if possible. Sorry to sound dumb but can i just download the source for pkg-config and compile on my system or the devel version ? as im compiling im thinking its the devel version ill need but im not 100 percent sure. I can see pkg-config souce at

http://pkg-config.freedesktop.org/releases/

should i just download the newist version and see what happens erhaps you could tell me if all the rest of the programs listed at the top of the post are the correct versions

many thanks dunryc
Npq
Senior Member
Beiträge: 1339
Registriert: Donnerstag 24. April 2003, 12:12

Beitrag von Npq »

I'd rather not recommend to get the original sources and try to build it yourself because usually the vendors have their own way of packaging things and setting them up.

Out of curiosity I just checked, installing the Slackware pkg-config-package should be enough, it will install the necessary pkg.m4 into your /usr/share/aclocal-directory so aclocal should pick it up with no trouble.

Maybe you shoud reinstall it.
dunryc
Neugieriger
Neugieriger
Beiträge: 19
Registriert: Samstag 27. November 2004, 22:43

Beitrag von dunryc »

unfoturnalty i dont think slack has a packag manager so ive just built it fro source compile seemed to go ok as did make install so im not sure just having a go at the mo at make all for the cdk.

just for here the outpul of ls in /usr/share/aclocal

total 744
-rw-r--r-- 1 root root 8962 2002-06-08 21:49 ORBit.m4
-rw-r--r-- 1 root root 8881 2004-05-07 23:21 ORBit2.m4
-rw-r--r-- 1 root root 6294 2002-10-22 04:03 aalib.m4
-rw-r--r-- 1 root root 7431 2004-09-27 05:13 ac_find_motif.m4
-rw-r--r-- 1 root root 4338 2005-01-21 04:50 alsa.m4
-rw-r--r-- 1 root root 3691 2004-10-15 06:50 ao.m4
-rw-r--r-- 1 root root 6791 2004-05-02 22:10 audiofile.m4
-rw-r--r-- 1 root root 894 2004-02-16 19:08 codeset.m4
-rw-r--r-- 1 root root 6870 2005-02-03 01:42 esd.m4
-rw-r--r-- 1 root root 5669 2005-01-24 04:50 freetype2.m4
-rw-r--r-- 1 root root 1556 2004-06-19 22:29 gconf-2.m4
-rw-r--r-- 1 root root 6730 2003-09-14 01:14 gdk-pixbuf.m4
-rw-r--r-- 1 root root 19032 2004-02-16 19:08 gettext.m4
-rw-r--r-- 1 root root 6058 2005-01-22 19:49 gimp-2.0.m4
-rw-r--r-- 1 root root 9057 2004-07-25 23:44 gimpprint.m4
-rw-r--r-- 1 root root 8289 2005-01-15 00:24 glib-2.0.m4
-rw-r--r-- 1 root root 12551 2005-01-15 00:24 glib-gettext.m4
-rw-r--r-- 1 root root 8442 2002-10-22 05:28 glib.m4
-rw-r--r-- 1 root root 983 2004-02-16 19:08 glibc21.m4
-rw-r--r-- 1 root root 7535 2003-09-10 04:22 gnet-2.0.m4
-rw-r--r-- 1 root root 567 2004-10-07 00:48 gst-element-check-0.8.m4
-rw-r--r-- 1 root root 7532 2005-02-03 00:13 gtk-2.0.m4
-rw-r--r-- 1 root root 1525 2004-04-29 17:03 gtk-doc.m4
-rw-r--r-- 1 root root 8285 2002-02-24 04:43 gtk.m4
-rw-r--r-- 1 root root 8328 2004-10-07 02:37 guile.m4
-rw-r--r-- 1 root root 3499 2004-02-16 19:08 iconv.m4
-rw-r--r-- 1 root root 11371 2005-02-02 19:46 imlib.m4
-rw-r--r-- 1 root root 1909 2004-02-16 19:08 intdiv0.m4
-rw-r--r-- 1 root root 8267 2004-05-07 00:46 intltool.m4
-rw-r--r-- 1 root root 1146 2004-02-16 19:08 intmax.m4
-rw-r--r-- 1 root root 1175 2004-02-16 19:08 inttypes-pri.m4
-rw-r--r-- 1 root root 975 2004-02-16 19:08 inttypes.m4
-rw-r--r-- 1 root root 1091 2004-02-16 19:08 inttypes_h.m4
-rw-r--r-- 1 root root 1115 2004-02-16 19:08 isc-posix.m4
-rw-r--r-- 1 root root 1422 2004-02-16 19:08 lcmessage.m4
-rw-r--r-- 1 root root 3566 2004-02-16 19:08 lib-ld.m4
-rw-r--r-- 1 root root 23267 2004-02-16 19:08 lib-link.m4
-rw-r--r-- 1 root root 5447 2004-02-16 19:08 lib-prefix.m4
-rw-r--r-- 1 root root 4084 2004-10-01 22:04 libFLAC++.m4
-rw-r--r-- 1 root root 3834 2004-10-01 22:03 libFLAC.m4
-rw-r--r-- 1 root root 8314 2002-06-08 21:49 libIDL.m4
-rw-r--r-- 1 root root 4309 2004-10-01 22:04 libOggFLAC++.m4
-rw-r--r-- 1 root root 4070 2004-10-01 22:04 libOggFLAC.m4
-rw-r--r-- 1 root root 9201 2003-08-17 22:21 libmikmod.m4
-rw-r--r-- 1 root root 212683 2004-09-24 00:15 libtool.m4
-rw-r--r-- 1 root root 7880 2005-01-02 05:39 libxml.m4
-rw-r--r-- 1 root root 8119 2005-01-02 05:40 libxslt.m4
-rw-r--r-- 1 root root 1216 2004-02-16 19:08 longdouble.m4
-rw-r--r-- 1 root root 931 2004-02-16 19:08 longlong.m4
-rw-r--r-- 1 root root 13823 2004-09-24 00:15 ltdl.m4
-rw-r--r-- 1 root root 4684 2004-10-28 19:47 netatalk.m4
-rw-r--r-- 1 root root 1861 2004-02-16 19:08 nls.m4
-rw-r--r-- 1 root root 2035 2001-05-12 01:36 nspr.m4
-rw-r--r-- 1 root root 3484 2003-12-19 00:29 ogg.m4
-rw-r--r-- 1 root root 1072 2003-09-22 04:45 pilot-link.m4
-rw-r--r-- 1 root root 2025 2003-08-14 23:20 pkg.m4
-rw-r--r-- 1 root root 17834 2004-02-16 19:08 po.m4
-rw-r--r-- 1 root root 1606 2004-02-16 19:08 printf-posix.m4
-rw-r--r-- 1 root root 2972 2004-02-16 19:08 progtest.m4
-rw-r--r-- 1 root root 6215 2005-01-27 19:38 sdl.m4
-rw-r--r-- 1 root root 769 2004-02-16 19:08 signed.m4
-rw-r--r-- 1 root root 2106 2004-02-16 19:08 size_max.m4
-rw-r--r-- 1 root root 1067 2004-02-16 19:08 stdint_h.m4
-rw-r--r-- 1 root root 1256 2004-02-16 19:08 uintmax_t.m4
-rw-r--r-- 1 root root 1058 2004-02-16 19:08 ulonglong.m4
-rw-r--r-- 1 root root 4354 2003-12-19 00:29 vorbis.m4
-rw-r--r-- 1 root root 875 2004-02-16 19:08 wchar_t.m4
-rw-r--r-- 1 root root 857 2004-02-16 19:08 wint_t.m4
-rw-r--r-- 1 root root 9389 2005-01-05 00:54 xine.m4
-rw-r--r-- 1 root root 6145 2004-05-07 00:46 xml-i18n-tools.m4
-rw-r--r-- 1 root root 5549 2004-10-03 03:21 xmms.m4
-rw-r--r-- 1 root root 537 2004-02-16 19:08 xsize.m4

does this look like the correct spec or do i need sothing more ? thanks for the help so fa and any more youu could give me would be greatly appreciated as id realy like to get this compiled

cheers dunrc
doume59249
Neugieriger
Neugieriger
Beiträge: 5
Registriert: Dienstag 3. Mai 2005, 09:56

Re: directfb error when compling cdk

Beitrag von doume59249 »

dunryc hat geschrieben: and heres a paste of where the compile halts :-

checking how to run the C preprocessor... powerpc-tuxbox-linux-gnu-gcc -E
checking for powerpc-tuxbox-linux-gnu-g++... powerpc-tuxbox-linux-gnu-g++
checking whether we are using the GNU C++ compiler... yes
checking whether powerpc-tuxbox-linux-gnu-g++ accepts -g... yes
checking dependency style of powerpc-tuxbox-linux-gnu-g++... gcc3
./configure: line 5116: syntax error near unexpected token `DIRECTFB,'
./configure: line 5116: `PKG_CHECK_MODULES(DIRECTFB, directfb >= $DIRECTFB_VERSION)'

Now type 'make' to compile DFB++.
make[1]: Entering directory `/root/tuxbox-cvs/cdk/DFB++-0.9.22'
make[1]: *** No rule to make target `all'. Stop.
make[1]: Leaving directory `/root/tuxbox-cvs/cdk/DFB++-0.9.22'
make: *** [.deps/libdirectfbpp] Error 2

any help or adive anyone can give me would be much appreciated
I've exactly the same problem on a Mandrake 10.1 on which I installed all required components.....
If I skip this step (touch.... ), the compile fails a little bit later.

I've tried to re-init the CVS initial setting (to be sure my downloaded version wasn't unstable....), but I obtain the same result after 3:27 hours of work....

The documentation says : This step should always complete without errors. If it does not, then please report at https://tuxborg.org/forum

What can I do ? :gruebel:
mws
Developer
Beiträge: 331
Registriert: Freitag 7. Februar 2003, 22:17

Beitrag von mws »

try automake 1.7

directfb is having some problems with versions greater than that
cu
mws
doume59249
Neugieriger
Neugieriger
Beiträge: 5
Registriert: Dienstag 3. Mai 2005, 09:56

Beitrag von doume59249 »

Thanks, mws !

I've downloaded & installed automake version 1.7.2

When I invoke automake --version, I obtain now :
automake (GNU automake) 1.4-p6

Copyright (C) 1999, 2001 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Written by Tom Tromey <tromey@redhat.com>

I hope that'll be better, because i've just restarted a new
update & make all (last time : 3 hours & half ! )

Thanks for your help : I'll notify about result !
PT-1
Moderator english
Beiträge: 2458
Registriert: Donnerstag 20. Dezember 2001, 00:00

Beitrag von PT-1 »

Hi,

I am also just trying this but my make flash-all has stopped in the middle

with archive/libxml2-2.4.30.tar.gz as it could not resolve the host.

Is there a chance to start from this point or do I have to try it all again ?

when I try make neutrion it stops with aclocal.m4 dependency check error..


Any hint's ?

PT-1
PT-1
Moderator english
Beiträge: 2458
Registriert: Donnerstag 20. Dezember 2001, 00:00

Beitrag von PT-1 »

When I try

make flash-squashfsimages

it starts with this:

make: Circular aclocal.m4 <- aclocal.m4 dependency dropped.
make[1]: Entering directory `/home/ptone/tuxbox-cvs/cdk'
make[1]: Circular aclocal.m4 <- aclocal.m4 dependency dropped.


at the end I get that:

checking for egrep... (cached) grep -E
checking installed Linux kernel header files... TOO OLD!
configure: error: GNU libc requires kernel header files from
Linux 2.0.10 or later to be installed before configuring.
The kernel header files are found usually in /usr/include/asm and
/usr/include/linux; make sure these directories use files from
Linux 2.0.10 or later. This check uses <linux/version.h>, so
make sure that file was built correctly when installing the kernel header
files. To use kernel headers not from /usr/include/linux, use the
configure option --with-headers.
make[1]: *** [.deps/glibc] Error 1
make[1]: Leaving directory `/home/ptone/tuxbox-cvs/cdk'
make: *** [.deps/bootstrap] Error 2


Any hints ?
doume59249
Neugieriger
Neugieriger
Beiträge: 5
Registriert: Dienstag 3. Mai 2005, 09:56

Beitrag von doume59249 »

Finally, I've installed Fedora Core 3 as Linux workstation, and redo everything on it ( One guy having recommanded it for this kind of operations, no addon to upgrade or install...) : cdk core is ok, some plugins too....

My problem, now :
All has been compiled fine, EXCEPT enigma package
Yesterday, that was due to syntax errors inside some header files
Today, I've reloaded enigma, and error occurs at another place

It seems you must be very lucky, to 'pick' packages at a moment they're stable. That can become a very long story......

In my case, all has been compiled separatly, but only enigma isn't compilable at this moment.....

Must I retry till I obtain good configuration ? :gruebel:
Npq
Senior Member
Beiträge: 1339
Registriert: Donnerstag 24. April 2003, 12:12

Beitrag von Npq »

Hmm, this thread now contains several issues, could you please sort this out and post one problem in one thread? Otherwise it's hard to give an appropriate advice.

If you have problems with a build it's necessary to give the complete error message.