By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,538 Members | 1,293 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,538 IT Pros & Developers. It's quick & easy.

Python setup script problem

P: n/a
Hello, I have been trying to install an application which requires Python:
http://chip.dfci.harvard.edu/~wli/MAT/

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.04182006python 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:72: Warning(362): operator= ignored
affymetrix/CHPFileData.h:406: Warning(362): operator= ignored
affymetrix/CHPFileData.h:466: Warning(362): operator= ignored
affymetrix/CHPFileData.h:499: 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.cpp
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.cpp -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.cpp:129:
/usr/local/include/python2.4/pyconfig.h:844:1: warning: "_XOPEN_SOURCE"
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
Jul 10 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.