Hi Marcus!
I’ve tried as you said:
-DPYTHON_LIBRARIES=/usr/lib/libpython2.5.so
but still doesn’t worked.
Then I’ve tried:
-DENABLE_PYTHON=OFF
And now I could build, and even run avogadro!
But, when I click inside the view, trying to use any tool, avogadro crashes.
Here is the output:
alfeto@amebamovel:~/workspace/avogadro/build$
/opt/avogadro/bin/avogadro
System has OpenGL
support.
Locale:
“en_US”
Loaded translations (if needed) about to test OpenGL
capabilities.
OpenGL capabilities
found:
Double
Buffering.
Direct Rendering.
Antialiasing.
Searching for plugins in “/opt/avogadro/lib/avogadro/engines”
Searching for plugins in “/opt/avogadro/lib/avogadro/tools”
Searching for plugins in “/opt/avogadro/lib/avogadro/extensions”
Searching for plugins in “/opt/avogadro/lib/avogadro/colors”
Found Extension: “Animation” - “Animation Plugin”
Found Extension: “ForceField” - “ForceField Plugin”
Found Extension: “GAMESS” - “GAMESS Input Deck Generator”
Found Extension: “Gaussian Input Deck” - “Gaussian input deck generator”
Found Extension: “H2Methyl” - “H2Methyl Plugin”
Found Extension: “Hydrogens” - “Hydrogens Plugin”
Found Extension: “Lin Morph” - “Lin Morph Extension.”
Found Extension: “Orbitals” - “Orbital cube generator”
Found Extension: “Properties” - “Properties Plugin”
Found Extension: “Selections” - “Selection Plugin”
Found Extension: “SuperCell” - “Super Cell Builder”
Found Extension: “UnitCell” - “Unit Cell Parameters Plugin”
SetMolecule Called!
GLWidget initialisation…
GLWidget initialised…
createObjects()
Loading File
SetMolecule Called!
/opt/avogadro/bin/avogadro: symbol lookup error:
/opt/avogadro/lib/avogadro/tools/libnavigatetool.so: undefined symbol:
_ZNK8Avogadro6Camera8distanceERKN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEE
What can it be now?
Cheers,
Leandro.
On Fri, Oct 10, 2008 at 11:33, Marcus D. Hanwell marcus@cryos.org wrote:
On Friday 10 October 2008 08:03:40 Leandro Boscariol wrote:
Hi Geoff.
I did what you told me.
But I can’t say if it helped, because now I’ve got another problem…
alfeto@amebamovel:~/workspace/avogadro/build$ make
Linking CXX shared library libavogadro.so
/usr/lib/python2.5/config/libpython2.5.a(posixmodule.o): In function
posix_forkpty': posixmodule.c:(.text+0x3a49): undefined reference to
forkpty’
/usr/lib/python2.5/config/libpython2.5.a(posixmodule.o): In function
posix_openpty': posixmodule.c:(.text+0x3ad8): undefined reference to
openpty’
collect2: ld returned 1 exit status
make[2]: *** [libavogadro/src/libavogadro.so.0.8.2] Error 1
make[1]: *** [libavogadro/src/CMakeFiles/avogadro-lib.dir/all] Error 2
make: *** [all] Error 2
This looks like the old Python bug that several Linux distros still haven’t
patched and KitWare seems unwilling to patch… I have commented on several
upstream bugs, patched Gentoo’s version and generally tried to make noise.
They just offered me the opportunity to maintain the FindPythonLibs module
which I didn’t feel I necessarily had the time for!
You could add a -DPYTHON_LIBRARIES=/usr/lib/python2.5/libpythson2.5.so or
something to that effect. It is trying to using the static lib in the
config
directory that virtually no distro uses and is not the way the default
Python
build system installs it
Otherwise you could disable the Python support for now.
This SF.Net email is sponsored by the Moblin Your Move Developer’s
challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
Avogadro-devel mailing list
Avogadro-devel@lists.sourceforge.net
avogadro-devel List Signup and Options
–
Leandro A. Boscariol