Numpy on python 2.7a

A

A. Cavallo

Hi,

I'm trying to compile numpy using my own pet project based on the python svn
code (that's the reason for the 2.7a tag).

It is essentially a /opt python installation and it tailored for linux: its
main goal is to be installed in parallel so it won't collide with a system
installed python (this won't impact the sys admin work).

The rpms built so far can be found under:

http://download.opensuse.org/repositories/home:/cavallo71:/python-opt/

It includes several patches both stolen from other sources, some made by
myself (at some point I plan to do the same for debian based distributions
when I'll have some spare time) and it contains a smoke test to verify the
build is ok.

The user willing to activate the "opt-python" has to just source the
file /opt/opt-python-2.7a0/opt-python-env.sh and he/she will have a fully
working python (in this way there could be several different python version
at the same time).

So far so good, I've been able to compile the python imaging library, but it
fails to compile numpy.

The message I'm receiving is:


============
/opt/opt-python-2.7a0/include/python2.7/pyconfig.h:127:1: warning: this is the
location of the previous definition
ar: adding 1 object files to build/temp.linux-i686-2.7/libnpymath.a
ar: illegal option -- /
Usage: ar [emulation options] [-]{dmpqrstx}[abcfilNoPsSuvV] [member-name]
[count] archive-file file...
ar -M [<mri-script]
commands:
d - delete file(s) from the archive
m[ab] - move file(s) in the archive
p - print file(s) found in the archive
q[f] - quick append file(s) to the archive
r[ab][f] - replace existing or insert new file(s) into the archive
t - display contents of archive
x[o] - extract file(s) from the archive
command specific modifiers:
[a] - put file(s) after [member-name]
- put file(s) before [member-name] (same as )
[N] - use instance [count] of name
[f] - truncate inserted file names
[P] - use full path names when matching
[o] - preserve original dates
- only replace files that are newer than current archive
contents
generic modifiers:
[c] - do not warn if the library had to be created
- create an archive index (cf. ranlib)
- do not build a symbol table
[T] - make a thin archive
[v] - be verbose
[V] - display the version number
@<file> - read options from <file>
emulation options:
No emulation specific options
ar: supported targets: elf32-i386 a.out-i386-linux efi-app-ia32 efi-bsdrv-ia32
efi-rtdrv-ia32 elf32-little elf32-big elf64-alpha ecoff-litt
lealpha elf64-little elf64-big elf32-littlearm elf32-bigarm elf32-hppa-linux
elf32-hppa elf64-hppa-linux elf64-hppa elf64-x86-64 elf64-ia64
-little elf64-ia64-big efi-app-ia64 efi-bsdrv-ia64 efi-rtdrv-ia64 elf32-m68k
a.out-m68k-linux elf32-tradbigmips elf32-tradlittlemips ecoff-
bigmips ecoff-littlemips elf32-ntradbigmips elf64-tradbigmips
elf32-ntradlittlemips elf64-tradlittlemips elf32-powerpc aixcoff-rs6000 elf32
-powerpcle ppcboot elf64-powerpc elf64-powerpcle aixcoff64-rs6000 elf32-s390
elf64-s390 elf32-sh-linux elf32-shbig-linux elf32-sparc a.out-
sparc-linux elf64-sparc a.out-sunos-big efi-app-x86_64 efi-bsdrv-x86_64
efi-rtdrv-x86_64 mach-o-le mach-o-be mach-o-fat pef pef-xlib sym sr
ec symbolsrec tekhex binary ihex trad-core
ar: illegal option -- /
Usage: ar [emulation options] [-]{dmpqrstx}[abcfilNoPsSuvV] [member-name]
[count] archive-file file...


============

Is there any way I can increase the output to discover what went wrong?

Best regards,
Antonio Cavallo
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,979
Messages
2,570,185
Members
46,728
Latest member
FernMcmull

Latest Threads

Top