Fehler beim gcc bau ! Tipp ?

Kreuzuebersetzer, Diskussion über Änderungen im Tuxbox-CDK und Tuxbox-CVS
rhabarber1848
CDK-Experte
Beiträge: 4335
Registriert: Donnerstag 3. April 2008, 14:05

Re: Fehler beim gcc bau ! Tipp ?

Beitrag von rhabarber1848 »

Token hat geschrieben:token@token-netbook:~/tuxbox/ybuild$ ls -la /home/token/tuxbox/tuxbox-cvs/cdk/lufs-0.9.7/config/
Hast Du den Befehl ausgeführt, nachdem der o.g. Fehler aufgetreten ist?
Token
Einsteiger
Einsteiger
Beiträge: 383
Registriert: Sonntag 7. April 2002, 14:29

Re: Fehler beim gcc bau ! Tipp ?

Beitrag von Token »

ja hab ich
dem fehlen die 2 dateien guess und sub
rhabarber1848
CDK-Experte
Beiträge: 4335
Registriert: Donnerstag 3. April 2008, 14:05

Re: Fehler beim gcc bau ! Tipp ?

Beitrag von rhabarber1848 »

Wie sieht das aus?

ls -la /home/token/tuxbox/tuxbox-cvs/cdk/Patches/config.*
Token
Einsteiger
Einsteiger
Beiträge: 383
Registriert: Sonntag 7. April 2002, 14:29

Re: Fehler beim gcc bau ! Tipp ?

Beitrag von Token »

token@token-netbook:~/tuxbox/ybuild$ ls -la /home/token/tuxbox/tuxbox-cvs/cdk/Patches/config.*
-rw-r--r-- 1 token token 44989 2008-10-02 19:38 /home/token/tuxbox/tuxbox-cvs/cdk/Patches/config.guess
-rw-r--r-- 1 token token 33774 2008-10-02 19:38 /home/token/tuxbox/tuxbox-cvs/cdk/Patches/config.sub
token@token-netbook:~/tuxbox/ybuild$

hmm, zumindest sind sie aber hier da .....
rhabarber1848
CDK-Experte
Beiträge: 4335
Registriert: Donnerstag 3. April 2008, 14:05

Re: Fehler beim gcc bau ! Tipp ?

Beitrag von rhabarber1848 »

Funktioniert das?

/bin/sh /home/token/tuxbox/tuxbox-cvs/cdk/Patches/config.guess
/bin/sh /home/token/tuxbox/tuxbox-cvs/cdk/Patches/config.sub
Token
Einsteiger
Einsteiger
Beiträge: 383
Registriert: Sonntag 7. April 2002, 14:29

Re: Fehler beim gcc bau ! Tipp ?

Beitrag von Token »

token@token-netbook:~$ /bin/sh /home/token/tuxbox/tuxbox-cvs/cdk/Patches/config.guess
i686-pc-linux-gnu
token@token-netbook:~$ /bin/sh /home/token/tuxbox/tuxbox-cvs/cdk/Patches/config.sub
config.sub: missing argument
Try `config.sub --help' for more information.
token@token-netbook:~$
rhabarber1848
CDK-Experte
Beiträge: 4335
Registriert: Donnerstag 3. April 2008, 14:05

Re: Fehler beim gcc bau ! Tipp ?

Beitrag von rhabarber1848 »

Neuer Test:

Code: Alles auswählen

cd /home/token/tuxbox/tuxbox-cvs/cdk

rm -rf lufs-0.9.7

tar -xf Archive/lufs-0.9.7.tar.gz

(for f1 in config.guess config.sub; do (for f2 in `find lufs-0.9.7 -name $f1`; do (test -e $f2 && rm -f $f2 && ln -s /home/token/tuxbox/tuxbox-cvs/cdk/Patches/$f1 $f2 && echo "updated $f2") done) done)
Letzte Codezeile in eine Zeile schreiben
Token
Einsteiger
Einsteiger
Beiträge: 383
Registriert: Sonntag 7. April 2002, 14:29

Re: Fehler beim gcc bau ! Tipp ?

Beitrag von Token »

ein wiederanlauf laesst aber nun das compilen von lufs weg, und macht gleich bei freetype weiter ... um dann anschliessend hier haengen zu bleiben:

checking host system type... (cached) powerpc-tuxbox-linux-gnu
checking for memory.h... (cached) yes
checking for working alloca.h... yes
checking for alloca... yes
checking for working memcmp... no
configure: creating ./config.status
config.status: error: cannot find input file: Makefile.in
make: *** [.deps/libvorbisidec] Fehler 1
Ready .... press Enter

also irgendwas ist total inkompatibel mit ubuntu 8.10, und das gcc_collect2.diff scheint nur eine baustelle zu zumachen, und mehrere neue zu oeffnen.
komische sache - ich meine, man koennte es sich einfach machen, und zu 8.04.1 downgraden, aber damit waere das problem nur vertagt, bis V9.04 erscheint! ;-)

cu token
rhabarber1848
CDK-Experte
Beiträge: 4335
Registriert: Donnerstag 3. April 2008, 14:05

Re: Fehler beim gcc bau ! Tipp ?

Beitrag von rhabarber1848 »

Token hat geschrieben:also irgendwas ist total inkompatibel mit ubuntu 8.10
Mal schauen, ich habe mir Ubuntu 8.10 Desktop-Edition in VMWare installiert
und arbeite mich gerade durch das Tuxbox-compile durch. Der collect2.c-Patch
ist auf jeden Fall für beide gcc-targets, bootstrap_gcc und gcc, erforderlich und
sollte jetzt ins CVS.
Den Bug konnte ich somit nachstellen, komisch nur, dass er auf Debian Lenny
nicht auftritt, da muss Debian den einen oder anderen Patch haben, der bei
Ubuntu fehlt (ja, ich habe alle Pakete aktualisiert).

Bis ich bei lufs anlande, dauert es noch etwas, im Hintergrund konvertiert VirtualDub ;)
doc
Contributor
Beiträge: 1623
Registriert: Donnerstag 10. Januar 2002, 20:03

Re: Fehler beim gcc bau ! Tipp ?

Beitrag von doc »

Token hat geschrieben:ein wiederanlauf laesst aber nun das compilen von lufs weg, und macht gleich bei freetype weiter ... um dann anschliessend hier haengen zu bleiben:

checking host system type... (cached) powerpc-tuxbox-linux-gnu
checking for memory.h... (cached) yes
checking for working alloca.h... yes
checking for alloca... yes
checking for working memcmp... no
configure: creating ./config.status
config.status: error: cannot find input file: Makefile.in
make: *** [.deps/libvorbisidec] Fehler 1
Ready .... press Enter

also irgendwas ist total inkompatibel mit ubuntu 8.10, und das gcc_collect2.diff scheint nur eine baustelle zu zumachen, und mehrere neue zu oeffnen.
komische sache - ich meine, man koennte es sich einfach machen, und zu 8.04.1 downgraden, aber damit waere das problem nur vertagt, bis V9.04 erscheint! ;-)

cu token
Wird das selbe sein wie bei lufs, die Verzeichnisse werden nicht passen wo configure und die Autotools zugreifen wollen. Allerdings ist der Ausschnitt zu klein um genauer sehen zu können wo da nun wie gesprungen wird.
rhabarber1848
CDK-Experte
Beiträge: 4335
Registriert: Donnerstag 3. April 2008, 14:05

Re: Fehler beim gcc bau ! Tipp ?

Beitrag von rhabarber1848 »

Oder dash ( :dash: ) vs. bash?
http://forum.tuxbox-cvs.sourceforge.net ... 07#p346607

Auf Ubuntu Intrepid:
# ls -la /bin/sh
lrwxrwxrwx 1 root root 4 2009-01-04 21:34 /bin/sh -> dash
Token
Einsteiger
Einsteiger
Beiträge: 383
Registriert: Sonntag 7. April 2002, 14:29

Re: Fehler beim gcc bau ! Tipp ?

Beitrag von Token »

nein, ich stolpere nicht nocheinmal ueber den fehler !!! (hoffentlich) ;)

token@token-netbook:~/tuxbox/ybuild$ ls -la /bin/sh
lrwxrwxrwx 1 root root 9 2009-01-02 00:59 /bin/sh -> /bin/bash
token@token-netbook:~/tuxbox/ybuild$

cu token

p.s.:
allerdings verwende ich einen angepassten netbook-remix-kernel von
http://www.array.org/ubuntu/
aber bei der ubuntu 8.04.1/nbr 1.0 edition gabs da auch keine probleme.

p.p.s.:
und ich compile enigma - sollte aber fuer lufs und co. nicht relevant sein ?!
Zuletzt geändert von Token am Montag 5. Januar 2009, 01:24, insgesamt 1-mal geändert.
Token
Einsteiger
Einsteiger
Beiträge: 383
Registriert: Sonntag 7. April 2002, 14:29

Re: Fehler beim gcc bau ! Tipp ?

Beitrag von Token »

@doc:

fuer dich nochmal ein bisschen laenger:

make[1]: Verlasse Verzeichnis '/home/token/tuxbox/tuxbox-cvs/cdk/libid3tag-0.15.1b'
rm -rf libid3tag-0.15.1b
touch .deps/libid3tag
( rm -rf tremor-20040525 || /bin/true ) && bunzip2 -cd Archive/tremor-20040525.tar.bz2 | TAPE=- tar -x && ( cd tremor-20040525; patch -p1 < ../Patches/tremor.diff ) && ((for f1 in config.guess config.sub; do (for f2 in `find tremor-20040525 -name $f1`; do (test -e $f2 && rm -f $f2 && ln -s /home/token/tuxbox/tuxbox-cvs/cdk/Patches/$f1 $f2 && echo "updated $f2") done) done) || /bin/true)
patching file vorbisidec.pc
cd tremor-20040525 && \
AR=powerpc-tuxbox-linux-gnu-ar AS=powerpc-tuxbox-linux-gnu-as CC=powerpc-tuxbox-linux-gnu-gcc CXX=powerpc-tuxbox-linux-gnu-g++ NM=powerpc-tuxbox-linux-gnu-nm RANLIB=powerpc-tuxbox-linux-gnu-ranlib CFLAGS="-pipe -Os" CXXFLAGS="-pipe -Os" LDFLAGS="-Wl,-O1" PKG_CONFIG_PATH=/home/token/tuxbox/dbox2/cdkroot/lib/pkgconfig \
./autogen.sh \
--build=i686-pc-linux-gnu \
--host=powerpc-tuxbox-linux-gnu \
--prefix= && \
make -j 1 && \
perl -pi -e "s,^prefix=.*$,prefix=/home/token/tuxbox/dbox2/cdkroot," vorbisidec.pc && make install DESTDIR=/home/token/tuxbox/dbox2/cdkroot && /usr/bin/install -c -m644 vorbisidec.pc /home/token/tuxbox/dbox2/cdkroot/lib/pkgconfig && perl -pi -e "s,^libdir=.*$,libdir='/home/token/tuxbox/dbox2/cdkroot/lib'," /home/token/tuxbox/dbox2/cdkroot/lib/libvorbisidec.la
Generating configuration files for vorbisidec, please wait....
aclocal
libtoolize --automake
automake --add-missing
configure.in:30: required file `../ltmain.sh' not found
Makefile.am: installing `../depcomp'
autoconf
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for powerpc-tuxbox-linux-gnu-strip... powerpc-tuxbox-linux-gnu-strip
checking for powerpc-tuxbox-linux-gnu-gcc... powerpc-tuxbox-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether powerpc-tuxbox-linux-gnu-gcc accepts -g... yes
checking for powerpc-tuxbox-linux-gnu-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of powerpc-tuxbox-linux-gnu-gcc... gcc3
checking how to run the C preprocessor... powerpc-tuxbox-linux-gnu-gcc -E
checking build system type... i686-pc-linux-gnu
checking host system type... powerpc-tuxbox-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by powerpc-tuxbox-linux-gnu-gcc... /home/token/tuxbox/dbox2/cdk/powerpc-tuxbox-linux-gnu/bin/ld
checking if the linker (/home/token/tuxbox/dbox2/cdk/powerpc-tuxbox-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... powerpc-tuxbox-linux-gnu-nm
checking the name lister (powerpc-tuxbox-linux-gnu-nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 805306365
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /home/token/tuxbox/dbox2/cdk/powerpc-tuxbox-linux-gnu/bin/ld option to reload object files... -r
checking how to recognize dependent libraries... pass_all
checking for powerpc-tuxbox-linux-gnu-ar... powerpc-tuxbox-linux-gnu-ar
checking for powerpc-tuxbox-linux-gnu-strip... (cached) powerpc-tuxbox-linux-gnu-strip
checking for powerpc-tuxbox-linux-gnu-ranlib... powerpc-tuxbox-linux-gnu-ranlib
checking command to parse powerpc-tuxbox-linux-gnu-nm output from powerpc-tuxbox-linux-gnu-gcc object... ok
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 for dlfcn.h... yes
checking for objdir... .libs
checking if powerpc-tuxbox-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for powerpc-tuxbox-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if powerpc-tuxbox-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if powerpc-tuxbox-linux-gnu-gcc static flag -static works... yes
checking if powerpc-tuxbox-linux-gnu-gcc supports -c -o file.o... yes
checking if powerpc-tuxbox-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the powerpc-tuxbox-linux-gnu-gcc linker (/home/token/tuxbox/dbox2/cdk/powerpc-tuxbox-linux-gnu/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking host system type... (cached) powerpc-tuxbox-linux-gnu
checking for memory.h... (cached) yes
checking for working alloca.h... yes
checking for alloca... yes
checking for working memcmp... no
configure: creating ./config.status
config.status: error: cannot find input file: Makefile.in
make: *** [.deps/libvorbisidec] Fehler 1
Ready .... press Enter

kannst du damit mehr anfangen?
wenn du falsche pfade vermutest, dann liegt es also am diff ?
(dann sollte es noch nicht ins cvs) ;)

cu token
rhabarber1848
CDK-Experte
Beiträge: 4335
Registriert: Donnerstag 3. April 2008, 14:05

Re: Fehler beim gcc bau ! Tipp ?

Beitrag von rhabarber1848 »

Token hat geschrieben:cd lufs-0.9.7 && \
AR=powerpc-tuxbox-linux-gnu-ar AS=powerpc-tuxbox-linux-gnu-as CC=powerpc-tuxbox-linux-gnu-gcc CXX=powerpc-tuxbox-linux-gnu-g++ NM=powerpc-tuxbox-linux-gnu-nm RANLIB=powerpc-tuxbox-linux-gnu-ranlib CFLAGS="-pipe -Os" CXXFLAGS="-pipe -Os" LDFLAGS="-Wl,-O1" PKG_CONFIG_PATH=/home/token/tuxbox/dbox2/cdkroot/lib/pkgconfig \
aclocal && \
libtoolize --force && \
Der letzte Befehl löscht config/config.[guess|sub],
bei aclocal ist noch alles in Ordnung.
Morgen debugge ich weiter, das Bett ruft.
Token
Einsteiger
Einsteiger
Beiträge: 383
Registriert: Sonntag 7. April 2002, 14:29

Re: Fehler beim gcc bau ! Tipp ?

Beitrag von Token »

ja, ich mache auch finale ...reicht fuer heute.

8.10/nbr 2.0 scheint sowieso etwas mit der heissen nadel gestrickt zu sein:
das highlight schlechthin (eee-config) funktionierte gleich garnicht-und musste manuell
installiert werden (jetzt funktionieren wenigstens aber wieder die Fn-Tasten)
einige locale-settings fehlten (german-umschaltung z.b. incl. lightning fuer thunderbird),
cupsd-pdf ging auch nicht, weil die rechte fuer "/home/token/PDF" nicht ausreichend waren.
fuer mich "fluechtigkeitsfehler" beim zusammenstellen, aber fuer den endverbraucher
auch wieder toedlich.

gute nacht
token
rhabarber1848
CDK-Experte
Beiträge: 4335
Registriert: Donnerstag 3. April 2008, 14:05

Re: Fehler beim gcc bau ! Tipp ?

Beitrag von rhabarber1848 »

rhabarber1848 hat geschrieben:
Token hat geschrieben: libtoolize --force && \
Der letzte Befehl löscht config/config.[guess|sub]
Die Lösung: https://bugs.launchpad.net/ubuntu/+sour ... comments/1
You should not call libtoolize with --force unless you also pass --install, otherwise it will remove old versions to allow them to be replaced, but won't replace them itself (assuming that automake, etc. replaces them)
https://answers.launchpad.net/ubuntu/+s ... tion/46987
To install config.{sub,guess} you now need to add the option --install to libtoolize.
This is a new option in Intrepid.
Looking at libtool's NEWS suggests this was done on purpose:

New in 1.9b: 2004-08-29; CVS version 1.5a, Libtool team:
<snip>
* Like automake, libtoolize no longer installs config.guess and config.sub by
default. Use new --install option to get the old behaviour.
seife
Developer
Beiträge: 4189
Registriert: Sonntag 2. November 2003, 12:36

Re: Fehler beim gcc bau ! Tipp ?

Beitrag von seife »

Für libvorbisidec muss ich auch ab und zu, nach frischem Auschecken im cdk/ Verzeichnis einmal "libtoolize" aufrufen, ansonsten ist der ltmain.sh link nicht da.
configure.in:30: required file `../ltmain.sh' not found
Ich vermute, dass das irgendwas mit AC_CONFIG_AUX_DIR zu tun hat, denn wenn ich das NFS-Zeugs vorher baue, dann ist der cdk/ltmain.sh plötzlich da, und dann baut auch libvorbisidec. nfs_utils schreiben beim Bauen irgendwas von ltmain.sh und "putting into AC_CONFIG_AUX_DIR", was so aussieht, als wäre es "../", was dann wiederum dazu führt, dass es in cdk/ landet.
Kann mir noch jemand folgen? Ich nicht ;)
Jedenfalls scheint es so, dass ich, wenn ich nach dem ./autogen.sh einmal "libtoolize" aufrufe, keine Probleme mehr habe. Mein letzter Versuch irgendwas am automake-Zeugs zu machen war ja letzten Herbst nicht so erfolgreich, deswegen lasse ich da lieber die Finger davon, aber evtl. kann ja einer der autofoo-Spezis mit meiner Beschreibung was anfangen.
Token
Einsteiger
Einsteiger
Beiträge: 383
Registriert: Sonntag 7. April 2002, 14:29

