473,804 Members | 3,548 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 1896
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
1752
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, Freebsd Python category, and Gentoo dev-python. And I checked equivalence by hand, alphabetically...
8
2031
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
1651
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 should look like, all such suggestions will be given proper consideration. <mike
0
1038
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
1833
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 python via ports I can see in the makefile that threading is turned on. Salling 'import thread' from...
9
1413
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: execonn# ./python Python 2.4.3 (#1, May 31 2006, 07:50:04) ] on freebsd4
1
2928
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
2878
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
2622
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 gcc-3.4.4. Of course it may be that freebsd has put more work into 3.4.4, but when I did a...
0
2161
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
9706
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
9579
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10571
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10326
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
10317
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
9143
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
5520
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5651
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2990
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.