Problems compiling on CentOS Python 2.5

F

F.

Hello,
I have problems making python on CentOS 5.
Seems that can not find something. I can not find the problem.
Where is the problem?




case $MAKEFLAGS in \
*-s*) CC='gcc -pthread' LDSHARED='gcc -pthread -shared' OPT='-DNDEBUG -fwrapv -march=i686 -mmmx -msse -msse2 -msse3 -O3 -pipe -fomit-frame-pointer -Wall -Wstrict-prototypes' ./python -E ./setup.py -q build;; \
*) CC='gcc -pthread' LDSHARED='gcc -pthread -shared' OPT='-DNDEBUG -fwrapv -march=i686 -mmmx -msse -msse2 -msse3 -O3 -pipe -fomit-frame-pointer -Wall -Wstrict-prototypes' ./python -E ./setup.py build;; \
esac
running build
running build_ext
db.h: found (4, 3) in /usr/include
db lib: using (4, 3) db-4.3
INFO: Can't locate Tcl/Tk libs and/or headers
building '_ssl' extension
gcc -pthread -fPIC -fno-strict-aliasing -DNDEBUG -fwrapv -march=i686 -mmmx -msse -msse2 -msse3 -O3 -pipe -fomit-frame-pointer -Wall -Wstrict-prototypes -I. -I/home/unStable/progC/exLibs/Python-2.5.2/Python-2.5.2/./Include -I. -IInclude -I./Include -I/usr/local/include -I/directory/Python-2.5.2/Python-2.5.2/Include -I/directory/Python-2.5.2/Python-2.5.2 -c /directory/Python-2.5.2/Python-2.5.2/Modules/_ssl.c -o build/temp.linux-i686-2.5/directory/Python-2.5.2/Python-2.5.2/Modules/_ssl.o
gcc -pthread -shared -fno-strict-aliasing -DNDEBUG -fwrapv -march=i686 -mmmx -msse -msse2 -msse3 -O3 -pipe -fomit-frame-pointer -Wall -Wstrict-prototypes build/temp.linux-i686-2.5/directory/Python-2.5.2/Python-2.5.2/Modules/_ssl.o -L/usr/local/lib -lssl -lcrypto -o build/lib.linux-i686-2.5/_ssl.so
*** WARNING: renaming "_ssl" since importing it failed: build/lib.linux-i686-2.5/_ssl.so: undefined symbol: krb5_auth_con_getrcache
running build_scripts













--
 
A

alexomoto

Hello,
I have problems makingpythonon CentOS 5.
Seems that can not find something. I can not find the problem.
Where is the problem?



I also spent a couple hours googling for this same problem! It's not
tough to figure it out but would have saved time and stress if i hit
the answer on my first search.

I am also using CentOS 4.4, 4.5 and python 2.4.4. I debugged the
Python installation script to find that the tk.h/tcl.h headers are
missing. Installing the tk-devel package (using yum) installs the
headers. Then re-install Python.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,056
Messages
2,570,441
Members
47,118
Latest member
nocode69

Latest Threads

Top