make python schlägt fehl

Kreuzuebersetzer, Diskussion über Änderungen im Tuxbox-CDK und Tuxbox-CVS
dbluelle
Contributor
Beiträge: 319
Registriert: Samstag 29. Mai 2004, 18:49

make python schlägt fehl

Beitrag von dbluelle »

Hallo,

Wie der Titel schon sagt, make python klappt bei mir nicht:

Code: Alles auswählen

Listing /home/develop/dreambox/dream_work/root/cdkroot/lib/python2.5/xml/dom ...
Compiling /home/develop/dreambox/dream_work/root/cdkroot/lib/python2.5/xml/dom/NodeFilter.py ...
Compiling /home/develop/dreambox/dream_work/root/cdkroot/lib/python2.5/xml/dom/__init__.py ...
Compiling /home/develop/dreambox/dream_work/root/cdkroot/lib/python2.5/xml/dom/domreg.py ...
Compiling /home/develop/dreambox/dream_work/root/cdkroot/lib/python2.5/xml/dom/expatbuilder.py ...
Compiling /home/develop/dreambox/dream_work/root/cdkroot/lib/python2.5/xml/dom/minicompat.py ...
Compiling /home/develop/dreambox/dream_work/root/cdkroot/lib/python2.5/xml/dom/minidom.py ...
Compiling /home/develop/dreambox/dream_work/root/cdkroot/lib/python2.5/xml/dom/pulldom.py ...
Compiling /home/develop/dreambox/dream_work/root/cdkroot/lib/python2.5/xml/dom/xmlbuilder.py ...
Listing /home/develop/dreambox/dream_work/root/cdkroot/lib/python2.5/xml/etree ...
Compiling /home/develop/dreambox/dream_work/root/cdkroot/lib/python2.5/xml/etree/ElementInclude.py ...
Compiling /home/develop/dreambox/dream_work/root/cdkroot/lib/python2.5/xml/etree/ElementPath.py ...
Compiling /home/develop/dreambox/dream_work/root/cdkroot/lib/python2.5/xml/etree/ElementTree.py ...
Compiling /home/develop/dreambox/dream_work/root/cdkroot/lib/python2.5/xml/etree/__init__.py ...
Compiling /home/develop/dreambox/dream_work/root/cdkroot/lib/python2.5/xml/etree/cElementTree.py ...
Listing /home/develop/dreambox/dream_work/root/cdkroot/lib/python2.5/xml/parsers ...
Compiling /home/develop/dreambox/dream_work/root/cdkroot/lib/python2.5/xml/parsers/__init__.py ...
Compiling /home/develop/dreambox/dream_work/root/cdkroot/lib/python2.5/xml/parsers/expat.py ...
Listing /home/develop/dreambox/dream_work/root/cdkroot/lib/python2.5/xml/sax ...
Compiling /home/develop/dreambox/dream_work/root/cdkroot/lib/python2.5/xml/sax/__init__.py ...
Compiling /home/develop/dreambox/dream_work/root/cdkroot/lib/python2.5/xml/sax/_exceptions.py ...
Compiling /home/develop/dreambox/dream_work/root/cdkroot/lib/python2.5/xml/sax/expatreader.py ...
Compiling /home/develop/dreambox/dream_work/root/cdkroot/lib/python2.5/xml/sax/handler.py ...
Compiling /home/develop/dreambox/dream_work/root/cdkroot/lib/python2.5/xml/sax/saxutils.py ...
Compiling /home/develop/dreambox/dream_work/root/cdkroot/lib/python2.5/xml/sax/xmlreader.py ...
Compiling /home/develop/dreambox/dream_work/root/cdkroot/lib/python2.5/xmllib.py ...
Compiling /home/develop/dreambox/dream_work/root/cdkroot/lib/python2.5/xmlrpclib.py ...
Compiling /home/develop/dreambox/dream_work/root/cdkroot/lib/python2.5/zipfile.py ...
make[1]: *** [libinstall] Fehler 1
make[1]: Verlasse Verzeichnis '/opt/develop/dreambox/dream_work/cdk/Python-2.5.4'
make: *** [.deps/python] Fehler 2
Mir sind zwei Dinge aufgefallen, die mich stutzig machen:
1. Die configure-Optionen, die in contrib-apps.mk angegeben sind, kennt die verwendete python-Version teilweise nicht:

