473,883 Members | 1,428 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Python setup script problem

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.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
Jul 10 '06 #1
0 1388

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
3858
by: Logan | last post by:
Several people asked me for the following HOWTO, so I decided to post it here (though it is still very 'alpha' and might contain many (?) mistakes; didn't test what I wrote, but wrote it - more or less - during my own installation of Python 2.3 on Fedora Core 1 Linux for a friend of mine). Anyway, HTH, L.
5
2703
by: Fuzzyman | last post by:
Python 2.4 is built with Microsoft Visiual C++ 7. This means that it uses msvcr7.dll, which *isn't* a standard part of the windows operating system. This means that if you build a windows installer using distutils - it *requires* msvcr7.dll in order to run. This is true even if your package is a pure python package. This means that when someone tries to use a windows installer created with Python 2.4, on a machine with only python 2.3 - it...
2
2086
by: Cathy Hui | last post by:
I am trying to install MySQL-Python 0.9.1 on my Solaris 8 system. The system has Python 2.3.3 and Mysql 4.0.21 installed. This is where I downloaded the distribution of the Mysql-python package: http://www.ravenbrook.com/project/p4dti/import/2001-10-16/MySQL-python-0.9.1/MySQL-python-0.9.1.tar.gz I have been doing whatever instructed from the README file.
15
3237
by: kyosohma | last post by:
Hi, I am trying to get a small group of volunteers together to create Windows binaries for any Python extension developer that needs them, much like the package/extension builders who volunteer their time to create Linux RPMs. The main thing I need are people willing to test the binaries to make sure the extension is stable. This would require installing the binary and probably downloading the source too to get the developer's test
2
2782
by: Jorgen Bodde | last post by:
Hi all, This is slightly OT but it drives me nuts. Whenever I create a shortcut in the start menu (in Windows) of a python script, it will only execute it when the path where the script resides in contains no spaces. For example; d:\src\app\app.py If I drag that to the Start Menu it can be executed fine.
0
9789
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11129
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10734
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
7967
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5794
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5988
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4607
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4213
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3230
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.