On 1/30/12 1:41 PM, Alexander Hansen wrote:
> On 1/30/12 1:07 PM, Kyle Morris wrote:
>> Hi,
>
>> I get an error when trying to install pymol-py26 through fink on
>> OS X 10.5.8. It seems to fail on scipy-py26, can anyone help? I
>> have updated everything but still get the same error, I think
>> I've included the relevant details below. I hope everything is
>> there.
>
>> Many thanks for your help.
>
>> Best wishes, Kyle
>
>> Package manager version: 0.32.1 Distribution version:
>> selfupdate-rsync Mon Jan 30 17:41:11 2012, 10.5, i386 Trees:
>> local/main stable/main stable/crypto Xcode: 3.1.4 Max. Fink
>> build jobs: 1
>
>> error: Command "gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3
>> -Wall -Wstrict-prototypes -I/sw/include -I/sw/include/python2.6
>> -I/sw/lib/ python2.6/site-packages/numpy/core/include
>> -I/sw/lib/python2.6/site- packages/numpy/core/include -c
>> scipy/spatial/qhull/src/geom2.c -o
>> build/temp.macosx-10.5-i386-2.6/scipy/spatial/qhull/src/geom2.o"
>> failed with exit status 1 ### execution of /tmp/fink.VeBKc
>> failed, exit code 1 Removing runtime build-lock... Removing
>> build-lock package... /sw/bin/dpkg-lockwait -r
>> fink-buildlock-scipy-py26-0.9.0-3 (Reading database ... 84810
>> files and directories currently installed.) Removing
>> fink-buildlock-scipy-py26-0.9.0-3 ... Failed: phase compiling:
>> scipy-py26-0.9.0-3 failed
>
>
>
> Is there anything in the way of an error message before what you
> quoted? "failed with exit status 1" is a bit cryptic. :-)
>
The answer would be 'yes':
building 'qhull' library
compiling C sources
C compiler: gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-prototypes -I/sw/include
creating build/temp.macosx-10.5-i386-2.6/scipy/spatial
creating build/temp.macosx-10.5-i386-2.6/scipy/spatial/qhull
creating build/temp.macosx-10.5-i386-2.6/scipy/spatial/qhull/src
compile options: '-I/sw/include/python2.6
-I/sw/lib/python2.6/site-packages/numpy/core/include
-I/sw/lib/python2.6/site-packages/numpy/core/include -c'
gcc: scipy/spatial/qhull/src/geom2.c
In file included from scipy/spatial/qhull/src/qhull_a.h:31,
from scipy/spatial/qhull/src/geom2.c:17:
scipy/spatial/qhull/src/mem.h:23:32: error: numpy/ndarraytypes.h: No
such file or directory
In file included from scipy/spatial/qhull/src/qhull_a.h:31,
from scipy/spatial/qhull/src/geom2.c:17:
scipy/spatial/qhull/src/mem.h:85: error: syntax error before 'ptr_intT'
scipy/spatial/qhull/src/mem.h:85: warning: type defaults to 'int' in
declaration of 'ptr_intT'
scipy/spatial/qhull/src/mem.h:85: warning: data definition has no type
or storage class
In file included from scipy/spatial/qhull/src/qhull_a.h:31,
from scipy/spatial/qhull/src/geom2.c:17:
scipy/spatial/qhull/src/mem.h:23:32: error: numpy/ndarraytypes.h: No
such file or directory
In file included from scipy/spatial/qhull/src/qhull_a.h:31,
from scipy/spatial/qhull/src/geom2.c:17:
scipy/spatial/qhull/src/mem.h:85: error: syntax error before 'ptr_intT'
scipy/spatial/qhull/src/mem.h:85: warning: type defaults to 'int' in
declaration of 'ptr_intT'
scipy/spatial/qhull/src/mem.h:85: warning: data definition has no type
or storage class
error: Command "gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-prototypes -I/sw/include -I/sw/include/python2.6
-I/sw/lib/python2.6/site-packages/numpy/core/include
-I/sw/lib/python2.6/site-packages/numpy/core/include -c
scipy/spatial/qhull/src/geom2.c -o
build/temp.macosx-10.5-i386-2.6/scipy/spatial/qhull/src/geom2.o"
failed with exit status 1
The missing header appears (on another machine) to be provided by
numpy-py26. The above was an attempt with numpy-py26-1.4.1-1. After
updating to numpy-py26-1.6.1-2 the build succeeded for me.
It looks like a versioned dependency on numpy is required.
--
Alexander Hansen
Fink User Liaison
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users