Hi ,
I am trying to follow the compiling rdkit with boost 1.49 on OSX
instructions posted by George Papadatos on Oct 10 on the mailing list .

However when I execute the final brew install rdkit step I get an error in
applying a particular patch. This may be a homebrew error rather than a
rdkit error ..but I am wondering if anyone knows of a workaround.
Thanks
Hari

The detailed error is

haris-macbook:~ hari$ brew install -v --HEAD rdkit --with-inchi
/usr/bin/env python -c import numpy
==> Checking out http://svn.code.sf.net/p/rdkit/code/trunk/
svn up --force /Library/Caches/Homebrew/rdkit--svn-HEAD
At revision 2327.
svn export --force /Library/Caches/Homebrew/rdkit--svn-HEAD
/private/tmp/rdkit-ak06
Export complete.
==> Patching
/usr/bin/patch -f -p1 -i 000-homebrew.diff
patching file CMakeLists.txt
Hunk #1 succeeded at 146 with fuzz 2 (offset -5 lines).
patching file Code/GraphMol/CMakeLists.txt
Hunk #1 FAILED at 5.
1 out of 1 hunk FAILED -- saving rejects to file
Code/GraphMol/CMakeLists.txt.rej
patching file Code/JavaWrappers/gmwrapper/CMakeLists.txt
Hunk #1 FAILED at 74.
1 out of 1 hunk FAILED -- saving rejects to file
Code/JavaWrappers/gmwrapper/CMakeLists.txt.rej
Error: Failure while executing: /usr/bin/patch -f -p1 -i 000-homebrew.diff


#############################
The Instructions I am following are
#############################


>From George Papadatos on Oct 10th
Hello again,

Success at last! I managed to build rdkit using brew and boost 1.49.
I think the cause of the problem was a strange combination of Mountain
Lion, boost 1.51 and not up-to-date rdkit svn repo in HomeBrew.

So to summarise:

brew update
brew uninstall boost
brew versions boost
cd /usr/local
git checkout e40bc41 /usr/local/Library/Formula/boost.rb #version 1.49.0
cd

brew install boost --build-from-source

brew untap edc/homebrew-rdkit
brew tap edc/homebrew-rdkit
brew uninstall rdkit
brew install --HEAD rdkit

Thanks for all the tips,

George
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Rdkit-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to