Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > mx Base module

Reply
Thread Tools

mx Base module

 
 
Manu
Guest
Posts: n/a
 
      02-25-2008
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
 
Reply With Quote
 
 
 
 
M.-A. Lemburg
Guest
Posts: n/a
 
      02-25-2008
On 2008-02-25 17:27, Manu wrote:
> 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/pytho.../#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 200
>>> Python/Zope Consulting and Support ... http://www.egenix.com/
>>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ... http://python.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
 
Reply With Quote
 
 
 
 
Manu
Guest
Posts: n/a
 
      02-25-2008
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.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/pytho.../#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 200>>> Python/Zope Consulting and Support ... http://www.egenix.com/
> >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/
> >>> mxODBC, mxDateTime, mxTextTools ... http://python.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


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
sizeof(EmptyStruct) in C and C++ (was: Base {}; sizeof(Base) == 1?) Alex Vinokur C Programming 7 08-14-2006 04:57 PM
Re: module docstring, documentation,anything? please note is the module type/object NOT some module Maric Michaud Python 0 06-24-2006 12:42 PM
Format of compiler generated derived destructor when base has 'virtual ~base() throw():" qazmlp C++ 1 04-10-2005 03:09 PM
Virtual function 'BasicMidReader::~BasicMidReader()' conflicts with base class 'base 'TMemoryStream' tomek C++ 2 12-01-2003 06:31 AM
Virtual function 'BasicMidReader::~BasicMidReader()' conflicts with base class 'base 'TMemoryStream' tomek C++ 3 11-30-2003 12:18 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57