mx Base module

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Manu

    mx Base module

    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.mx DateTime.mxDate Time" (required)
    building 'mx.DateTime.mx DateTime.mxDate Time' extension
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-
    prototypes -fPIC -DUSE_FAST_GETCU RRENTTIME -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.-A. Lemburg

    #2
    Re: mx Base module

    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.

    The eGenix.com mx Base Distribution contains the open source parts of the eGenix.com mx Extension series, with such popular packages such as mxDateTime and mxTextTools, as well as many other useful productivity increasing tools.

    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.mx DateTime.mxDate Time" (required)
    building 'mx.DateTime.mx DateTime.mxDate Time' extension
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-
    prototypes -fPIC -DUSE_FAST_GETCU RRENTTIME -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/
    >>mxODBC.Zope.D atabase.Adapter ... http://zope.egenix.com/
    >>mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/
    _______________ _______________ _______________ _______________ ____________

    :::: Try mxODBC.Zope.DA for Windows,Linux,S olaris,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

    Comment

    • Manu

      #3
      Re: mx Base module

      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.co mwrote:
      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.
      >
      The eGenix.com mx Base Distribution contains the open source parts of the eGenix.com mx Extension series, with such popular packages such as mxDateTime and mxTextTools, as well as many other useful productivity increasing tools.

      >
      >
      >
      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.mx DateTime.mxDate Time" (required)
      building 'mx.DateTime.mx DateTime.mxDate Time' extension
      gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-
      prototypes -fPIC -DUSE_FAST_GETCU RRENTTIME -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/
      >mxODBC.Zope.Da tabase.Adapter ... http://zope.egenix.com/
      >mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/
      >
      _______________ _______________ _______________ _______________ ____________
      >
      :::: Try mxODBC.Zope.DA for Windows,Linux,S olaris,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

      Comment

      Working...