If the build and install worked, you should find it at
/usr/local/bin/OBGUI, or something similar.

- Noel

On 30 June 2011 12:40, Steven Wathen <swat...@sienaheights.edu> wrote:
> Thanks for tip on setting the LD_LIBRARY_PATH, that helped a lot, but I still 
> don't see the GUI anywhere.
>
> Just be to sure I hadn't missed anything, I repeated the build and install 
> procedure.  I got a message saying that it found WXwidgets and that the GUI 
> would be built, but I can't find the GUI - How am I supposed to access it if 
> it has been built?
>
> These are the Wxwidget packages I have installed through the Ubuntu package 
> manager:
>
> wx2.8-headers
> libwxgtk2.8-0
> wx-common
> libwxgtk2.8-dev
> libwxbase2.8-0
> libwxbase2.8-dev
> ________________________________________
> From: Noel O'Boyle [baoille...@gmail.com]
> Sent: Sunday, June 26, 2011 9:35 AM
> To: Steven Wathen
> Cc: openbabel-discuss@lists.sourceforge.net
> Subject: Re: [Open Babel] building Open Babel on Ubuntu
>
> On 25 June 2011 22:03, Steven Wathen <swat...@sienaheights.edu> wrote:
>> Hello,
>>
>> I just tried compiling OpenBabel 2.3.0 on Ubuntu 10.04 Lucid and I have a 
>> couple of questions.
>>
>> I had been using openbabel 2.2.2 which I had installed through the Ubuntu 
>> repositories - I uninstalled the old version before building Openbabel 2.3 
>> following directions on:
>>
>> http://openbabel.org/docs/2.3.0/Installation/install.html
>>
>> I used the following cmake command
>>
>> cmake ../openbabel-2.3.0 -DBUILD_GUI=ON -DPYTHON_BINDINGS=ON 
>> -DPERL_BINDINGS=ON
>>
>> and I added  " /usr/local/lib/python2.6/dist-packages"   to the PYTHONPATH
>>
>> I can successfully run obabel from the command line, but I mostly use open 
>> babel from Python using pybel.  I get error when try to import pybel in 
>> python:
>>
>>>>> from pybel import *
>> Traceback (most recent call last):
>>  File "<stdin>", line 1, in <module>
>>  File "/usr/local/lib/python2.6/dist-packages/pybel.py", line 16, in <module>
>>    import openbabel as ob
>>  File "/usr/local/lib/python2.6/dist-packages/openbabel.py", line 63, in 
>> <module>
>>    _openbabel = swig_import_helper()
>>  File "/usr/local/lib/python2.6/dist-packages/openbabel.py", line 59, in 
>> swig_import_helper
>>    _mod = imp.load_module('_openbabel', fp, pathname, description)
>> ImportError: libopenbabel.so.4: cannot open shared object file: No such file 
>> or directory
>
> On Linux, to find an ".so", the folder containing it needs to be added
> to LD_LIBRARY_PATH, so "export LD_LIBRARY_PATH=/usr/local/lib" or so.
>
>> Can you tell me why I  am unable to import the pybel bindings in python?  
>> How can I fix this?
>>
>> Also - I meant to build the OpenBabelGUI, but I can't find it.  How do you 
>> access the OpenBabel GUI on Linux?
>
> wxWidgets is required to build the GUI. When you run CMake, you will
> see a message saying it couldn't find it. See the docs
> (http://openbabel.org/docs/2.3.0/Installation/install.html#compiling-open-babel)
> for more info.
>
>> Thanks,
>>
>> Steve
>>
>> -------------
>> Dr. Steven P. Wathen
>> Associate Professor of Chemistry
>> Siena Heights University
>> 1247 East Siena Heights Drive
>> Adrian, MI 49221
>>
>> (517) 264-7657
>> swat...@sienaheights.edu
>> ------------------------------------------------------------------------------
>> All the data continuously generated in your IT infrastructure contains a
>> definitive record of customers, application performance, security
>> threats, fraudulent activity and more. Splunk takes this data and makes
>> sense of it. Business sense. IT sense. Common sense..
>> http://p.sf.net/sfu/splunk-d2d-c1
>> _______________________________________________
>> OpenBabel-discuss mailing list
>> OpenBabel-discuss@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/openbabel-discuss
>>
>

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
OpenBabel-discuss mailing list
OpenBabel-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss

Reply via email to