LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 09-06-2012, 10:25 AM   #1
emmiesix
LQ Newbie
 
Registered: Jun 2012
Posts: 6

Rep: Reputation: Disabled
Unhappy Problems Compiling Python


Help!

I am installing some scientific analysis tools from source. It is going rather badly in general, but I have identified the first failure as during the build of a custom python.


Here is a snip showing the errors:

Quote:
Python build finished, but the necessary bits to build these modules were not found:
bsddb185 bz2 dl
imageop linuxaudiodev ossaudiodev
sunaudiodev
To find the necessary bits, look in setup.py in detect_modules() for the module's name.


Failed to build these modules:
readline
The readline module actually seems to build ok, but it throws this warning:
Quote:
*** WARNING: renaming "readline" since importing it failed: /home/meyer/research/software/heasoft-6.12/x86_64-unknown-linux-gnu-libc2.12/lib/libreadline.so.6: undefined symbol: PC
which I guess is why it says that it failed?

Note that when the master script calls the configure in the python directory, it also shows some warnings:

Quote:
configure: WARNING: unrecognized options: --enable-symbols, --with-tcl, --with-tk
 
Old 09-08-2012, 05:58 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,262

Rep: Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660
To get some answers, you will have to provide much more information.
http://www.linuxquestions.org/linux/...Ask_a_Question
http://linuxsilo.net/docs/smart-questions_en.html

Which OS is used ? Name, version, architecture , please.
Why is a "custom python" required ? Which version ?
Which "heasoft-6.12" applications do you want to build ?


About python modules ..
Some are never built : Unavailable and outdated modules.
There used to be a patch to disable those ..
python2.6-disable-old-modules.patch

.
 
  


Reply

Tags
compiling, python, readline


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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
cross compiling python shariefbe Linux - Software 3 03-09-2010 05:18 AM
compiling python-gtkextra samwise17 Programming 0 10-29-2008 08:16 PM
compiling python program ? mahbouba Linux - Newbie 2 10-28-2008 11:25 PM
Cross Compiling Python for StrongARM hiteshmaisheri Linux - Laptop and Netbook 2 04-15-2004 07:40 AM
compiling Python scripts lex1dr Linux - Software 1 06-16-2003 05:24 PM


All times are GMT -5. The time now is 05:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration