Dear Gianluca, On Fri, Jul 27, 2012 at 9:26 AM, Gianluca Sforna <gia...@gmail.com> wrote: > I'm preparing a rpm for Centos 5 (so we can keep more build questions > away from the ML :) ) and I'm quite near a good result.
Thanks for this. Any Centos-related build pain we can prevent is a very good thing. :-) > In fact, within EPEL repo I found boost 1.41 and postgres 8.4 so I > could complete a build against those instead of compiling from > sources. One comment here: I'm planning on removing support for postgres 8.4 in the one of the next releases (unless there turns out to be a good reason not to). So if there's much effort involved in building the RPM, it may not be worth it. > > However, I had three failing tests: two of them (70 and 71) pass if I > patch (see attachment) the python version check in TestRunner.py with > a try/except (I'm not sure why it excludes python 2.4, that version > actually was the first one to include the subprocess module it needs > to import). hmm, good point. I'm not sure why that says >2.4 instead of >=2.4; it seems like a typo. I'll fix it in svn. > The last failing one is 76, and this happens because PIL had no "BGRA" > raw mode back then, so this need some patching as well. Looks like this is only used in the cairo canvas. There could be some problems with the version that's comes with CentOS 5 anyway: our internal version of rdkit.Chem.Draw.cairoCanvas has a check that, I believe, is specific to older versions of cairo. I just checked that into the open-source svn; please look to see if it helps. If not, I'm sure we can figure out how to patch it. > So I tried to build against python26 (which includes a newer PIL, also > available in EPEL) but failed for a different reason (see > https://bugzilla.redhat.com/show_bug.cgi?id=843088) so, before > continuing on either paths, I'd like to know your opinion on the > topic. > > In particular, is there any strong preference to either python 2.4 or > 2.6? I usually try to stick to what the base distribution provides, > but clearly there are python26+ only modules out there or they would > need to add that package in the repos. I think it makes sense to keep it as simple as possible, so I'd go for python 2.4. -greg ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Rdkit-devel mailing list Rdkit-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rdkit-devel