[Numpy-discussion] CVS - built can't find package directory

Todd Miller jmiller at stsci.edu
Tue Dec 2 12:18:06 CST 2003

On Tue, 2003-12-02 at 14:48, Sebastian Haase wrote:
> Hi,
> I'm trying to test some features of the latest CVS version.
> I get:
> $ python2.2 setup.py build --gencode
> <snip>
> error: package directory 'Packages/nd_image/Lib' does not exist

This looks like a CVS update gone bad:  a directory added since
numarray-0.7 that didn't get populated by your checkout.  I suggest

cvs update -d -P  

*or* just wipe out your old CVS and do a fresh checkout.

>    -- after taking out the line of addons I get:
> error: package directory 'Packages/MA/Lib' does not exist

Ditto here.  One update in numarray should do it.

> Then I get a compiler error:
> gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -IInclude/numarray 
> -I/usr/include/python2.2 -c Src/_ufuncmodule.c -o 
> build/temp.linux-i686-2.2/_ufuncmodule.o
> Src/_ufuncmodule.c: In function `_slow_exec1':
> Src/_ufuncmodule.c:1555: parse error before `*'
> Src/_ufuncmodule.c:1556: `ro' undeclared (first use in this function)
> Src/_ufuncmodule.c:1556: (Each undeclared identifier is reported only once
> Src/_ufuncmodule.c:1556: for each function it appears in.)
> Src/_ufuncmodule.c: In function `_slow_exec2':
> Src/_ufuncmodule.c:1876: parse error before `*'
> Src/_ufuncmodule.c:1877: parse error before `*'
> Src/_ufuncmodule.c:1878: `ri1' undeclared (first use in this function)
> Src/_ufuncmodule.c:1878: `ro' undeclared (first use in this function)
> Src/_ufuncmodule.c:1908: parse error before `*'
> Src/_ufuncmodule.c:1909: parse error before `*'
> error: command 'gcc' failed with exit status 1

I'm not sure what happened here.  CVS is currently viable though.  Try

> What are these packages ? 

MA is a port of Paul Dubois masked array package.  nd_image is Peter
Verveer's new multi-dimensional image processing package.




Todd Miller <jmiller at stsci.edu>

More information about the Numpy-discussion mailing list