[SciPy-user] problem building svn scipy
John Hunter
jdh2358 at gmail.com
Fri Apr 25 10:28:20 EDT 2008
With numpy r5083 and scipy r4176 I am getting the following build error
building 'scipy.cluster._hierarchy_wrap' extension
compiling C sources
C compiler: /opt/app/g++lib6/gcc-3.4/bin/gcc -fno-strict-aliasing
-DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC
compile options:
'-I/home/titan/johnh/dev/lib/python2.4/site-packages/numpy/core/include
-I/home/titan/johnh/dev/lib/python2.4/site-packages/numpy/core/include
-I/opt/app/g++lib6/python-2.4/include/python2.4 -c'
gcc: scipy/cluster/src/hierarchy_wrap.c
scipy/cluster/src/hierarchy_wrap.c: In function `calculate_cluster_sizes_wrap':
scipy/cluster/src/hierarchy_wrap.c:117: error: parse error before
numeric constant
scipy/cluster/src/hierarchy_wrap.c:120: error: invalid lvalue in unary `&'
scipy/cluster/src/hierarchy_wrap.c:124: error: invalid type argument of `->'
scipy/cluster/src/hierarchy_wrap.c: In function
`cluster_maxclust_monocrit_wrap':
scipy/cluster/src/hierarchy_wrap.c:251: warning: unused variable `cutoff'
scipy/cluster/src/hierarchy_wrap.c: In function `pdist_euclidean_wrap':
scipy/cluster/src/hierarchy_wrap.c:387: error: parse error before
numeric constant
johnh at flag:numpy> uname -a
SunOS flag 5.10 Generic_118855-15 i86pc i386 i86pc
johnh at flag:numpy> gcc --version
gcc (GCC) 3.4.1
Any ideas?
Thanks,
JDH
More information about the SciPy-User
mailing list