Go Back   Velocity Reviews > Newsgroups > Python
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read


Reply

Python - Problems compiling on CentOS Python 2.5

 
Thread Tools Search this Thread
Old 09-23-2008, 05:37 PM   #1
F.
 
Posts: n/a
Default Problems compiling on CentOS Python 2.5

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














--




--
Publicidad http://www.pas-world.com

  Reply With Quote
Old 09-30-2008, 09:20 AM   #2
alexomoto@gmail.com
 
Posts: n/a
Default Re: Problems compiling on CentOS Python 2.5

On Sep 23, 10:37*am, "F." <dev...@pas-world.com> wrote:
> Hello,
> I have problems makingpythonon 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/Tklibs 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

>
> --
>
> --
> Publicidadhttp://www.pas-world.com




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.



  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Monty Python Meaning of Life DVD hotline problems Robert Kaiser DVD Video 3 05-11-2004 05:38 AM
Re: Pioneer DVR-105 and Nero Problems Ron DVD Video 1 08-08-2003 05:33 PM
Re: Pioneer DVR-105 and Nero Problems Flossie DVD Video 0 08-07-2003 01:25 PM
Re: Pioneer DVR-105 and Nero Problems Flossie DVD Video 0 08-07-2003 07:11 AM
Re: Pioneer DVR-105 and Nero Problems CAM DVD Video 0 08-07-2003 01:30 AM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47