473,396 Members | 1,590 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Problems compiling on CentOS Python 2.5

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




--


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

Sep 24 '08 #1
1 3254
On Sep 23, 10:37*am, "F." <dev...@pas-world.comwrote:
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.

Sep 30 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: rbt | last post by:
Not really a Python question, but I thought some on this list may be able to answer.... so here goes: I have several machines on which I must install CentOS. There are many updates to CentOS and...
2
by: ivan.pavlov | last post by:
I am running Debian/Linux unstable. Trying to upgrade packages depending on python (via aptitude) has started to give errors and leaves all packeges unconfigured. When I run dpkg --configure...
3
by: Matthias Leopold | last post by:
hi i've got problems getting php4 scripts which use curl to work on RHEL4 (Nahant Update 4) and CentOS 4.4. when the script is accessed the browser "hangs", after a couple of minutes i'm...
1
by: Kevin T. Ryan | last post by:
Hi All - I'm trying to compile Python on a Centos machine (RHEL) 3.8 for a hosting account that I just set up and I'm having 2 issues: 1. I ran into an issue with the "hashlib" module ...
1
by: Nick Day | last post by:
Hi, I'm trying to install PIL from source on my CentOS 4.5 server. The build summary reports that I have everything installed... ...
3
by: Alexandre Gillet | last post by:
Hi, I am trying to build python-2.4.5 on Centos 5.1, which is a virtual machine running with xen. I am not able to build python. The compilation crash with the following: gcc -pthread -c ...
0
by: Alexandre Gillet | last post by:
Thanks for your answers. I did solve my problem. I upgraded my glibc libraries and it seems to solve the problem. I was able to build python-2.4.5 using gcc 4.1.2 (glibc-2.5-18.el5_1.1) Alex ...
0
by: weixiao.fan | last post by:
CentOS5.2 installed python2.4 by default, but google app engine need 2.5+ version. I download the tar package from python.org then run ./ configure,make,make install and some other work. but I...
3
by: Brendan | last post by:
The current CentOs Linux distro includes python 2.4.3. I need to install a more recent version but I am worried about breaking CentOs python dependencies. Is it safe to install python 2.6 using pup?
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.