[ python-Bugs-937043 ] configure ignores --without-pth
SourceForge.net
noreply at sourceforge.net
Sat Apr 17 15:17:18 EDT 2004
Bugs item #937043, was opened at 2004-04-17 19:17
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=937043&group_id=5470
Category: Build
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Thomas Linden (zarahg)
Assigned to: Nobody/Anonymous (nobody)
Summary: configure ignores --without-pth
Initial Comment:
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
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=937043&group_id=5470
More information about the Python-bugs-list
mailing list