Installation / openbabel version

I get this error after

cmake …/

[…]
– checking for module ‘openbabel-2.0>=2.2.2’
– package ‘openbabel-2.0>=2.2.2’ not found
CMake Error at cmake/modules/FindOpenBabel2.cmake:74 (message):
Could NOT find OpenBabel 2.2 or later
Call Stack (most recent call first):
CMakeLists.txt:130 (find_package)

but I have the correect openbabel (2.2.3) installed

[build] which babel /usr/local/bin/babel [build] babel -v
No output file or format spec!
Open Babel 2.2.3 – Oct 27 2009 – 11:17:51
Usage: babel [-i] [-o]
Try -H option for more information.

any idea what is going wrong?

Eiso

On Oct 27, 2009, at 7:37 AM, Eiso AB wrote:

– checking for module ‘openbabel-2.0>=2.2.2’
– package ‘openbabel-2.0>=2.2.2’ not found

but I have the correect openbabel (2.2.3) installed

I see no one else responded, so I’ll take this one.

Do you have pkg-config installed?

-Geoff

On Thu, Oct 29, 2009 at 6:10 PM, Geoffrey Hutchison
geoff.hutchison@gmail.com wrote:

On Oct 27, 2009, at 7:37 AM, Eiso AB wrote:

– checking for module ‘openbabel-2.0>=2.2.2’
– package ‘openbabel-2.0>=2.2.2’ not found

but I have the correect openbabel (2.2.3) installed

I see no one else responded, so I’ll take this one.

Do you have pkg-config installed?

thanks for the hint.

I needed to add /usr/local/lib/pkgconfig to PKG_CONFIG_PATH

Eiso

-Geoff