67 lines
2.3 KiB
Plaintext
67 lines
2.3 KiB
Plaintext
From: jam at newimage.com (jam)
|
|
Date: Sun, 25 Apr 1999 15:50:40 -0400
|
|
Subject: HELP! NumPy (Graphics) and Linux
|
|
In-Reply-To: <7fvpsh$l8e$1@nnrp1.dejanews.com>; from kelvin_chu@my-dejanews.com on Sun, Apr 25, 1999 at 07:19:47PM +0000
|
|
References: <7fvpsh$l8e$1@nnrp1.dejanews.com>
|
|
Message-ID: <19990425155040.A16440@toast.internal>
|
|
Content-Length: 1897
|
|
X-UID: 359
|
|
|
|
On Sun, Apr 25, 1999 at 07:19:47PM +0000, kelvin_chu at my-dejanews.com wrote:
|
|
>
|
|
> Hi all;
|
|
>
|
|
> I've had great success with EZplot and now want to move my code to Linux-
|
|
> based platforms in my lab. I am having significant difficulties building
|
|
> the Graphics portion of NumPy.
|
|
>
|
|
> 0. I am running RedHat linux 5.2
|
|
> 1. I have installed Yorick in the cannonical place.
|
|
> 2. Instead of libX11.a, I have a shared-object library, locatedin
|
|
> /usr/X11R6/lib
|
|
>
|
|
> When I do the build (python makethis.py), I receive the following error:
|
|
>
|
|
> gcc -fpic -I/usr/local/lib/yorick/1.4/h -g -O2
|
|
> -I/usr/local/include/python1.5 -I/usr/local/include/python1.5
|
|
> -DHAVE_CONFIG_H -c ./Gist/Src/gistCmodule.c
|
|
> ./Gist/Src/gistCmodule.c:75: arrayobject.h: No such file or directory
|
|
> ./Gist/Src/gistCmodule.c:88: warning: `PyFPE_END_PROTECT' redefined
|
|
> /usr/local/include/python1.5/pyfpe.h:169: warning: this is the location of
|
|
> the previous definition
|
|
> make: *** [gistCmodule.o] Error 1
|
|
>
|
|
>
|
|
> I suspect that I am going to run into multiple problems. There is a cryptic
|
|
> statement in the README that indicates that I should do import_arrays() before
|
|
> doing the build...where do I implement this? How much of this problem is
|
|
> related to the shared object X libs?
|
|
>
|
|
> Thanks, I appreciate any light you can shed on this matter!
|
|
>
|
|
> Cheers,
|
|
>
|
|
> Kelvin
|
|
>
|
|
|
|
greetings,
|
|
|
|
the error you posted doesn't appear to have anything to do with libX11.. it
|
|
points to the location of (at least) this error.. the compiler is unable to
|
|
find 'arrayobject.h', which is part of the python distribution. if you
|
|
installed from rpms, did you remember to also install the 'python-devel'
|
|
package?
|
|
|
|
hope that helps.. please let us know! ;)
|
|
|
|
Regards,
|
|
J
|
|
--
|
|
|| visit gfd <http://quark.newimage.com:8080/>
|
|
|| psa member #293 <http://www.python.org/>
|
|
|| New Image Systems & Services, Inc. <http://www.newimage.com/>
|
|
|
|
|
|
|
|
|