Issue 937043: configure ignores --without-pth (original) (raw)
Issue937043
Created on 2004-04-17 19:17 by zarahg, last changed 2022-04-11 14:56 by admin. This issue is now closed.
Messages (2) | ||
---|---|---|
msg20533 - (view) | Author: Thomas Linden (zarahg) | Date: 2004-04-17 19:17 |
I am trying to compile python2.3.3 against uclibc which does not contain pth.h and I dont need it anyway. So I added --without-pth to the configure commandline. Due to configures output it seemes to understand it: [..] checking for --with-pth... no [..] But pyconfig.h still contains HAVE_PTH 1 after the configure run. However, I added some sed lines to patch pyconfig.h before running make, but this were still unsuccessful, when I run make I see the following error: /usr/local/dev/src/buildroot/build_i386/staging_dir/bin/ i386-linux-uclibc-gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DPy_BUILD_CORE -o Parser/ pgenmain.o Parser/pgenmain.c /usr/local/dev/src/buildroot/build_i386/staging_dir/bin/ i386-linux-uclibc-gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes Parser/acceler.o Parser/grammar1.o Parser/listnode.o Parser/ node.o Parser/parser.o Parser/parsetok.o Parser/bitset.o Parser/ metagrammar.o Parser/firstsets.o Parser/grammar.o Parser/pgen.o Objects/obmalloc.o Python/mysnprintf.o Parser/tokenizer_pgen.o Parser/printgrammar.o Parser/pgenmain.o -lpth -lpthread -ldl -o Parser/pgen /usr/local/dev/src/buildroot/build_i386/staging_dir/usr/bin/../ lib/gcc-lib/i386-linux-uclibc/3.3.3/../../../../i386-linux-uclibc/bin/ ld: cannot find -lpth collect2: ld returned 1 exit status make[1]: *** [Parser/pgen] Error 1 make[1]: Leaving directory `/usr/local/dev/src/buildroot/ build_i386/Python-2.3.3' make: *** [/usr/local/dev/src/buildroot/build_i386/Python-2.3.3/ python] Error 2 This is a bug in configure.in or something. It makes it impossible to compile pythong with uclibc without pth. regards, Tom | ||
msg20534 - (view) | Author: Thomas Linden (zarahg) | Date: 2004-04-18 00:22 |
Logged In: YES user_id=1735 works now, my fault. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:56:03 | admin | set | github: 40165 |
2004-04-17 19:17:17 | zarahg | create |