[Numpy-discussion] howto build numarray 0.4 ? file 'Src/_convmodule.c' does not exist

David M. Cooke cookedm at arbutus.physics.mcmaster.ca
Tue Dec 3 14:43:05 CST 2002


On Tue, Dec 03, 2002 at 02:34:06PM -0800, Sebastian Haase wrote:
> Hi all,
> I downloaded numarray 0.4 about 5 minutes after I got the announce but 
> my naive 'python2.2 ./setup.py build'   gives this
> 
> haase at baboon:~/numarray-0.4: python2.2 ./setup.py build
> running build
> running build_py
> not copying Lib/ndarray.py (output up-to-date)
[...]
> not copying Lib/memmap.py (output up-to-date)
> running build_ext
> building '_conv' extension
> error: file 'Src/_convmodule.c' does not exist
> 
> What am I missing? I'm running Linux (debian woody) on i386.

Looks like you have to run 'python2.2 ./setup.py install' instead. Looking at
setup.py, something special is done when the target is 'install'.

[I think this is a bad idea, as I like to build stuff as my user, and
install as root. This requires me to build it as root.]

-- 
|>|\/|<
/--------------------------------------------------------------------------\
|David M. Cooke                 http://arbutus.physics.mcmaster.ca/cookedm/
|cookedm at physics.mcmaster.ca




More information about the Numpy-discussion mailing list