On Wed, Aug 12, 2009 at 3:08 PM, Andreas Klöckner
<[email protected]>wrote:

> On Mittwoch 12 August 2009, Ryan May wrote:
> > Hi,
> >
> > I was trying to install pycuda today from source (in advance of the Scipy
> > tutorial!), and have noticed a problem if I don't use eggs to install.
>  If
> > I use:
> >
> > python setup.py install --single-version-externally-managed --root=/
> >
> > I get the pycuda header file installed under usr/include/cuda.  This
> breaks
> > the logic in compiler._find_pycuda_include_path().
> >
> > I personally avoid eggs, so this creates a problem.  Also, many linux
> > package managers (including Gentoo, my own distro) avoid eggs, and I know
> > for a fact that Gentoo uses this same method to install packages.  I've
> > hacked my own compiler.py to work, but I'm not sure what a good solution
> > really would be.  Gentoo has 0.92 packaged, but I don't think the header
> > was used in that version and thus didn't present any problems.
>
> I've committed a (somewhat hacky) fix: Automatically check /usr and
> /usr/local
> on Linux. Let me know if that works for you.


Yeah, dropping those changes onto 0.93 works for me.  Thanks.

Ryan

-- 
Ryan May
Graduate Research Assistant
School of Meteorology
University of Oklahoma
_______________________________________________
PyCUDA mailing list
[email protected]
http://tiker.net/mailman/listinfo/pycuda_tiker.net

Reply via email to