Hi All, After a disaster in which I lost my whole harddrive, I decided to install the newest everything that I use. I put the latest Gentoo Linux, with gcc 4.1.1, installed tcl/tk 8.4.14 and tried Python 2.5. I tried with and without the suggested -fwrapv compiler option, and make gave me the same:
<code> # make case $MAKEFLAGS in \ *-s*) CC='gcc -pthread -fwrapv' LDSHARED='gcc -pthread -fwrapv -shared' OPT='-DNDEBUG -g -O3 -Wall -Wstrict-prototypes' ./python -E ./setup.py -q build;; \ *) CC='gcc -pthread -fwrapv' LDSHARED='gcc -pthread -fwrapv -shared' OPT='-DNDEBUG -g -O3 -Wall -Wstrict-prototypes' ./python -E ./setup.py build;; \ esac running build running build_ext db.h: found (4, 2) in /usr/include db lib: using (4, 2) db-4.2 building 'dbm' extension gcc -pthread -fwrapv -fPIC -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -DHAVE_GDBM_NDBM_H -I. -I/plus/install/Python-2.5/./Include -I./Include -I. -I/usr/local/include -I/plus/install/Python-2.5/Include -I/plus/install/Python-2.5 -c /plus/install/Python-2.5/Modules/dbmmodule.c -o build/temp.linux-i686-2.5/plus/install/Python-2.5/Modules/dbmmodule.o gcc -pthread -fwrapv -shared build/temp.linux-i686-2.5/plus/install/Python-2.5/Modules/dbmmodule.o -L/usr/local/lib -lgdbm -o build/lib.linux-i686-2.5/dbm.so *** WARNING: renaming "dbm" since importing it failed: build/lib.linux-i686-2.5/dbm.so: undefined symbol: dbm_firstkey building '_tkinter' extension gcc -pthread -fwrapv -fPIC -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -DWITH_APPINIT=1 -I/usr/X11R6/include -I. -I/plus/install/Python-2.5/./Include -I./Include -I. -I/usr/local/include -I/plus/install/Python-2.5/Include -I/plus/install/Python-2.5 -c /plus/install/Python-2.5/Modules/_tkinter.c -o build/temp.linux-i686-2.5/plus/install/Python-2.5/Modules/_tkinter.o gcc -pthread -fwrapv -fPIC -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -DWITH_APPINIT=1 -I/usr/X11R6/include -I. -I/plus/install/Python-2.5/./Include -I./Include -I. -I/usr/local/include -I/plus/install/Python-2.5/Include -I/plus/install/Python-2.5 -c /plus/install/Python-2.5/Modules/tkappinit.c -o build/temp.linux-i686-2.5/plus/install/Python-2.5/Modules/tkappinit.o gcc -pthread -fwrapv -shared build/temp.linux-i686-2.5/plus/install/Python-2.5/Modules/_tkinter.o build/temp.linux-i686-2.5/plus/install/Python-2.5/Modules/tkappinit.o -L/usr/X11R6/lib64 -L/usr/X11R6/lib -L/usr/local/lib -ltk8.4 -ltcl8.4 -lX11 -o build/lib.linux-i686-2.5/_tkinter.so *** WARNING: renaming "_tkinter" since importing it failed: libtk8.4.so: cannot open shared object file: No such file or directory running build_scripts </code> I have libtk: <code> # ls -l /usr/local/lib/libtk8.4.so -r-xr-xr-x 1 root root 906285 Jan 10 16:08 /usr/local/lib/libtk8.4.so </code> I can start wish. I need Tkinter for sure, and I'll like to have dbm. How should I proceed? Thanks for your advice, Sorin ____________________________________________________________________________________ Have a burning question? Go to www.Answers.yahoo.com and get answers from real people who know. -- http://mail.python.org/mailman/listinfo/python-list