Problems to compile CVS package

The forum for our foreign guests... Please post in English
doume59249
Neugieriger
Neugieriger
Beiträge: 5
Registriert: Dienstag 3. Mai 2005, 09:56

Problems to compile CVS package

Beitrag von doume59249 »

I'm using a FEDORA Core 3 workstation to create dreambox CVS environment.

Install of CVS works fine

The cdk core is successfullyly compiled/installed
Cross compiler works fine

A lot of packages, compiled separatly ( step by step, manually) are correctly compiled/linked

Only "enigma" package fails

Yesterday, that was header files unstable, having syntax errors
Today, I've reloaded enigma, and I obtain this :

Step 1: configure
[dreambox@fedora cdk]$ make .enigma
cd /home/dreambox/tuxbox-cvs/apps/tuxbox/enigma && ./autogen.sh && CC=powerpc-tu
xbox-linux-gnu-gcc CXX=powerpc-tuxbox-linux-gnu-g++ CFLAGS="-Wall -mcpu=405 -mso
ft-float -mmultiple -mstring -meabi -pipe -Os -ggdb3 -DHAVE_DREAMBOX_HARDWARE" C
XXFLAGS="-Wall -mcpu=405 -msoft-float -mmultiple -mstring -meabi -pipe -Os -ggdb
3 -DHAVE_DREAMBOX_HARDWARE" ./configure --build=i686-redhat-linux-gnu --host=pow
erpc-tuxbox-linux-gnu --prefix=/home/dreambox/tuxbox-cvs/root/cdkroot --with-dri
ver=/home/dreambox/tuxbox-cvs/driver --with-dvbincludes=/home/dreambox/tuxbox-cv
s/driver/include --with-target=cdk --with-boxtype=dm7000 --enable-maintainer-mod
e --without-debug
Generating configuration files for tuxbox-enigma, please wait....
aclocal
acinclude.m4:1: warning: underquoted definition of TUXBOX_APPS
run info '(automake)Extending aclocal'
or see http://sources.redhat.com/automake/auto ... ng-aclocal
acinclude.m4:74: warning: underquoted definition of TUXBOX_APPS_DIRECTORY_ONE
acinclude.m4:96: warning: underquoted definition of TUXBOX_APPS_DIRECTORY
acinclude.m4:150: warning: underquoted definition of TUXBOX_APPS_ENDIAN
acinclude.m4:155: warning: underquoted definition of TUXBOX_APPS_DRIVER
acinclude.m4:208: warning: underquoted definition of _TUXBOX_APPS_LIB_CONFIG
acinclude.m4:223: warning: underquoted definition of TUXBOX_APPS_LIB_CONFIG
acinclude.m4:230: warning: underquoted definition of TUXBOX_APPS_LIB_CONFIG_CHEC
K
acinclude.m4:234: warning: underquoted definition of TUXBOX_APPS_PKGCONFIG
acinclude.m4:241: warning: underquoted definition of _TUXBOX_APPS_LIB_PKGCONFIG
acinclude.m4:256: warning: underquoted definition of TUXBOX_APPS_LIB_PKGCONFIG
acinclude.m4:263: warning: underquoted definition of TUXBOX_APPS_LIB_PKGCONFIG_C
HECK
acinclude.m4:267: warning: underquoted definition of _TUXBOX_APPS_LIB_SYMBOL
acinclude.m4:276: warning: underquoted definition of TUXBOX_APPS_LIB_SYMBOL
acinclude.m4:283: warning: underquoted definition of TUXBOX_APPS_LIB_CONFIG_SYMB
OL
acinclude.m4:287: warning: underquoted definition of TUXBOX_APPS_GETTEXT
aclocal:acinclude.m4:288: warning: macro `AM_PATH_PROG_WITH_TEST' not found in l
ibrary
aclocal:acinclude.m4:294: warning: macro `AM_PATH_PROG_WITH_TEST' not found in l
ibrary
aclocal:acinclude.m4:299: warning: macro `AM_PATH_PROG_WITH_TEST' not found in l
ibrary

libtoolize --automake
autoconf
configure:6382: error: possibly undefined macro: AM_PATH_PROG_WITH_TEST
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoheader
automake --add-missing


../.. and later .....

step 2: compiling

checking for package tuxbox-plugins... yes
checking for package libpng... yes
checking for package sigc++-1.2... yes
checking for package tuxbox-xmltree... yes
./configure: line 6382: syntax error near unexpected token `MSGFMT,'
./configure: line 6382: `AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt,'
make: *** [/home/dreambox/tuxbox-cvs/apps/tuxbox/enigma/Makefile] Erreur 2

[dreambox@fedora cdk]$


How to obtain a "stable" version of this package, giving a chance to be compiled ?

Thanks for help ! :gruebel:
Npq
Senior Member
Beiträge: 1339
Registriert: Donnerstag 24. April 2003, 12:12

Beitrag von Npq »

Hmm, that's a problem of your build system.

Like the error message clearly says, aclocal cannot find the AM_PATH_PROG_WITH_TEST-macro in its library.

This is part of gettext and should get installed along with it. If it's not then something isn't right with your autotools setup or the way gettext was installed.

That specific macro should be contained in a file called progtest.m4 which itself should be found in /usr/share/aclocal (but distribution-specific directory conventions could apply)
doume59249
Neugieriger
Neugieriger
Beiträge: 5
Registriert: Dienstag 3. Mai 2005, 09:56

Beitrag von doume59249 »

Thanks, Npq

It's true, I've a lot of files into /usr/share/aclocal, but it seems progtest.m4 isn't there . ?????

[dreambox@fedora cdk]$ ll /usr/share/aclocal
total 492
-rw-r--r-- 1 root root 4480 oct 14 2004 alsa.m4
-rw-r--r-- 1 root root 6793 jui 30 2004 audiofile.m4
-rw-r--r-- 1 root root 6870 sep 8 2004 esd.m4
-rw-r--r-- 1 root root 5669 ao├╗ 4 2004 freetype2.m4
-rw-r--r-- 1 root root 1556 oct 12 2004 gconf-2.m4
-rw-r--r-- 1 root root 8178 oct 13 2004 glib-2.0.m4
-rw-r--r-- 1 root root 11943 oct 13 2004 glib-gettext.m4
-rw-r--r-- 1 root root 7532 nov 3 2004 gtk-2.0.m4
-rw-r--r-- 1 root root 1525 sep 21 2004 gtk-doc.m4
-rw-r--r-- 1 root root 8328 oct 12 2004 guile.m4
drwxr-xr-x 2 root root 4096 mai 4 16:45 iiimf
-rw-r--r-- 1 root root 8414 sep 24 2004 intltool.m4
-rw-r--r-- 1 root root 210301 jui 6 2004 libtool.m4
-rw-r--r-- 1 root root 7880 oct 27 2004 libxml.m4
-rw-r--r-- 1 root root 8119 sep 30 2004 libxslt.m4
-rw-r--r-- 1 root root 13823 jui 6 2004 ltdl.m4
-rw-r--r-- 1 root root 3465 sep 30 2004 ogg.m4
-rw-r--r-- 1 root root 8881 sep 29 2004 ORBit2.m4
-rw-r--r-- 1 root root 1074 ao├╗ 9 2004 pilot-link.m4
-rw-r--r-- 1 root root 2027 jun 23 2004 pkg.m4
-rw-r--r-- 1 root root 6407 oct 14 2004 sdl.m4
-rw-r--r-- 1 root root 4704 oct 11 2004 swig.m4
-rw-r--r-- 1 root root 4335 sep 30 2004 vorbis.m4
-rw-r--r-- 1 root root 6145 sep 24 2004 xml-i18n-tools.m4
[dreambox@fedora cdk]$ grep AM_PATH_PROG_WITH_TEST /usr/share/aclocal/*
[dreambox@fedora cdk]$
========> nothing !

Now, I've to find why....