473,574 Members | 3,173 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problem installing Python 2.4.3 on FreeBSD 5.3-RELEASE-p31

I have a problem installing Pyhton 2.4.3, running "./configure
--with-threads=no" completes, but gives the warning:

configure: WARNING: curses.h: present but cannot be compiled
configure: WARNING: curses.h: check for missing prerequisite
headers?
configure: WARNING: curses.h: see the Autoconf documentation
configure: WARNING: curses.h: section "Present But Cannot Be
Compiled"
configure: WARNING: curses.h: proceeding with the preprocessor's result
configure: WARNING: curses.h: in the future, the compiler will take
precedence

Running "make" then gives the error:

gcc -shared build/temp.freebsd-5.3-RELEASE-p31-i386-2.4/_cursesmodule.o
-L/usr/local/lib -lncursesw -o
build/lib.freebsd-5.3-RELEASE-p31-i386-2.4/_curses.so
Segmentation fault (core dumped)
*** Error code 139

I assume this is related to the configure warning... ? Same error with
just a standard "./configure" and "make".

Any help would be great :)

Regards,
James

Aug 17 '06 #1
4 1886
ja***@uh-hosting.co.uk schrieb:
I assume this is related to the configure warning... ? Same error with
just a standard "./configure" and "make".

Any help would be great :)
If you don't need the curses module, go on with the installation.
It's a known bug in FreeBSD's curses header file.

Regards,
Martin
Aug 20 '06 #2

Martin v. Löwis wrote:
ja***@uh-hosting.co.uk schrieb:
I assume this is related to the configure warning... ? Same error with
just a standard "./configure" and "make".

Any help would be great :)

If you don't need the curses module, go on with the installation.
It's a known bug in FreeBSD's curses header file.

Regards,
Martin
But I cannot continue because it seg faults and does not continue the
make - Forgive my ignorance, but how do I prevent the curses module
from being included?

Aug 21 '06 #3

jamesuh wrote:
Martin v. Löwis wrote:
ja***@uh-hosting.co.uk schrieb:
I assume this is related to the configure warning... ? Same error with
just a standard "./configure" and "make".
>
Any help would be great :)
If you don't need the curses module, go on with the installation.
It's a known bug in FreeBSD's curses header file.

Regards,
Martin

But I cannot continue because it seg faults and does not continue the
make - Forgive my ignorance, but how do I prevent the curses module
from being included?
Nevermind done it :)

Aug 21 '06 #4

jamesuh wrote:
Martin v. Löwis wrote:
ja***@uh-hosting.co.uk schrieb:
I assume this is related to the configure warning... ? Same error with
just a standard "./configure" and "make".
>
Any help would be great :)
If you don't need the curses module, go on with the installation.
It's a known bug in FreeBSD's curses header file.

Regards,
Martin

But I cannot continue because it seg faults and does not continue the
make - Forgive my ignorance, but how do I prevent the curses module
from being included?
There is some severe problem here. I have this very version of Python
on a FreeBSD 5.3 system (I'm typing on it now) and didn't have this
problem. I think you may have some conflict in your object libs.

If you don't need tkinter you can go to one of the FreeBSD ftp sites
and download the packaged binary version.

Aug 22 '06 #5

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

Similar topics

1
1741
by: Seo Sanghyeon | last post by:
For those who may be concerned: this mail is sent to comp.lang.python, debian-python, freebsd-python, and catalog-sig. I created a table of Python packages in Debian, FreeBSD, and Gentoo. http://sparcs.kaist.ac.kr/~tinuviel/pypackage/list.cgi The table is created as follow: first I made a list of all packages in Debian Python section,...
8
2011
by: Jan Danielsson | last post by:
Hello all, How do I make a python script actually a _python_ in unix:ish environments? I know about adding: #!/bin/sh ..as the first row in a shell script, but when I installed python on a NetBSD system, I didn't get a "python" executable; only a "python2.4"
20
1621
by: Mike Meyer | last post by:
Ok, I've given it the interface I want, and made it less of an attractive nuisance. http://www.mired.org/home/mwm/try_python/ is now ready for people to play with. There's no tutorial information on it yet, that's the next thing to do. However, I won't be able to work on it for a while, so if you want to make suggestions about what that...
0
1021
by: Adam Smith | last post by:
Hello, I am attempting to compile postgresql from source with python enable. I have compiled & installed python on my machine according to the instruction, installation seems fine My Platform ==> # uname -a FreeBSD econ.com 4.9-STABLE FreeBSD 4.9-STABLE #0: Wed Nov 12 17:41:01 PST 2003
2
1820
by: Dorian Mcfarland | last post by:
Hi there, I have installed python(2.4.3) & trac(0.9.4) on freebsd(4.8) from the ports collection and I seem to have an underlying problem with the thread module. Pysqlite is calling 'import thread' which is failing with "no such module" and causing it not to load. I thought that 'thread' was one of the core sys.modules and when I install...
9
1406
by: Marshall Dudley | last post by:
I am trying to install python, but am having problems. I did what the README file said, and it created an executible code in the current directory as it said it would when I typed "make". It seemed to say to copy the executable over to the /usr/local directory, which I did. If I type ./python in the directory I did the make in I get: ...
1
2916
by: Vyacheslav Sotnikov | last post by:
Hello python-list, is anybody has any success in taking this components live together? I need to access remote Oracle 9i from freebsd 6.2 machine using python 2.4.4. Thanks in advance for answer.
3
2871
by: Robin Becker | last post by:
I am seeing different outcomes from simple requests against a common database when run from a freebsd machine and a win32 box. The test script is ####################### import MySQLdb, sys print sys.version print MySQLdb.__version__ db=MySQLdb.connect(host='appx',db='sc_0',user='user',passwd='secret',use_unicode=True)
1
2615
by: Robin Becker | last post by:
I've just been testing out Jakob Sievers' speedup of Python 2.5.2 by compiling on freebsd with gcc-4.3.3 (the standard freebsd 6.1 gcc is 3.4.4). I'm glad to say that his modification did improve pybench overall by about 12%, but during the testing I noticed that in fact some of the pybench results were much worse using gcc-4.3.3 compared to...
0
2150
by: trihaitran | last post by:
I am reading chapter two of the Pylons book. In the text I am told to run: $ python virtualenv.py --no-site-packages env This is what I got back: $ python virtualenv.py --no-site-packages env New python executable in env/bin/python Installing setuptools........... Complete output from command env/bin/python -c "#!python
0
8100
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8270
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...
1
7856
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...
0
6509
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...
1
5651
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5335
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...
1
2270
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
1
1369
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1099
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...

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.