Code: Alles auswählen

cd Python-2.5.4 && \
                for f1 in config.guess config.sub; do ln -s /opt/develop/dreambox/dream_work/cdk/Patches/$f1 $f1; done && \
                autoconf && \
                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 STRIP=powerpc-tuxbox-linux-gnu-strip CFLAGS="-pipe -Os -mcpu=405 -msoft-float -mmultiple -mstring -meabi -ggdb3" CXXFLAGS="-pipe -Os -mcpu=405 -msoft-float -mmultiple -mstring -meabi -ggdb3" LDFLAGS="" PKG_CONFIG_PATH=/home/develop/dreambox/dream_work/root/cdkroot/lib/pkgconfig \
                LDSHARED=powerpc-tuxbox-linux-gnu-ld \
                CROSS_ROOT=/home/develop/dreambox/dream_work/root/cdkroot \
                CROSS_COMPILING=yes \
                PYTHON_FOR_BUILD=/usr/bin/python \
                ./configure \
                        --build=x86_64-unknown-linux-gnu \
                        --host=powerpc-tuxbox-linux-gnu \
                        --prefix=/home/develop/dreambox/dream_work/root/cdkroot \
                        --with-threads \
                        --with-pymalloc \
                        --with-cyclic-gc \
                        --without-cxx \
                        --with-signal-module \
                        --with-wctype-functions \
                        --enable-shared && \
                make all && \
                make install
configure: WARNING: unrecognized options: --with-cyclic-gc, --without-cxx
checking build system type... x86_64-unknown-linux-gnu
checking host system type... powerpc-tuxbox-linux-gnu
checking for powerpc-tuxbox-linux-gnu-gcc... powerpc-tuxbox-linux-gnu-gcc
2. Irgendwann während des Kompilierens kommen folgende Fehlermeldungen:

Code: Alles auswählen

