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

Todd Miller jmiller at stsci.edu
Tue Dec 2 14:21:01 EST 2003


On Tue, 2003-12-02 at 16:56, Sebastian Haase wrote:
> > CVS builds fine for me with gcc-3.2.2.  I don't have gcc-2.95 anymore.
> > I built numarray yesterday with Sun cc so I don't think it's a compiler
> > issue.
> >
> > Looking at the code in question,  it is fairly new (last 3-4 weeks) so
> > if it didn't get updated,  or got updated with conflicts, it could cause
> > problems... but not for me.  I suggest wiping your current CVS and doing
> > a complete checkout.
> 
> I changed in Src/_ufuncmodule.c around line 40 and line 43 (removed the
> semicolons):
> 
> #if _PYTHON_CALLBACKS
> #define ConverterRebuffer(conv,arr,inb) \
>               PyObject_CallMethod(conv, "rebuffer", "(OO)", arr, inb)
> #else
> #define ConverterRebuffer(conv,arr,inb) \
>  ((PyConverterObject *)conv)->rebuffer(conv, arr, inb)
> #endif
> 
> I do not understand why this caused trouble - but in my opinion there don't
> need to be any semiconlons, because you use it like a function call.

I agree.  They're gone now in CVS.  I haven't recompiled widely though.

> 
> Is there some documentation on the nd_image package ?

In CVS, yes. 

> 
> Thanks
> - Sebastian

Regards,
Todd

-- 
Todd Miller <jmiller at stsci.edu>





More information about the NumPy-Discussion mailing list