Re: Fehler beim gcc bau ! Tipp ?

Beitrag von Token »

also, ich hab mal libtoolize --install vor dem make build gegeben.
hilft aber dem lufs nicht ueber die spruenge:

make flash-lufsd
make[1]: Betrete Verzeichnis '/home/token/tuxbox/tuxbox-cvs/cdk'
( rm -rf lufs-0.9.7 || /bin/true ) && gunzip -cd Archive/lufs-0.9.7.tar.gz | TAPE=- tar -x && ( cd lufs-0.9.7; patch -p1 < ../Patches/lufs.diff ) && ((for f1 in config.guess config.sub; do (for f2 in `find lufs-0.9.7 -name $f1`; do (test -e $f2 && rm -f $f2 && ln -s /home/token/tuxbox/tuxbox-cvs/cdk/Patches/$f1 $f2 && echo "updated $f2") done) done) || /bin/true)
patching file configure.in
patching file include/lufs/fs.h
patching file filesystems/ftpfs/ftpfs.cpp
patching file filesystems/ftpfs/ftplib.cpp
patching file filesystems/ftpfs/ftpsys_netware.cpp
patching file filesystems/ftpfs/ftpsys_unix.cpp
patching file filesystems/ftpfs/ftpsys_windows.cpp
patching file lufsd/daemon.c
patching file lufsd/dircache.c
patching file lufsd/fsctl.c
patching file util/lufsmnt.c
patching file filesystems/Makefile.in
patching file filesystems/Makefile.am
patching file lufsd/Makefile.am
patching file lufsd/Makefile.in
patching file util/Makefile.am
patching file util/Makefile.in
Hunk #1 succeeded at 508 with fuzz 1.
updated lufs-0.9.7/config/config.guess
updated lufs-0.9.7/config/config.sub
cd lufs-0.9.7 && \
AR=powerpc-tuxbox-linux-gnu-ar AS=powerpc-tuxbox-linux-gnu-as CC=powerpc-tuxbox-linux-gnu-gcc CXX=powerpc-tuxbox-linux-gnu-g++ NM=powerpc-tuxbox-linux-gnu-nm RANLIB=powerpc-tuxbox-linux-gnu-ranlib CFLAGS="-pipe -Os" CXXFLAGS="-pipe -Os" LDFLAGS="-Wl,-O1" PKG_CONFIG_PATH=/home/token/tuxbox/dbox2/cdkroot/lib/pkgconfig \
aclocal && \
libtoolize --force && \
autoconf && \
./configure \
--build=i686-pc-linux-gnu \
--host=powerpc-tuxbox-linux-gnu \
--prefix=/home/token/tuxbox/dbox2/cdkflash/root \
--exec_prefix=/home/token/tuxbox/dbox2/cdkflash/root \
--disable-kernel-support && \
make all install
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `config'.
libtoolize: linking file `config/ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
configure: error: cannot run /bin/sh config/config.sub
make[1]: *** [/home/token/tuxbox/dbox2/cdkflash/root/bin/lufsd] Fehler 1
make[1]: Verlasse Verzeichnis '/home/token/tuxbox/tuxbox-cvs/cdk'
make: *** [/home/token/tuxbox/dbox2/cdkflash/root] Fehler 2
Ready .... press Enter

