[Numpy-discussion] NumPy 1.0.3 release next week

Johannes Loehnert a.u.r.e.l.i.a.n at gmx.net
Mon May 14 04:30:01 EDT 2007


Hi,

in error logs as yours, always look for the first line which says "error". If 
it is, like in your case, something like

On Sunday, 13. May 2007 19:21:15 dmitrey wrote:
> /usr/lib/gcc/x86_64-linux-gnu/4.1.2/include/limits.h:122:61: error:
> limits.h: No such file or directory

you are missing some dependencies for the build. Although I am a bit puzzled 
that the standard C libraries seem to be missing. Try the following:

sudo apt-get build-essential

This gets all the standard packages for compiling software (compiler, 
automake, autoconf, etc.)

Then you need the dependencies for numpy. Afaik this is just the python-dev 
package. The most convenient way is

apt-get build-dep numpy

If you compile software which has no corresponding Ubuntu package, you have to 
find out about the deps yourself. Usually the README and/or INSTALL file 
contain this information. You always need the package with -dev at the end.

Having installed all this, setup should run fine.

HTH,
Johannes <-- who uses SVN numpy&scipy under Kubuntu 7.04



More information about the NumPy-Discussion mailing list