473,396 Members | 2,018 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.

Python 2.3.7 Does not compile on Ubuntu 8.10 i386

Hi guys,

Testing some older versions of Python. 2.2.3 compiled and runs just
fine on same machine. I get this error during 2.3.7 make:

case $MAKEFLAGS in \
*-s*) CC='gcc -pthread' LDSHARED='gcc -pthread -shared' OPT='-
DNDEBUG -g -O3 -Wall -Wstrict-prototypes' ./python -E ./setup.py -q
build;; \
*) CC='gcc -pthread' LDSHARED='gcc -pthread -shared' OPT='-DNDEBUG -
g -O3 -Wall -Wstrict-prototypes' ./python -E ./setup.py build;; \
esac
*** buffer overflow detected ***: ./python terminated
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x48)[0x4016e558]
/lib/tls/i686/cmov/libc.so.6[0x4016c680]
/lib/tls/i686/cmov/libc.so.6[0x4016cde8]
../python(PySys_SetArgv+0x150)[0x80deeb0]
../python(Py_Main+0x324)[0x8056864]
../python(main+0x22)[0x8056512]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0x4008a685]
../python[0x8056451]
======= Memory map: ========
08048000-08119000 r-xp 00000000 08:01 41855033 /home/brad/Desktop/
Python-2.3.7/python
08119000-0811a000 r--p 000d0000 08:01 41855033 /home/brad/Desktop/
Python-2.3.7/python
0811a000-08138000 rw-p 000d1000 08:01 41855033 /home/brad/Desktop/
Python-2.3.7/python
08138000-0813b000 rw-p 08138000 00:00 0
0958a000-095f9000 rw-p 0958a000 00:00 0 [heap]
40000000-4001a000 r-xp 00000000 08:01 37863443 /lib/ld-2.8.90.so
4001a000-4001b000 r-xp 4001a000 00:00 0 [vdso]
4001b000-4001c000 r--p 0001a000 08:01 37863443 /lib/ld-2.8.90.so
4001c000-4001d000 rw-p 0001b000 08:01 37863443 /lib/ld-2.8.90.so
4001d000-4001f000 rw-p 4001d000 00:00 0
4001f000-40026000 r--s 00000000 08:01 43081971 /usr/lib/gconv/gconv-
modules.cache
4002c000-40041000 r-xp 00000000 08:01 37881007 /lib/tls/i686/cmov/
libpthread-2.8.90.so
40041000-40042000 r--p 00014000 08:01 37881007 /lib/tls/i686/cmov/
libpthread-2.8.90.so
40042000-40043000 rw-p 00015000 08:01 37881007 /lib/tls/i686/cmov/
libpthread-2.8.90.so
40043000-40045000 rw-p 40043000 00:00 0
40045000-40047000 r-xp 00000000 08:01 37880987 /lib/tls/i686/cmov/
libdl-2.8.90.so
40047000-40048000 r--p 00001000 08:01 37880987 /lib/tls/i686/cmov/
libdl-2.8.90.so
40048000-40049000 rw-p 00002000 08:01 37880987 /lib/tls/i686/cmov/
libdl-2.8.90.so
40049000-4004b000 r-xp 00000000 08:01 37881015 /lib/tls/i686/cmov/
libutil-2.8.90.so
4004b000-4004c000 r--p 00001000 08:01 37881015 /lib/tls/i686/cmov/
libutil-2.8.90.so
4004c000-4004d000 rw-p 00002000 08:01 37881015 /lib/tls/i686/cmov/
libutil-2.8.90.so
4004d000-40071000 r-xp 00000000 08:01 37880989 /lib/tls/i686/cmov/
libm-2.8.90.so
40071000-40072000 r--p 00023000 08:01 37880989 /lib/tls/i686/cmov/
libm-2.8.90.so
40072000-40073000 rw-p 00024000 08:01 37880989 /lib/tls/i686/cmov/
libm-2.8.90.so
40073000-40074000 rw-p 40073000 00:00 0
40074000-401cc000 r-xp 00000000 08:01 37880981 /lib/tls/i686/cmov/
libc-2.8.90.so
401cc000-401ce000 r--p 00158000 08:01 37880981 /lib/tls/i686/cmov/
libc-2.8.90.so
401ce000-401cf000 rw-p 0015a000 08:01 37880981 /lib/tls/i686/cmov/
libc-2.8.90.so
401cf000-40318000 rw-p 401cf000 00:00 0
40318000-40357000 r--p 00000000 08:01 13140898 /usr/lib/locale/
en_US.utf8/LC_CTYPE
40364000-40371000 r-xp 00000000 08:01 37863486 /lib/libgcc_s.so.1
40371000-40372000 r--p 0000c000 08:01 37863486 /lib/libgcc_s.so.1
40372000-40373000 rw-p 0000d000 08:01 37863486 /lib/libgcc_s.so.1
bfb7e000-bfb93000 rw-p bffeb000 00:00 0 [stack]
Aborted
make: *** [sharedmods] Error 134

Any tips?

Thanks
Nov 5 '08 #1
1 6773
I came across this today, and found a similar bug in launchpad [1].
The following commands worked for me (including cleaning up
beforehand):

cd Python-2.3.7
make distclean
../configure BASECFLAGS=-U_FORTIFY_SOURCE
make

I hope that helps.

zenzike

[1] https://bugs.launchpad.net/ubuntu/+s...ts/+bug/286334
Nov 6 '08 #2

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

Similar topics

0
by: | last post by:
Greetings. In an effort to get python2.4 on my Centos 3.7, I installed the python bootstrap rpm. This installed 2.4 alongside 2.2 and updated yum to 2.4.0. Oddly, it didn't create a symlink...
83
by: Licheng Fang | last post by:
Hi, I'm learning STL and I wrote some simple code to compare the efficiency of python and STL. //C++ #include <iostream> #include <string> #include <vector> #include <set> #include...
6
by: JW | last post by:
I have a lousy little Python extension, generated with the generous help of Pyrex. In Linux, things are simple. I compile the extension, link it against some C stuff, and *poof*! everything...
4
by: Arnaud Delobelle | last post by:
Hi fellow python enthusiasts. Having recently acquired a MacBook Pro (Intel Core 2 Duo) which comes with python2.5, I have been installing some modules that I need (PIL, psycopg2, PyXML ...). ...
3
by: spectrumdt | last post by:
Hello. I am trying to install Pypvm (http://pypvm.sourceforge.net/), the Python interface to PVM ("Parallel Virtual Machine"). Unfortunately, installation fails. I am hoping someone can help me...
8
by: karthikbalaguru | last post by:
Hi, One of my python program needs tkinter to be installed to run successfully. I am using Redhat 9.0 and hence tried installing by copying the tkinter-2.2.2-36.i386.rpm alone from the CD 3 to...
9
by: Todd Whiteman | last post by:
I've put together a tutorial that shows off how to build a GUI application using XULRunner (same architectural components as Firefox uses) that can be used in conjunction with the Python...
8
by: Fett | last post by:
I am trying to find a wrapper to do linear programming within python. I am using an ubuntu machine and I have apt-get'd lp_solve, which works just fine. If someone knows of a wrapper that will work...
0
by: Akira Kitada | last post by:
Hi list, I was trying to build Python 2.6 on FreeBSD 4.11 and found it failed to build some of the modules. """ Failed to find the necessary bits to build these modules: _bsddb ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
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
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...
0
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,...
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...

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.