aber er scheint zumindest nun ltmain.sh gefunden zu haben.
ich hab jetzt lufs per hand ausgepackt und verlinkt (siehe oben) und mache
erstmal weiter, mal sehen ob der ueber libvorbis kommt ?! ;)


cu token
Token
Einsteiger
Einsteiger
Beiträge: 383
Registriert: Sonntag 7. April 2002, 14:29

Re: Fehler beim gcc bau ! Tipp ?

Beitrag von Token »

naja, an libvorbis geht er nun drueber, aber nun stoppt er hier:

cd /home/token/tuxbox/tuxbox-cvs/apps/tuxbox/enigma && ./autogen.sh && CC=powerpc-tuxbox-linux-gnu-gcc CXX=powerpc-tuxbox-linux-gnu-g++ CFLAGS="-Wall -pipe -Os" CXXFLAGS="-Wall -pipe -Os" LDFLAGS="-Wl,-O1" ./configure --build=i686-pc-linux-gnu --host=powerpc-tuxbox-linux-gnu --prefix=/home/token/tuxbox/dbox2/cdkroot --with-driver=/home/token/tuxbox/tuxbox-cvs/driver --with-target=cdk --with-dvbincludes=/home/token/tuxbox/tuxbox-cvs/driver/dvb/include --enable-maintainer-mode --without-debug --enable-upnp --enable-ide --enable-ccache
Generating configuration files for tuxbox-enigma, please wait....
aclocal
configure.ac:151: warning: AC_LIB_PREPARE_MULTILIB is m4_require'd but not m4_defun'd
lib-link.m4:144: AC_LIB_LINKFLAGS_BODY is expanded from...
acinclude.m4:299: TUXBOX_APPS_GETTEXT is expanded from...
configure.ac:151: the top level
libtoolize --automake
autoconf
configure.ac:151: warning: AC_LIB_PREPARE_MULTILIB is m4_require'd but not m4_defun'd
lib-link.m4:144: AC_LIB_LINKFLAGS_BODY is expanded from...
acinclude.m4:299: TUXBOX_APPS_GETTEXT is expanded from...
configure.ac:151: the top level
configure:9495: error: possibly undefined macro: AC_LIB_PREPARE_MULTILIB
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure:9832: error: possibly undefined macro: AC_LIB_WITH_FINAL_PREFIX
configure:9836: error: possibly undefined macro: AC_LIB_ARG_WITH
autoheader
configure.ac:151: warning: AC_LIB_PREPARE_MULTILIB is m4_require'd but not m4_defun'd
lib-link.m4:144: AC_LIB_LINKFLAGS_BODY is expanded from...
acinclude.m4:299: TUXBOX_APPS_GETTEXT is expanded from...
configure.ac:151: the top level
automake --add-missing
configure.ac:151: warning: AC_LIB_PREPARE_MULTILIB is m4_require'd but not m4_defun'd
lib-link.m4:144: AC_LIB_LINKFLAGS_BODY is expanded from...
acinclude.m4:299: TUXBOX_APPS_GETTEXT is expanded from...
configure.ac:151: the top level
configure.ac:4: installing `./config.guess'
configure.ac:4: installing `./config.sub'
configure.ac:2: installing `./install-sh'
configure.ac:2: installing `./missing'
boot/bootmenue/Makefile.am: installing `./depcomp'
Makefile.am: installing `./INSTALL'
Makefile.am: installing `./COPYING'
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for powerpc-tuxbox-linux-gnu-strip... powerpc-tuxbox-linux-gnu-strip
checking for style of include used by make... GNU
checking for powerpc-tuxbox-linux-gnu-gcc... powerpc-tuxbox-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether powerpc-tuxbox-linux-gnu-gcc accepts -g... yes
checking for powerpc-tuxbox-linux-gnu-gcc option to accept ISO C89... none needed
checking dependency style of powerpc-tuxbox-linux-gnu-gcc... gcc3
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking target... cdk
checking build system type... i686-pc-linux-gnu
checking host system type... powerpc-tuxbox-linux-gnu
checking for powerpc-tuxbox-linux-gnu-gcc... (cached) powerpc-tuxbox-linux-gnu-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether powerpc-tuxbox-linux-gnu-gcc accepts -g... (cached) yes
checking for powerpc-tuxbox-linux-gnu-gcc option to accept ISO C89... (cached) none needed
checking dependency style of powerpc-tuxbox-linux-gnu-gcc... (cached) gcc3
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... no
checking ost/dmx.h presence... no
checking for ost/dmx.h... no
checking linux/dvb/version.h usability... yes
checking linux/dvb/version.h presence... yes
checking for linux/dvb/version.h... yes
configure: found dvb version 3
checking for freetype-config... /home/token/tuxbox/dbox2/cdk/bin/freetype-config
checking for pkg-config... /usr/bin/pkg-config
checking for powerpc-tuxbox-linux-gnu-pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
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
checking for package vorbisidec... yes
checking for package tuxbox... yes
checking for package tuxbox-configfile... yes
./configure: line 9495: AC_LIB_PREPARE_MULTILIB: command not found
checking for msgfmt... no
checking for gmsgfmt... :
checking for xgettext... no
checking for msgmerge... no
checking whether NLS is requested... yes
./configure: line 9832: syntax error near unexpected token `newline'
./configure: line 9832: ` AC_LIB_WITH_FINAL_PREFIX('
make: *** [/home/token/tuxbox/tuxbox-cvs/apps/tuxbox/enigma/config.status] Fehler 2
Ready .... press Enter

also immernoch diese config-geschichte, das wird eine schwierige geburt.
rhabarber1848
CDK-Experte
Beiträge: 4335
Registriert: Donnerstag 3. April 2008, 14:05

Re: Fehler beim gcc bau ! Tipp ?

Beitrag von rhabarber1848 »

In diesem Thread werden mehrere, voneinander unabhängige Probleme besprochen:

- gcc/collect2.c -> Patch: EDIT: Patch ist im CVS
- lufs, libtoolize arbeitet auf Ubuntu anders als auf Debian, Patch: EDIT: Patch ist im CVS
- libvorbisidec, Patch: EDIT: Patch ist im CVS
- Enigma, Problem tritt auf, wenn gettext nicht installiert ist, Patch vorhanden, EDIT: Patch ist im CVS
Zuletzt geändert von rhabarber1848 am Montag 5. Januar 2009, 22:07, insgesamt 1-mal geändert.
rhabarber1848
CDK-Experte
Beiträge: 4335
Registriert: Donnerstag 3. April 2008, 14:05

Re: Fehler beim gcc bau ! Tipp ?

Beitrag von rhabarber1848 »

seife hat geschrieben:Für libvorbisidec
[...]
Ich vermute, dass das irgendwas mit AC_CONFIG_AUX_DIR zu tun hat
Bingo, das war es!
Ein

Code: Alles auswählen

AC_CONFIG_AUX_DIR(.)
in tremor-20040525/configure.in behebt das Problem.
Der Patch ist im obigen Posting verlinkt.
seife
Developer
Beiträge: 4189
Registriert: Sonntag 2. November 2003, 12:36

Re: Fehler beim gcc bau ! Tipp ?

Beitrag von seife »

rhabarber1848 hat geschrieben:- gcc/collect2.c -> Patch: gcc_collect2.diff
- lufs, libtoolize arbeitet auf Ubuntu anders als auf Debian, Patch: lufs_libtoolize.diff
- libvorbisidec, Patch: libvorbisidec_libtool.diff
- Enigma, Problem tritt auf, wenn gettext nicht installiert ist, Patch vorhanden
Ich habe die vier Patches eingecheckt und werde dich ab sofort nur noch als autoFOO-Gott bezeichnen ;)
Token
Einsteiger
Einsteiger
Beiträge: 383
Registriert: Sonntag 7. April 2002, 14:29

Re: Fehler beim gcc bau ! Tipp ?

Beitrag von Token »

d.h. jetzt cvs neu auschecken - und komplett ohne patches testen ?

cu token
rhabarber1848
CDK-Experte
Beiträge: 4335
Registriert: Donnerstag 3. April 2008, 14:05

Re: Fehler beim gcc bau ! Tipp ?

Beitrag von rhabarber1848 »

Token hat geschrieben:d.h. jetzt cvs neu auschecken - und komplett ohne patches testen ?
Ja
Token
Einsteiger
Einsteiger
Beiträge: 383
Registriert: Sonntag 7. April 2002, 14:29

Re: Fehler beim gcc bau ! Tipp ?

Beitrag von Token »

... und weiter gehts:

/usr/bin/install -c /home/token/tuxbox/tuxbox-cvs/apps/tuxbox/neutrino/daemons/controld/scart.conf /home/token/tuxbox/dbox2/cdkflash/root-enigma/var/tuxbox/config
cp /home/token/tuxbox/tuxbox-cvs/apps/tuxbox/neutrino/data/fonts/*.pcf.gz /home/token/tuxbox/dbox2/cdkflash/root-enigma/share/fonts
cp /home/token/tuxbox/tuxbox-cvs/apps/tuxbox/neutrino/data/fonts/micron*.ttf /home/token/tuxbox/dbox2/cdkflash/root-enigma/share/fonts
cp -pa /home/token/tuxbox/tuxbox-cvs/apps/tuxbox/enigma/po/locale.alias.image /home/token/tuxbox/dbox2/cdkflash/root-enigma/share/locale/locale.alias
mkdir /home/token/tuxbox/dbox2/cdkflash/root-enigma/lib
tar -C /home/token/tuxbox/dbox2/cdkflash/root-enigma/lib -xjvf /home/token/tuxbox/tuxbox-cvs/apps/tuxbox/enigma/po/locale.image.tar.bz2
locale/
locale/de_DE/
locale/de_DE/LC_NAME
locale/de_DE/LC_TIME
locale/de_DE/LC_TELEPHONE
locale/de_DE/LC_ADDRESS
locale/de_DE/LC_MEASUREMENT
locale/de_DE/LC_NUMERIC
locale/de_DE/LC_MESSAGES/
locale/de_DE/LC_MESSAGES/SYS_LC_MESSAGES
locale/de_DE/LC_IDENTIFICATION
locale/de_DE/LC_COLLATE
locale/de_DE/LC_CTYPE
locale/de_DE/LC_PAPER
locale/de_DE/LC_MONETARY
locale/fr_FR
cp -rd /home/token/tuxbox/dbox2/cdkroot/share/zoneinfo /home/token/tuxbox/dbox2/cdkflash/root-enigma/share
cp -rd /home/token/tuxbox/dbox2/cdkroot/share/locale/de/LC_MESSAGES/libc.mo /home/token/tuxbox/dbox2/cdkflash/root-enigma/share/locale/de/LC_MESSAGES
cp: Aufruf von stat für „/home/token/tuxbox/dbox2/cdkroot/share/locale/de/LC_MESSAGES/libc.mo“ nicht möglich: No such file or directory
make: *** [/home/token/tuxbox/dbox2/cdkflash/root-enigma] Fehler 1
Ready .... press Enter

aber langsam finde ich es "lustig", man sieht zumindest ein vorankommen.
checkt eigentlich jemand zwischendurch mal den neutrino-compiling-part?

cu token

p.s.:
aber das kenne ich doch irgendwoher ?!
war da nicht auch was mit gettext ? (aber ich denke das wird vom toolchecker geprueft ?)