Python setup script problem

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

    #1

    Python setup script problem

    Hello, I have been trying to install an application which requires Python:


    My environment is AIX 5.2. Below is the section of the setup that has
    failed, which BTW works fine on Fedora 5.
    I suspect it has to do with Python on AIX and/or the setup.py script.
    Has anyone experienced this before?

    MAT-2.04182006pytho n setup.py install
    Found make and swig.
    make -C AffyFileParser clean
    make[1]: Entering directory
    `/flash/home/jling/dl/MAT-2.04182006/src/AffyFileParser'
    rm -f extension/*
    make[1]: Leaving directory
    `/flash/home/jling/dl/MAT-2.04182006/src/AffyFileParser'
    make -C gaussian clean
    make[1]: Entering directory
    `/flash/home/jling/dl/MAT-2.04182006/src/gaussian'
    rm -f extension/*
    make[1]: Leaving directory
    `/flash/home/jling/dl/MAT-2.04182006/src/gaussian'
    make -C AffyFileParser all
    make[1]: Entering directory
    `/flash/home/jling/dl/MAT-2.04182006/src/AffyFileParser'
    swig -c++ -python -Iaffymetrix -Iswig -o
    extension/AffyFileParser_ wrap.cpp swig/AffyFileParser. i
    affymetrix/TagValuePair.h: 45: Warning(362): operator= ignored
    affymetrix/CHPFileData.h:7 2: Warning(362): operator= ignored
    affymetrix/CHPFileData.h:4 06: Warning(362): operator= ignored
    affymetrix/CHPFileData.h:4 66: Warning(362): operator= ignored
    affymetrix/CHPFileData.h:4 99: Warning(362): operator= ignored
    cp python/* extension
    make[1]: Leaving directory
    `/flash/home/jling/dl/MAT-2.04182006/src/AffyFileParser'
    make -C gaussian all
    make[1]: Entering directory
    `/flash/home/jling/dl/MAT-2.04182006/src/gaussian'
    swig -c++ -python -Igsl -Iswig -o extension/gaussian_wrap.c pp
    swig/gaussian.i
    cp python/* extension
    make[1]: Leaving directory
    `/flash/home/jling/dl/MAT-2.04182006/src/gaussian'
    running install
    running build
    running build_py
    copying src/MAT/AffyFileParser. py -build/lib.aix-5.2-2.4/MAT
    copying src/MAT/gaussian.py -build/lib.aix-5.2-2.4/MAT
    running build_ext
    building '_gaussian' extension
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall
    -Wstrict-prototypes -Isrc/gaussian/gsl -I/usr/local/include/python2.4 -c
    src/gaussian/extension/gaussian_wrap.c pp -o
    build/temp.aix-5.2-2.4/src/gaussian/extension/gaussian_wrap.o
    In file included from /usr/local/include/python2.4/Python.h:8,
    from src/gaussian/extension/gaussian_wrap.c pp:129:
    /usr/local/include/python2.4/pyconfig.h:844: 1: warning: "_XOPEN_SOU RCE"
    redefined
    <command line>:4:1: warning: this is the location of the previous definition
    c++ gcc -pthread -bI:/usr/local/lib/python2.4/config/python.exp
    build/temp.aix-5.2-2.4/src/gaussian/gsl/gauss.o
    build/temp.aix-5.2-2.4/src/gaussian/gsl/gaussinv.o
    build/temp.aix-5.2-2.4/src/gaussian/extension/gaussian_wrap.o -o
    build/lib.aix-5.2-2.4/MAT/_gaussian.so
    c++: `-b' must come at the start of the command line
    error: command 'c++' failed with exit status 1


    Much Appreciated,

    --
    John Ling
    Software developer, UBC Bioinformatics Centre & UBC Proteomics Centre
Working...