powerpc-tuxbox-linux-gnu-gcc -fPIC -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I. -I/opt/develop/dreambox/dream_work/cdk/Python-2.5.4/./Include -Ibuild/temp.linux-x86_64-2.6/libffi/include -Ibuild/temp.linux-x86_64-2.6/libffi -I/opt/develop/dreambox/dream_work/cdk/Python-2.5.4/Modules/_ctypes/libffi/src -I. -IInclude -I/usr/include/python2.6 -c /opt/develop/dreambox/dream_work/cdk/Python-2.5.4/Modules/_ctypes/libffi/src/powerpc/linux64_closure.S -o build/temp.linux-x86_64-2.6/opt/develop/dreambox/dream_work/cdk/Python-2.5.4/Modules/_ctypes/libffi/src/powerpc/linux64_closure.o
creating build/lib.linux-x86_64-2.6
powerpc-tuxbox-linux-gnu-ld -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include build/temp.linux-x86_64-2.6/opt/develop/dreambox/dream_work/cdk/Python-2.5.4/Modules/_ctypes/_ctypes.o build/temp.linux-x86_64-2.6/opt/develop/dreambox/dream_work/cdk/Python-2.5.4/Modules/_ctypes/callbacks.o build/temp.linux-x86_64-2.6/opt/develop/dreambox/dream_work/cdk/Python-2.5.4/Modules/_ctypes/callproc.o build/temp.linux-x86_64-2.6/opt/develop/dreambox/dream_work/cdk/Python-2.5.4/Modules/_ctypes/stgdict.o build/temp.linux-x86_64-2.6/opt/develop/dreambox/dream_work/cdk/Python-2.5.4/Modules/_ctypes/cfield.o build/temp.linux-x86_64-2.6/opt/develop/dreambox/dream_work/cdk/Python-2.5.4/Modules/_ctypes/malloc_closure.o build/temp.linux-x86_64-2.6/opt/develop/dreambox/dream_work/cdk/Python-2.5.4/Modules/_ctypes/libffi/src/prep_cif.o build/temp.linux-x86_64-2.6/opt/develop/dreambox/dream_work/cdk/Python-2.5.4/Modules/_ctypes/libffi/src/powerpc/ffi.o build/temp.linux-x86_64-2.6/opt/develop/dreambox/dream_work/cdk/Python-2.5.4/Modules/_ctypes/libffi/src/powerpc/sysv.o build/temp.linux-x86_64-2.6/opt/develop/dreambox/dream_work/cdk/Python-2.5.4/Modules/_ctypes/libffi/src/powerpc/ppc_closure.o build/temp.linux-x86_64-2.6/opt/develop/dreambox/dream_work/cdk/Python-2.5.4/Modules/_ctypes/libffi/src/powerpc/linux64.o build/temp.linux-x86_64-2.6/opt/develop/dreambox/dream_work/cdk/Python-2.5.4/Modules/_ctypes/libffi/src/powerpc/linux64_closure.o -o build/lib.linux-x86_64-2.6/_ctypes.so
powerpc-tuxbox-linux-gnu-ld: unrecognized option '-DNDEBUG'
powerpc-tuxbox-linux-gnu-ld: use the --help option for usage information
building '_ctypes_test' extension
powerpc-tuxbox-linux-gnu-gcc -fPIC -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I. -I/opt/develop/dreambox/dream_work/cdk/Python-2.5.4/./Include -I. -IInclude -I/usr/include/python2.6 -c /opt/develop/dreambox/dream_work/cdk/Python-2.5.4/Modules/_ctypes/_ctypes_test.c -o build/temp.linux-x86_64-2.6/opt/develop/dreambox/dream_work/cdk/Python-2.5.4/Modules/_ctypes/_ctypes_test.o
powerpc-tuxbox-linux-gnu-ld -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include build/temp.linux-x86_64-2.6/opt/develop/dreambox/dream_work/cdk/Python-2.5.4/Modules/_ctypes/_ctypes_test.o -o build/lib.linux-x86_64-2.6/_ctypes_test.so
powerpc-tuxbox-linux-gnu-ld: unrecognized option '-DNDEBUG'
powerpc-tuxbox-linux-gnu-ld: use the --help option for usage information
building 'cmath' extension
powerpc-tuxbox-linux-gnu-gcc -fPIC -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I. -I/opt/develop/dreambox/dream_work/cdk/Python-2.5.4/./Include -I. -IInclude -I/usr/include/python2.6 -c /opt/develop/dreambox/dream_work/cdk/Python-2.5.4/Modules/cmathmodule.c -o build/temp.linux-x86_64-2.6/opt/develop/dreambox/dream_work/cdk/Python-2.5.4/Modules/cmathmodule.o
powerpc-tuxbox-linux-gnu-ld -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include build/temp.linux-x86_64-2.6/opt/develop/dreambox/dream_work/cdk/Python-2.5.4/Modules/cmathmodule.o -lm -o build/lib.linux-x86_64-2.6/cmath.so
powerpc-tuxbox-linux-gnu-ld: unrecognized option '-DNDEBUG'
powerpc-tuxbox-linux-gnu-ld: use the --help option for usage information
building 'datetime' extension
powerpc-tuxbox-linux-gnu-gcc -fPIC -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I. -I/opt/develop/dreambox/dream_work/cdk/Python-2.5.4/./Include -I. -IInclude -I/usr/include/python2.6 -c /opt/develop/dreambox/dream_work/cdk/Python-2.5.4/Modules/datetimemodule.c -o build/temp.linux-x86_64-2.6/opt/develop/dreambox/dream_work/cdk/Python-2.5.4/Modules/datetimemodule.o
powerpc-tuxbox-linux-gnu-gcc -fPIC -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I. -I/opt/develop/dreambox/dream_work/cdk/Python-2.5.4/./Include -I. -IInclude -I/usr/include/python2.6 -c /opt/develop/dreambox/dream_work/cdk/Python-2.5.4/Modules/timemodule.c -o build/temp.linux-x86_64-2.6/opt/develop/dreambox/dream_work/cdk/Python-2.5.4/Modules/timemodule.o
powerpc-tuxbox-linux-gnu-ld -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include build/temp.linux-x86_64-2.6/opt/develop/dreambox/dream_work/cdk/Python-2.5.4/Modules/datetimemodule.o build/temp.linux-x86_64-2.6/opt/develop/dreambox/dream_work/cdk/Python-2.5.4/Modules/timemodule.o -lm -o build/lib.linux-x86_64-2.6/datetime.so
powerpc-tuxbox-linux-gnu-ld: unrecognized option '-DNDEBUG'
powerpc-tuxbox-linux-gnu-ld: use the --help option for usage information
Ich baue auf einem 64Bit-Linux, eventuell hat es ja auch damit zu tun :gruebel: .

dbluelle