Yes, I've done this numerous times without success.  It looks like a configuration  problem.

 -- Paul

On 3/31/06, Sasha < ndarray@mac.com> wrote:
Try to remove the "build" directory.

On 3/31/06, Paul Barrett < pebarrett@gmail.com> wrote:
> I'm having trouble build Numpy on HP-UX.
>
> I get the following error message when using the native 'cc' compiler:
>
> cc: numpy/core/src/multiarraymodule.c
> cc: "numpy/core/include/numpy/arrayobject.h", line 139: error 1713: Illegal rede
> claration for identifier "ushort".
> cc: "numpy/core/include/numpy/arrayobject.h", line 140: error 1713: Illegal rede
> claration for identifier "uint".
> cc: "numpy/core/src/arrayobject.c", line 2420: warning 562: Redeclaration of "Py
> Array_SetNumericOps" with a different storage class specifier: "PyArray_SetNumer
> icOps" will have internal linkage.
> cc: "numpy/core/include/numpy/arrayobject.h", line 139: error 1713: Illegal rede
> claration for identifier "ushort".
> cc: "numpy/core/include/numpy/arrayobject.h", line 140: error 1713: Illegal rede
> claration for identifier "uint".
> cc: "numpy/core/src/arrayobject.c", line 2420: warning 562: Redeclaration of "Py
> Array_SetNumericOps" with a different storage class specifier: "PyArray_SetNumer
> icOps" will have internal linkage.
> error: Command "cc -Ae -DNDEBUG -O +z -Ibuild/src/numpy/core/src -Inumpy/core/in
> clude -Ibuild/src/numpy/core -Inumpy/core/src -Inumpy/core/include -I/usr/local/
> include/python2.4 -c numpy/core/src/multiarraymodule.c -o build/temp.hp-ux-B.11.
> 11-9000/785-2.4/numpy/core/src/multiarraymodule.o" failed with exit status 1
>
> And this error message when trying to use 'gcc' instead:
>
> error: don't know how to compile C/C++ code on platform 'posix' with 'gcc' comp
> iler
>
> Has this been fixed in the current SVN or should can someone suggest a fix?
>
>  -- Paul
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends applications into web and mobile media. Attend the live webcast
> and join the prime developer group breaking into this new coding territory!
> http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&dat1642
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/numpy-discussion
>