CVS: Fehler beim kompilieren von Enigma

Kreuzuebersetzer, Diskussion über Änderungen im Tuxbox-CDK und Tuxbox-CVS
DarkVolli
Interessierter
Interessierter
Beiträge: 53
Registriert: Dienstag 11. März 2003, 12:42

CVS: Fehler beim kompilieren von Enigma

Beitrag von DarkVolli »

Mahlzeit!
Als ich gestern (11.8.05) um 8.00 Uhr das CVS ausgechecked habe lief alles noch durch. Seit gesterm mittag bis heute morgen 8.00 Uhr tritt folgender Fehler auf:

Code: Alles auswählen

cd /home/volker/tuxbox-cvs/apps/tuxbox/enigma && ./autogen.sh && CC=powerpc-tuxbox-linux-gnu-gcc CXX=powerpc-tuxbox-linux-gnu-g++ CFLAGS="-Wall -mcpu=823 -mmultiple -mstring -meabi -pipe -Os" CXXFLAGS="-Wall -mcpu=823 -mmultiple -mstring -meabi -pipe -Os" ./configure --build=i686-pc-linux-gnu --host=powerpc-tuxbox-linux-gnu --prefix=/home/volker/dbox2/cdkroot --with-driver=/home/volker/tuxbox-cvs/driver --with-dvbincludes=/home/volker/tuxbox-cvs/driver/dvb/include --with-target=cdk --enable-maintainer-mode --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/automake.html#Extending-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_CHECK
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_CHECK
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_SYMBOL
acinclude.m4:287: warning: underquoted definition of TUXBOX_APPS_GETTEXT
aclocal:acinclude.m4:288: warning: macro `AM_PATH_PROG_WITH_TEST' not found in library
aclocal:acinclude.m4:294: warning: macro `AM_PATH_PROG_WITH_TEST' not found in library
aclocal:acinclude.m4:299: warning: macro `AM_PATH_PROG_WITH_TEST' not found in library
.............................
./configure: line 6456: syntax error near unexpected token `MSGFMT,'
./configure: line 6456: `AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt,'
make: *** [/home/volker/tuxbox-cvs/apps/tuxbox/enigma/config.status] Fehler 2
cu
DarkVolli
dcdead2
Interessierter
Interessierter
Beiträge: 61
Registriert: Sonntag 13. März 2005, 10:25

Beitrag von dcdead2 »


./configure: line 6456: syntax error near unexpected token `MSGFMT,'
Da fehlt gettext, je nach distro auch gettext-dev(el)
DarkVolli
Interessierter
Interessierter
Beiträge: 53
Registriert: Dienstag 11. März 2003, 12:42

Beitrag von DarkVolli »

@dcdead
jau das wars (gettext-devel war auf diesem Rechner nicht installiert...:oops: )
Vielen Dank!!!

cu
DarkVolli
djin
Beiträge: 1
Registriert: Sonntag 14. August 2005, 19:09

Beitrag von djin »

here same error message

whit fedora core 4

checking dependency style of powerpc-tuxbox-linux-gnu-gcc... (cached) gcc3
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
checking for powerpc-tuxbox-linux-gnu-ranlib... powerpc-tuxbox-linux-gnu-ranlib
checking how to run the C preprocessor... powerpc-tuxbox-linux-gnu-gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking ost/dmx.h usability... yes
checking ost/dmx.h presence... yes
checking for ost/dmx.h... yes
configure: found dvb version 1
checking for freetype-config... /home/djin/dream/root/cdk/bin/freetype-config
checking for pkg-config... /usr/bin/pkg-config
checking for package id3tag... yes
checking for package mad... yes
checking for package tuxbox-md5sum... yes
checking for package tuxbox-plugins... yes
checking for package libpng... yes
checking for package sigc++-1.2... yes
checking for package tuxbox-xmltree... yes
checking for package tuxbox-tuxtxt... yes
./configure: line 6456: syntax error near unexpected token `MSGFMT,'
./configure: line 6456: `AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt,'
make: *** [/home/djin/dream/apps/tuxbox/enigma/Makefile] Fout 2
[djin@localhost cdk]$

gettext is installd on my pc see below

root@localhost libtool-1.5.18]# gcc --version
gcc (GCC) 4.0.1 20050727 (Red Hat 4.0.1-5)
Copyright © 2005 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.

[root@localhost libtool-1.5.18]# make --version
GNU Make 3.80
Copyright (C) 2002 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.
[root@localhost libtool-1.5.18]# gettext --version
gettext (GNU gettext-runtime) 0.14.5
Copyright (C) 1995-1997, 2000-2005 Free Software Foundation, Inc.
Dit is vrije software; zie de broncode voor kopieervoorwaarden. Er is GEEN
garantie; zelfs niet voor VERKOOPBAARHEID of GESCHIKTHEID VOOR EEN BEPAALD DOEL.
Geschreven door Ulrich Drepper.
[root@localhost libtool-1.5.18]#

what i have to do that i kan let it work

thanks
__Ghost__
Developer
Beiträge: 245
Registriert: Mittwoch 13. März 2002, 21:19

Beitrag von __Ghost__ »

Hi,

you need the gettext development files.. on many linux distriutions the "normal" and the "development" part of gettext is separated in two packages..

cu
Barf
Developer
Beiträge: 1475
Registriert: Dienstag 4. Februar 2003, 22:02

Beitrag von Barf »

Bei Installaton von SuSE 10.0 bin ich in diesem Problem aufmerksam. SuSE 10.0 enthält nicht ein gettext-devel oder sowas.

Es handelt sich hier um ein autoconf-Makro AM_PATH_PROG_WITH_TEST (in der Datei progtest.m4). Diese Datei war niemals "Standard".

Das automake Handbuch sagt zu diesem Thema (5.8 Handling local macros)
However there is no consensus on the distribution of third-party
macros that your package may use. Many libraries install their own
macro in the system-wide `aclocal' directory (*note Extending
aclocal::). For instance, Guile ships with a file called `guile.m4'
that contains the macro `GUILE_FLAGS' that can be used to define setup
compiler and linker flags appropriate for using Guile. Using
`GUILE_FLAGS' in `configure.ac' will cause `aclocal' to copy `guile.m4'
into `aclocal.m4', but as `guile.m4' is not part of the project, it
will not be distributed. Technically, that means a user who needs to
rebuild `aclocal.m4' will have to install Guile first. This is
probably OK, if Guile already is a requirement to build the package.
However, if Guile is only an optional feature, or if your package might
run on architectures where Guile cannot be installed, this requirement
will hinder development. An easy solution is to copy such third-party
macros in your local `m4/' directory so they get distributed.
Sofern ich verstehe wäre das einzig Saubere, progtest.m4 in der Enigmaverzeichniss reinzupacken, und einzubinden. Spricht etwas dagegen?
Barf
Developer
Beiträge: 1475
Registriert: Dienstag 4. Februar 2003, 22:02

Beitrag von Barf »

Niemand hat sich geäußert. Ich habe deswegen die oben vorgeschlagene Fix eingecheckt.