Re: Python 2.5 install on Gentoo Linux: failed dmb and _tkinter

2007-01-14 Thread Sorin Schwimmer
# ldconfig -p | grep "/usr/local/lib"
libtk8.4.so (libc6)
=> /usr/local/lib/libtk8.4.so
libtcl8.4.so (libc6) =>
/usr/local/lib/libtcl8.4.so

Sorin


 

Now that's room service!  Choose from over 150,000 hotels
in 45,000 destinations on Yahoo! Travel to find your fit.
http://farechase.yahoo.com/promo-generic-14795097
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python 2.5 install on Gentoo Linux: failed dmb and _tkinter

2007-01-12 Thread Martin v. Löwis
Sorin Schwimmer schrieb:
>> Did you add /usr/local/lib to /etc/ld.so.conf?
> 
> It's there

It is it also listed with "ldconfig -p"?

Regards,
Martin
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python 2.5 install on Gentoo Linux: failed dmb and _tkinter

2007-01-11 Thread Sorin Schwimmer
> Did you add /usr/local/lib to /etc/ld.so.conf?

It's there

Sorin


 

Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python 2.5 install on Gentoo Linux: failed dmb and _tkinter

2007-01-10 Thread Martin v. Löwis
Sorin Schwimmer schrieb:
> *** WARNING: renaming "_tkinter" since importing it
> failed: libtk8.4.so: cannot open shared object file:
> No such file or directory
> running build_scripts
> 
> I have libtk:
> 
> # 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
> 
> I need Tkinter for sure, and I'll like to have dbm.
> How should I proceed?

Did you add /usr/local/lib to /etc/ld.so.conf?

Regards,
Martin
-- 
http://mail.python.org/mailman/listinfo/python-list


Python 2.5 install on Gentoo Linux: failed dmb and _tkinter

2007-01-10 Thread Sorin Schwimmer
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:


# 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


I have libtk:


# 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


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