[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.python

mx Base module

Manu

2/25/2008 4:27:00 PM

Hi there,

I am trying to install mx Base module( http://www.egenix.com/products/pyth...
) 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
2 Answers

M.-A. Lemburg

2/25/2008 5:09:00 PM

0

On 2008-02-25 17:27, Manu wrote:
> Hi there,
>
> I am trying to install mx Base module( http://www.e...products/pyth...
> ) 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.e...products/pyth...#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.e...
>>> mxODBC.Zope.Database.Adapter ... http://zope.e...
>>> mxODBC, mxDateTime, mxTextTools ... http://python.e...
________________________________________________________________________

:::: 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

Manu

2/25/2008 5:27:00 PM

0

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

Thanks Once again

M


On Feb 25, 5:08 pm, "M.-A. Lemburg" <m...@egenix.com> wrote:
> On 2008-02-25 17:27, Manu wrote:
>
> > Hi there,
>
> > I am trying to install mx Base module(http://www.e...products/pyth...
> > ) 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.e...products/pyth...#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.e...
> >>> mxODBC.Zope.Database.Adapter ... http://zope.e...
> >>> mxODBC, mxDateTime, mxTextTools ... http://python.e...
>
> ________________________________________________________________________
>
> :::: 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