mx Base module

M

Manu

Hi there,

I am trying to install mx Base module( http://www.egenix.com/products/python/mxBase/
) on my Redhat server. But om executing command "python setup.py
install" I get following messages:

running install
running build
running mx_autoconf
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
_configtest.c: In function 'main':
_configtest.c:4: warning: statement with no effect
gcc -pthread _configtest.o -L/usr/local/lib -L/usr/local/lib64 -o
_configtest
success!
removing: _configtest.c _configtest.o _configtest
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-
prototypes -fPIC -D_GNU_SOURCE=1 -I/usr/local/include/python2.5 -I/usr/
local/include -c _configtest.c -o _configtest.o
success!
removing: _configtest.c _configtest.o
macros to define: [('HAVE_STRPTIME', '1')]
macros to undefine: []
running build_ext

building extension "mx.DateTime.mxDateTime.mxDateTime" (required)
building 'mx.DateTime.mxDateTime.mxDateTime' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-
prototypes -fPIC -DUSE_FAST_GETCURRENTTIME -DHAVE_STRPTIME=1 -Imx/
DateTime/mxDateTime -I/usr/local/include/python2.5 -I/usr/local/
include -c mx/DateTime/mxDateTime/mxDateTime.c -o build/temp.linux-
x86_64-2.5_ucs2/mx-DateTime-mxDateTime-mxDateTime/mx/DateTime/
mxDateTime/mxDateTime.o
gcc: mx/DateTime/mxDateTime/mxDateTime.c: No such file or directory
gcc: no input files
error: command 'gcc' failed with exit status 1

I am able to import mx but not mx.TextTools or mx.DateTime.

Please help to install this module.

Thanks in advance
M
 
M

M.-A. Lemburg

Hi there,

I am trying to install mx Base module( http://www.egenix.com/products/python/mxBase/
) on my Redhat server. But om executing command "python setup.py
install"

The file you downloaded is a prebuilt binary. For those, you
have to use:

python setup.py build --skip install

Prebuilt binaries are similar to Python eggs in that they do
not require a compiler. Unlike eggs, they give you full advantage
of the distutils install command and all its options.

http://www.egenix.com/products/python/mxBase/#Installation
I get following messages:

running install
running build
running mx_autoconf
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
_configtest.c: In function 'main':
_configtest.c:4: warning: statement with no effect
gcc -pthread _configtest.o -L/usr/local/lib -L/usr/local/lib64 -o
_configtest
success!
removing: _configtest.c _configtest.o _configtest
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-
prototypes -fPIC -D_GNU_SOURCE=1 -I/usr/local/include/python2.5 -I/usr/
local/include -c _configtest.c -o _configtest.o
success!
removing: _configtest.c _configtest.o
macros to define: [('HAVE_STRPTIME', '1')]
macros to undefine: []
running build_ext

building extension "mx.DateTime.mxDateTime.mxDateTime" (required)
building 'mx.DateTime.mxDateTime.mxDateTime' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-
prototypes -fPIC -DUSE_FAST_GETCURRENTTIME -DHAVE_STRPTIME=1 -Imx/
DateTime/mxDateTime -I/usr/local/include/python2.5 -I/usr/local/
include -c mx/DateTime/mxDateTime/mxDateTime.c -o build/temp.linux-
x86_64-2.5_ucs2/mx-DateTime-mxDateTime-mxDateTime/mx/DateTime/
mxDateTime/mxDateTime.o
gcc: mx/DateTime/mxDateTime/mxDateTime.c: No such file or directory
gcc: no input files
error: command 'gcc' failed with exit status 1

I am able to import mx but not mx.TextTools or mx.DateTime.

Please help to install this module.

Thanks in advance
M

--
Marc-Andre Lemburg
eGenix.com

Professional Python Services directly from the Source (#1, Feb 25 2008)________________________________________________________________________

:::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,MacOSX for free ! ::::


eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48
D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
Registered at Amtsgericht Duesseldorf: HRB 46611
 
M

Manu

Many thanx for your help
python setup.py build --skip install command is working

Thanks Once again

M


Hi there,
I am trying to install mx Base module(http://www.egenix.com/products/python/mxBase/
) on my Redhat server. But om executing command "python setup.py
install"

The file you downloaded is a prebuilt binary. For those, you
have to use:

python setup.py build --skip install

Prebuilt binaries are similar to Python eggs in that they do
not require a compiler. Unlike eggs, they give you full advantage
of the distutils install command and all its options.

http://www.egenix.com/products/python/mxBase/#Installation


I get following messages:
running install
running build
running mx_autoconf
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
_configtest.c: In function 'main':
_configtest.c:4: warning: statement with no effect
gcc -pthread _configtest.o -L/usr/local/lib -L/usr/local/lib64 -o
_configtest
success!
removing: _configtest.c _configtest.o _configtest
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-
prototypes -fPIC -D_GNU_SOURCE=1 -I/usr/local/include/python2.5 -I/usr/
local/include -c _configtest.c -o _configtest.o
success!
removing: _configtest.c _configtest.o
macros to define: [('HAVE_STRPTIME', '1')]
macros to undefine: []
running build_ext
building extension "mx.DateTime.mxDateTime.mxDateTime" (required)
building 'mx.DateTime.mxDateTime.mxDateTime' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-
prototypes -fPIC -DUSE_FAST_GETCURRENTTIME -DHAVE_STRPTIME=1 -Imx/
DateTime/mxDateTime -I/usr/local/include/python2.5 -I/usr/local/
include -c mx/DateTime/mxDateTime/mxDateTime.c -o build/temp.linux-
x86_64-2.5_ucs2/mx-DateTime-mxDateTime-mxDateTime/mx/DateTime/
mxDateTime/mxDateTime.o
gcc: mx/DateTime/mxDateTime/mxDateTime.c: No such file or directory
gcc: no input files
error: command 'gcc' failed with exit status 1
I am able to import mx but not mx.TextTools or mx.DateTime.
Please help to install this module.
Thanks in advance
M

--
Marc-Andre Lemburg
eGenix.com

Professional Python Services directly from the Source (#1, Feb 25 2008)>>> Python/Zope Consulting and Support ... http://www.egenix.com/
________________________________________________________________________

:::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,MacOSX for free ! ::::

eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48
D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
Registered at Amtsgericht Duesseldorf: HRB 46611
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,240
Members
46,829
Latest member
KimberAlli

Latest Threads

Top