How to compile ScientificPython-2.4.9 under XP cygwin environment?

Discussion in 'Python' started by Zhuanshi He, Apr 17, 2005.

  1. Zhuanshi He

    Zhuanshi He Guest

    Dear All,

    I try to compile ScientificPython-2.4.9
    (http://starship.python.net/~hinsen/ScientificPython/) under Windows XP
    cygwin environment using python 2.3.3 ,and gcc (GCC) 3.3.3 (cygwin
    special).

    The information shows as fillows:

    ----------------------------------------------------------
    Using netCDF installation in /usr/local
    running build
    running build_py
    running build_ext
    building 'Scientific_netcdf' extension
    gcc -shared -Wl,--enable-auto-image-base
    build/temp.cygwin-1.5.10-i686-2.3/Src/Scientific_netcdf.o
    -L/usr/local/lib -L/usr/lib/python2.3/config -lnetcdf -lpython2.3 -o
    build/lib.cygwin-1.5.10-i686-2.3/Scientific/cygwin/Scientific_netcdf.dll

    build/temp.cygwin-1.5.10-i686-2.3/Src/Scientific_netcdf.o(.text+0x6eb):
    In function `initScientific_netcdf':
    /cygdrive/c/pygmt/ScientificPython-2.4.9/Src/Scientific_netcdf.c:2050:
    undefined reference to `_ncopts'
    build/temp.cygwin-1.5.10-i686-2.3/Src/Scientific_netcdf.o(.text+0x3067):
    In function `netcdf_seterror':
    /cygdrive/c/pygmt/ScientificPython-2.4.9/Src/Scientific_netcdf.c:46:
    undefined reference to `_ncerr'
    collect2: ld returned 1 exit status
    error: command 'gcc' failed with exit status 1
    ------------------------------------------------

    Does anyone meet same problem?


    --
    Zhuanshi He / Z. He
    Advanced Environmental Monitoring Research Center (ADEMRC)
    Gwangju Institute of Science and Technology (GIST)
    1 Oryong-dong, Puk-gu, Gwangju 500-712, South Korea
    Tel: +82-(0)62-970-3406
    Fax: +82-(0)62-970-3404
    Zhuanshi He, Apr 17, 2005
    #1
    1. Advertising

  2. Re: How to compile ScientificPython-2.4.9 under XP cygwinenvironment?

    Zhuanshi,

    On Sun, Apr 17, 2005 at 08:48:31AM -0700, Zhuanshi He wrote:
    > I try to compile ScientificPython-2.4.9
    > (http://starship.python.net/~hinsen/ScientificPython/) under Windows
    > XP cygwin environment using python 2.3.3 ,and gcc (GCC) 3.3.3 (cygwin
    > special).
    >
    > The information shows as fillows:
    >
    > [snip]
    >
    > Does anyone meet same problem?


    I was able to build ScientificPython-2.4.9 with the following
    configuration:

    netcdf 3.6.1-beta3
    Numeric 24.0
    Python 2.4
    gcc 3.3.1

    Jason

    --
    PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
    Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6
    Jason Tishler, Apr 19, 2005
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    0
    Views:
    412
  2. Zhuanshi He
    Replies:
    0
    Views:
    302
    Zhuanshi He
    Apr 17, 2005
  3. Harold Fellermann

    ScientificPython - LeastSquareFit diverges

    Harold Fellermann, Jul 18, 2006, in forum: Python
    Replies:
    4
    Views:
    401
    Konrad Hinsen
    Jul 19, 2006
  4. Joana
    Replies:
    4
    Views:
    908
    Joshua Kugler
    May 26, 2009
  5. ankit
    Replies:
    3
    Views:
    143
    M. Edward (Ed) Borasky
    Jan 28, 2008
Loading...

Share This Page