That's great, but it sounds like everyone on Ubuntu 12.10 is going to
have this problem. At least we know about this now. This is ultimately
caused by the build system (CMake) which has crazy Python support, and
does not worry about things like finding Python 2.7 for some bits and
Python 3.2 for ot
You're a genius! Great!
Indeed I was trying to compile to python2.7, but in CMakeCache.txt it was
written to use python library libpython3.2.so.
After fixing all the occurrences and rebuild it, everything is working
great!
Thanks!
--
View this message in context:
http://forums.openbabel.org/P
There's something not quite right here. Can you "grep -i python
CMakeCache.txt" and verify that all references to are to the same
python installation? I suspect a Python 2 versus 3 mixup.
- Noel
On 9 December 2012 14:34, elikbelik wrote:
> I tryed using the latest release of swig (2.0.8) and com
I tryed using the latest release of swig (2.0.8) and compile everything from
scratch and still got the problem.
I am using python 2.7.3.
--
View this message in context:
http://forums.openbabel.org/Problems-with-binding-Python-tp4655705p4655766.html
Sent from the General discussion mailing list
Can you download, compile and use the latest swig. What version of Python?
- Noel
On 27 November 2012 09:39, elikbelik wrote:
> Are you sure that it does not need swig?
> When I removed swig and used cmake (cmake -DPYTHON_BINDINGS=ON .) I got:
>
> Warning: Python bindings NOT found. Generate usi
Are you sure that it does not need swig?
When I removed swig and used cmake (cmake -DPYTHON_BINDINGS=ON .) I got:
Warning: Python bindings NOT found. Generate using -DRUN_SWIG.
And with swig, I keep on getting the previous errors.
--
View this message in context:
http://forums.openbabel.org/
Ubuntu 12.10 (64-bit).
If I'm compiling the release without swig, then I don't get any python
bindings.
--
View this message in context:
http://forums.openbabel.org/Problems-with-binding-Python-tp4655705p4655711.html
Sent from the General discussion mailing list archive at Nabble.com.
You shouldn't need Swig yourself if you are using the release, only if
compiling from the SVN repo... What version of Ubuntu?
- Noel
On 25 November 2012 08:56, elikbelik wrote:
> Hi,
> I'm trying to build openbabel 2.3.2 on ubunto with python bindings.
> I tried using swig2.0.7 and swig1.3.40, b
Hi,
I'm trying to build openbabel 2.3.2 on ubunto with python bindings.
I tried using swig2.0.7 and swig1.3.40, but keep on getting the following
errors:
Linking CXX shared module ../lib/_openbabel.so
CMakeFiles/bindings_python.dir/python/openbabel-python.cpp.o: In function
`_SWIG_This':
/home/mil