473,748 Members | 2,353 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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_g etrcache
running build_scripts




--


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

Sep 24 '08 #1
1 3275
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_g etrcache
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
3918
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 it's very time consuming to do the updates over the network. I have a local copy of all of the updated rpms. Would it be reasonable to do something like this to upgrade them locally and more quickly than over the network??? updated_rpms =
2
1605
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 pyhton2.3 the following errors occur. Any advice on what to do? Setting up python2.3 (2.3.5-8) ... Compiling python modules in /usr/lib/python2.3 ... Compiling /usr/lib/python2.3/site-packages/srcb/generator.py ...
3
3543
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 prompted to save the php-file, obviously nothing is executed. what i've checked: ..) curl in php works with a selfcompiled php5 binary executed via cgi on the same server
1
1676
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 because it bumps it up against an *OLD* openssl lib (like, Feb. 2003). So I installed a newer openssl lib, but when I recompiled python it still used the old library. So I tried ./configure again with the flag: "- with-openssl-libs=/new/directory"...
1
1733
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... -------------------------------------------------------------------- PIL 1.1.6 BUILD SUMMARY -------------------------------------------------------------------- version 1.1.6 platform linux2 2.3.4 (#1, Dec 11 2007, 05:28:55)
3
1921
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 -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DPy_BUILD_CORE -o Objects/unicodeobject.o Objects/unicodeobject.c In file included from ./Include/Python.h:76, from Objects/unicodeobject.c:39:
0
925
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 On Thu, 2008-04-24 at 18:05 -0700, Alexandre Gillet wrote:
0
1636
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 can't use it in gae with exceptions like can't use import time ... Is there a detailed guide on how to upgrade python to 2.5+ version on centos 5.2? thank you.
3
10673
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
8991
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9376
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9326
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9249
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8245
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6076
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
3315
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2787
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2215
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.