Hi,

Your problem seems to be that you don't have pkg-config installed. I would 
however recommend to install open-babel via homebrew on OSX, it has an update 
formula for openbabel 2.3.2 and it has options to be installed with python and 
java bindings as well as png support.
To install, first install homebrew (a very good package manager for OSX), found 
at http://mxcl.github.com/homebrew/
Then run "brew update" (to make sure you have the updated package)
Follow up with "brew info open-babel" to get information on the different 
options
Finally run "brew install open-babel --python" which will take care of 
installing openbabel with python bindings as well as any prerequisites. Please 
adjust as needed for other options.

If you would like to continue manually, I would say that homebrew is the 
easiest way to install pkg-config as well…

Kind regards,
Fredrik

17 jan 2013 kl. 07:07 skrev Yun Lee <[email protected]>:

> Hi,
> I'm trying to build openbabel 2.3.2 on Mac OS X (10.8.2) with python 
> bindings, but keep on getting the following
> errors:
> XXX-MacBook-Pro:build XXX$ cmake ../openbabel-2.3.2 -DPYTHON_BINDINGS=ON
> -- Using included inchi library.
> -- Found LibXml2: /usr/lib/libxml2.dylib (found version "2.7.8") 
> -- Found ZLIB: /usr/lib/libz.dylib (found version "1.2.5") 
> -- Found wxWidgets: TRUE  
> -- Looking for conio.h
> -- Looking for conio.h - not found
> -- Looking for sys/time.h
> -- Looking for sys/time.h - found
> -- Looking for time.h
> -- Looking for time.h - found
> -- Looking for strings.h
> -- Looking for strings.h - found
> -- Looking for rpc/xdr.h
> -- Looking for rpc/xdr.h - not found
> -- Looking for regex.h
> -- Looking for regex.h - found
> -- Looking for C++ include sstream
> -- Looking for C++ include sstream - found
> -- Looking for rint
> -- Looking for rint - found
> -- Looking for snprintf
> -- Looking for snprintf - found
> -- Looking for sranddev
> -- Looking for sranddev - found
> -- Looking for strcasecmp
> -- Looking for strcasecmp - found
> -- Looking for strncasecmp
> -- Looking for strncasecmp - found
> -- Looking for dlopen in dl
> -- Looking for dlopen in dl - found
> -- Looking for sys/types.h
> -- Looking for sys/types.h - found
> -- Looking for stdint.h
> -- Looking for stdint.h - found
> -- Looking for stddef.h
> -- Looking for stddef.h - found
> -- Check size of clock_t
> -- Check size of clock_t - done
> -- Performing Test SCANDIR_NEEDS_CONST
> -- Performing Test SCANDIR_NEEDS_CONST - Failed
> -- Found Eigen3: /usr/local/include/eigen3 (Required is at least version 
> "2.91.0") 
> CMake Error at /Applications/CMake 
> 2.8-10.app/Contents/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:97
>  (message):
>   Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
> Call Stack (most recent call first):
>   /Applications/CMake 
> 2.8-10.app/Contents/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:291
>  (_FPHSA_FAILURE_MESSAGE)
>   /Applications/CMake 
> 2.8-10.app/Contents/share/cmake-2.8/Modules/FindPkgConfig.cmake:102 
> (find_package_handle_standard_args)
>   cmake/modules/FindCairo.cmake:23 (find_package)
>   CMakeLists.txt:437 (find_package)
> 
> 
> -- Configuring incomplete, errors occurred!
> 
> Am I missing something or doing anything wrong? Thanks for your help!
> 
> 
> ------------------------------------------------------------------------------
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> MVPs and experts. ON SALE this month only -- learn more at:
> http://p.sf.net/sfu/learnmore_122712_______________________________________________
> OpenBabel-discuss mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/openbabel-discuss

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
_______________________________________________
OpenBabel-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss

Reply via email to