FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS Development

LinkBack Thread Tools
Old 09-15-2011, 04:55 PM
Ljubomir Ljubojevic
Default Need info regarding python recompilation


I am trying to introduce curses.menu patch into python package for
CentOS 6. My intention is to compile with that patch to see what files
are different (only few I guess) so I can try to create a separate
python-curesemenu package.

Is it possible to compile python-2.6.5-3.el6_0.2.x86_64 package on fresh
install of CentOS 6.0?

When I try with unchanged src.rpm, I get following error:

gcc -pthread -fPIC -fno-strict-aliasing -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC
-fwrapv -I. -IInclude -I./Include -I/usr/lib64/libffi-3.0.5/include
-c ./Modules/xxsubtype.c -o Modules/xxsubtype.o
gcc -pthread -shared Modules/xxsubtype.o -o Modules/xxsubtype.so
'import site' failed; use -v for traceback
Traceback (most recent call last):
File "./setup.py", line 15, in <module>
from distutils.command.build_ext import build_ext
line 13, in <module>
from site import USER_BASE, USER_SITE
line 517, in <module>
line 500, in main
known_paths = addsitepackages(known_paths)
line 292, in addsitepackages
addsitedir(sitedir, known_paths)
line 185, in addsitedir
addpackage(sitedir, name, known_paths)
line 155, in addpackage
exec line
File "<string>", line 1, in <module>
File "/usr/lib/python2.6/site-packages/abrt_exception_handler.py",
line 27, in <module>
import syslog
ImportError: No module named syslog
make: *** [sharedmods] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.EqLA3n (%build)

RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.EqLA3n (%build)


Ljubomir Ljubojevic
(Love is in the Air)
PL Computers
Serbia, Europe

Google is the Mother, Google is the Father, and traceroute is your
trusty Spiderman...
StarOS, Mikrotik and CentOS/RHEL/Linux consultant
CentOS-devel mailing list

Thread Tools

All times are GMT. The time now is 03:26 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org