Hi Justin,

unfortunately, not everyone is on Gentoo... see comment about distutils and 
CXXFLAGS here:
https://sourceforge.net/p/pymol/bugs/159/#58a5

Cheers,
  Thomas

On 19 Mar 2015, at 15:39, Justin Lecher <j.lec...@fz-juelich.de> wrote:
> On 19/03/15 16:52, Tim Travers wrote:
>> 
>> Hi,
>> 
>> I also had problems compiling this last night. According to the
>> following (see "Compile and install" towards the bottom),
>> you have to callfirst:
>> export CPPFLAGS="-std=c++0x"
>> before doing the build call.
>> 
>> I used:
>> export CPPFLAGS="-std=c++11x"
>> so depends on your compiler.
>> 
>> HTH,
>> Tim
> 
> Hi,
> 
> Actually CPPFLAGS work but are the wrong ones. CPPFLAGS are the
> C-PreProcessor flags which apply to C and CXX code. Things like -I... or
> -D... should go there. The --std=c++11x flag as the name suggests is
> only for CXX code. So adding --std=c++11x to CXXFLAGS would be more
> appropriate. Works here on Gentoo systems flawlessly.
> 
> Justin

-- 
Thomas Holder
PyMOL Principal Developer
Schrödinger, Inc.


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net

Reply via email to