Skip to content

Commit

Permalink
using static rubabel builds
Browse files Browse the repository at this point in the history
  • Loading branch information
jtprince committed Jul 18, 2013
1 parent cd3082d commit 48bcab5
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 12 deletions.
13 changes: 3 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,23 +201,16 @@ First, many thanks to Andreas Maunz for packaging openbabel as a gem which makes

### Quick Install

On a POSIX system, make sure you have openbabel (including header files), cmake, curl, tar, sed and make {see openbabel instructions}[https://github.com/amaunz/openbabel-gem]. On ubuntu/debian:
On a POSIX system, make sure you have openbabel (including header files), cmake, curl, tar, sed and make {see openbabel instructions}[https://github.com/amaunz/openbabel-gem]. On a recent ubuntu/debian system, this should work

```bash
sudo apt-get install openbabel libopenbabel-dev cmake make curl
```

I also found that installing these additional libs were necessary on some
machines (this is probably overkill, but I haven't whittled this down yet):

```bash
sudo apt-get install build-essential libwxgtk2.8-dev libwxbase2.8-dev libxml2-dev libxslt-dev libeigen2-dev libeigen3-dev libcairo-dev
sudo apt-get install ruby ruby-dev openbabel libopenbabel-dev cmake make curl build-essential libcairo-dev
```

Then install the gem (which should install the openbabel gem, too):

```bash
gem install rubabel
sudo gem install rubabel
```

### Building from Source
Expand Down
2 changes: 1 addition & 1 deletion lib/rubabel/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Rubabel
VERSION = "0.4.2"
VERSION = "0.4.3"
end
4 changes: 4 additions & 0 deletions reference/installation_packages.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
These packages were helpful (necessary??) to squelched warnings when installing from aa cleanly installed system. libcairo-dev was what eventually worked, but these did squelch warnings!

sudo apt-get install libwxgtk2.8-dev libwxbase2.8-dev libxml2-dev libxslt-dev libeigen2-dev libeigen3-dev

2 changes: 1 addition & 1 deletion rubabel.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ interface attempts to be a ruby-ish analogue of pybel.}
spec.require_paths = ["lib"]

[
["openbabel", "~> 2.3.1.2"],
["openbabel", "= 2.3.1.9"],
["andand", "~> 1.3.3"],
["mini_magick", "~> 3.6.0"]
].each do |args|
Expand Down

0 comments on commit 48bcab5

Please sign in to comment.