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. 

Andreas

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
PyCUDA mailing list
[email protected]
http://tiker.net/mailman/listinfo/pycuda_tiker.net

Reply via email to