8000 Build scipy on IBM AIX with --fcompiler=gnu95 (Trac #1412) · Issue #2010 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

Build scipy on IBM AIX with --fcompiler=gnu95 (Trac #1412) #2010

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you a 8000 gree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
thouis opened this issue Oct 19, 2012 · 1 comment
Closed

Build scipy on IBM AIX with --fcompiler=gnu95 (Trac #1412) #2010

thouis opened this issue Oct 19, 2012 · 1 comment

Comments

@thouis
Copy link
Contributor
thouis commented Oct 19, 2012

Original ticket http://projects.scipy.org/numpy/ticket/1412 on 2010-02-25 by trac user A_LARAS, assigned to @cournape.

Hi There[[BR]]

I'm trying to build scipy from the trunk (latest release):[[BR]]
python setup.py config_fc --fcompiler=gnu95 install --prefix=/usr/local/python[[BR]]
but stuck with the following error :[[BR]]
C compiler: c++_r -qlanglvl=extc89 -DNDEBUG -O[[BR]]

compile options: '-Iscipy/interpolate/src -I/usr/local/python/lib/python2.4/site-packages/numpy/core/include -I/usr/local/python/include/python2.4 -c'[[BR]]
c++_r: scipy/interpolate/src/_interpolate.cpp[[BR]]
sh: c++_r: not found.[[BR]]
sh: c++_r: not found.[[BR]]
error: Command "c++_r -qlanglvl=extc89 -DNDEBUG -O -Iscipy/interpolate/src -I/usr/local/python/lib/python2.4/site-packages/numpy/core/include -I/usr/local/python/include/python2.4 -c scipy/interpolate/src/_interpolate.cpp -o build/temp.aix-5.3-2.4/scipy/interpolate/src/_interpolate.o" failed with exit status 127[[BR]]

whith export CXX="c++", I hit another error (syntax error)[[BR]]
c++ c++ -qlanglvl=extc89 -bI:/usr/local/Python.2.4/lib/python2.4/config/python.exp build/temp.aix-5.3-2.4/scipy/interpolate/src/_interpolate.o -Lbuild/temp.aix-5.3-2.4 -o build/lib.aix-5.3-2.4/scipy/interpolate/_interpolate.so[[BR]]
c++: c++: No such file or directory[[BR]]
c++: unrecognized option '-qlanglvl=extc89'[[BR]]
c++: unrecognized option '-bI:/usr/local/Python.2.4/lib/python2.4/config/python.exp'[[BR]]
error: Command "c++ c++ -qlanglvl=extc89 -bI:/usr/local/Python.2.4/lib/python2.4/config/python.exp build/temp.aix-5.3-2.4/scipy/interpolate/src/_interpolate.o -Lbuild/temp.aix-5.3-2.4 -o build/lib.aix-5.3-2.4/scipy/interpolate/_interpolate.so" failed with exit status 1[[BR]]

the second "c++" is passed as an options to CXX compiler, and I don't know how to get rid of this.[[BR]]

OS: AIX 5.3 64 bits[[BR]]
CC: gcc (GCC) 4.2.4[[BR]]
CXX: c++ (GCC) 4.2.4[[BR]]
Python: Python 2.4 (#2, Dec 20 2004, 10:36:59) [C] on aix4[[BR]]
Numpy: 1.4[[BR]]

@thouis thouis closed this as completed Oct 19, 2012
@numpy-gitbot
Copy link

@rgommers wrote on 2011-03-25

In #2017 someone showed you a solution, so closing this as duplicate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants
0