[egenix-users] error installing mx base
Steven Coleman-Williams
steve at onebrightspace.com
Mon Aug 10 15:08:15 CEST 2009
I am trying to transport a system from a development server to production
one, and need mx.DateTime installed to do so. When trying to install it I
get the following output and errors. If anyone can shed some light on this
for me I would be most thankful!!
Can anyone please help and suggest why I am unable to install the package
please. I have provided the command Ive used and the output given.
Command: python setup.py install
Output:
running install
no build data file 'build/build-py2.4_ucs2.pck' found
running build
running mx_autoconf
could not open ./pyconfig.h file
checking for availability of strftime()
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes
-fPIC -D_GNU_SOURCE=1 -I/usr/local/include -c _configtest.c -o _configtest.o
gcc -pthread _configtest.o -L/usr/local/lib -L/usr/local/lib64 -o
_configtest
success!
removing: _configtest.c _configtest.o _configtest
checking for availability of strptime()
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes
-fPIC -D_GNU_SOURCE=1 -I/usr/local/include -c _configtest.c -o _configtest.o
gcc -pthread _configtest.o -L/usr/local/lib -L/usr/local/lib64 -o
_configtest
success!
removing: _configtest.c _configtest.o _configtest
checking for availability of timegm()
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes
-fPIC -D_GNU_SOURCE=1 -I/usr/local/include -c _configtest.c -o _configtest.o
gcc -pthread _configtest.o -L/usr/local/lib -L/usr/local/lib64 -o
_configtest
success!
removing: _configtest.c _configtest.o _configtest
checking compiler for bad static forward handling
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes
-fPIC -D_GNU_SOURCE=1 -I/opt/Zope-2.10.6-final/Python-2.4.5/Include
-I/usr/local/include -c _configtest.c -o _configtest.o
In file included from _configtest.c:1:
/opt/Zope-2.10.6-final/Python-2.4.5/Include/Python.h:8:22: error:
pyconfig.h: No such file or directory
In file included from
/opt/Zope-2.10.6-final/Python-2.4.5/Include/Python.h:55,
from _configtest.c:1:
/opt/Zope-2.10.6-final/Python-2.4.5/Include/pyport.h:616:2: error: #error
"LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)."
failure.
removing: _configtest.c _configtest.o
macros to define: [('HAVE_STRFTIME', '1'), ('HAVE_STRPTIME', '1'),
('HAVE_TIMEGM', '1'), ('BAD_STATIC_FORWARD', '1')]
macros to undefine: []
running build_ext
building extension "mx.DateTime.mxDateTime.mxDateTime" (required)
checking for optional libraries
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes
-fPIC -DHAVE_STRFTIME=1 -DHAVE_STRPTIME=1 -DHAVE_TIMEGM=1
-DBAD_STATIC_FORWARD=1 -I/opt/Zope-2.10.6-final/Python-2.4.5/Inc
lude -I/opt/Zope-2.10.6-final/Python-2.4.5 -I/usr/local/include -c
_configtest.c -o _configtest.o
gcc -pthread _configtest.o -L/usr/local/lib -L/usr/local/lib64 -lm -o
_configtest
success!
removing: _configtest.c _configtest.o _configtest
found optional library 'm' -- defining HAVE_M_LIB
building 'mx.DateTime.mxDateTime.mxDateTime' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes
-fPIC -DUSE_FAST_GETCURRENTTIME -DHAVE_M_LIB=1 -DHAVE_STRFTIME=1
-DHAVE_STRPTIME=1 -DHAVE_TIMEGM=1 -DBAD_STATIC_FORWARD=1
-Imx/DateTime/mxDateTime -I/opt/Zope-2.10.6-final/Python-2.4.5/Include
-I/opt/Zope-2.10.6-final/Python-2.4.5 -I/usr/local/include -c
mx/DateTime/mxDateTime/mxDateTime.c -o build/temp.linux-x86_64-2.
4_ucs2/mx-DateTime-mxDateTime-mxDateTime/mxDateTime.o
mx/DateTime/mxDateTime/mxDateTime.c:2502: error: static declaration of
âmxDateTime_Methodsâ follows non-static declaration
mx/DateTime/mxDateTime/mxDateTime.c:229: error: previous declaration of
âmxDateTime_Methodsâ was here
mx/DateTime/mxDateTime/mxDateTime.c:3373: error: static declaration of
âmxDateTime_Typeâ follows non-static declaration
mx/DateTime/mxDateTime/mxDateTime.c:228: error: previous declaration of
âmxDateTime_Typeâ was here
mx/DateTime/mxDateTime/mxDateTime.c:3575: error: static declaration of
âmxDateTimeDelta_FromDaysExâ follows non-static declaration
mx/DateTime/mxDateTime/mxDateTime.c:236: error: previous declaration of
âmxDateTimeDelta_FromDaysExâ was here
mx/DateTime/mxDateTime/mxDateTime.c:3593: error: static declaration of
âmxDateTimeDelta_FromSecondsâ follows non-static declaration
mx/DateTime/mxDateTime/mxDateTime.c:239: error: previous declaration of
âmxDateTimeDelta_FromSecondsâ was here
mx/DateTime/mxDateTime/mxDateTime.c:4453: error: static declaration of
âmxDateTimeDelta_Typeâ follows non-static declaration
mx/DateTime/mxDateTime/mxDateTime.c:231: error: previous declaration of
âmxDateTimeDelta_Typeâ was here
mx/DateTime/mxDateTime/mxDateTime.c:4482: error: static declaration of
âmxDateTimeDelta_Methodsâ follows non-static declaration
mx/DateTime/mxDateTime/mxDateTime.c:232: error: previous declaration of
âmxDateTimeDelta_Methodsâ was here
error: command 'gcc' failed with exit status 1
Steve Coleman-Williams
E-mail: steve at onebrightspace.com
Phone (work): (01970) 613438
Please do not print this e-mail unless absolutely necessary - SAVE ENERGY
and PAPER
---
non facias malum ut inde fiat bonum
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /mailman-archives/egenix-users/attachments/20090810/34357b4e/attachment.htm
More information about the egenix-users
mailing list