Re: [Rdkit-devel] Anyone building the cartrdige with GCC 4.6.2 in a 32 bit env?
Open-Source Cheminformatics and Machine Learning
Brought to you by:
glandrum
|
From: Gianluca S. <gi...@gm...> - 2012-03-13 10:42:23
|
On Tue, Mar 13, 2012 at 4:56 AM, Greg Landrum <gre...@gm...> wrote: > You've probably tracked this down already, but I guess that it's > probably the postgresql configuration. So, it turned up -fexcess-precision is actually in CFLAGS as reported by pg_config in the 32 bit enviroment, but it was not a deliberate option passed in during rpm build so I guess it is added by Postgres ./configure script. In the cartridge Makefile we inject CFLAGS into CXXFLAGS (or rather, CPLUSPLUSGFLAGS) and those are used to build adapter.cpp, leading to the compilation error (-fexcess-precision is used only by C compiler). Attached, the Makefile patch I am now using to build the rpm. Cheers G. -- Gianluca Sforna http://morefedora.blogspot.com http://identi.ca/giallu - http://twitter.com/giallu |