[PyCUDA] Compilation issues from bpl-subset on Ubuntu 10.10

Andreas Kloeckner lists at informa.tiker.net
Sun Oct 9 11:06:39 PDT 2011


On Sat, 8 Oct 2011 18:12:49 +0100, Irwin Zaid <irwin.zaid at physics.ox.ac.uk> wrote:
> Hi all,
> 
> I've been trying to build the latest PyCUDA source from git and I seem 
> to have run into issues with compiling it. I have succesfully hacked my 
> way to a solution, but I'm not sure what the proper resolution is. I 
> have encountered the errors on two systems, both Ubuntu 10.10, that have 
> successfully had many of the previous PyCUDA versions working.
> 
> The problem is that, somehow, /usr/bin/locale (perhaps via including 
> /usr/bin) appears to be thrown into the compilation. This leads to a 
> billion errors of the form:
> 
> /usr/bin/locale:{LINE NUMBER}: error: stray '{RANDOM CHARACTER}' in program
> 
> This happens with just the default configuration from the git source. 
> However, if one comments out "#include <locale>" in both 
> bpl-subset/bpl_subset/boost/lexical_cast.hpp and 
> bpl-subset/bpl_subset/boost/format.hpp, then everything compiles and all 
> of the tests pass. Trying without the shipped boost does not resolve the 
> issue.

Can you please send the compiler command and your siteconf.py /
.aksetup-defaults.py that lead to this?

Thanks,
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.tiker.net/pipermail/pycuda/attachments/20111009/c495c419/attachment.pgp>


More information about the PyCUDA mailing list