Terry,

> Method 1.
> ---------
>
> In the most straightforward effort, I download pymol-0_99rc6-src.tgz and
> run
>
>    python setup.py install
>    python setup2.py install
>    ./pymol
>
> as instructed. The first two commands run fine. The ./pymol gets me
>
>   Fatal Python error: Interpreter not initialized (version mismatch?)

You've probably tried this already, but what happens if you give a
full-path to a single python interpreter (aka /usr/local/bin/python24
instead of python below).  Assuming that the pymol launch script is using
the same python intpreter, and PYTHON_HOME/PYTHONPATH is set correctly,
this might clear up the version mismatch (or at least lead to different
errors).


> Method 2.
> ---------

Can't help you here...maybe one of the OS X experts will chime in.

> Method 3:
> ---------

Which freeglut target are you using (freeglut or freeglut-static)?  You've
probably tried the other build target, but if not it may be worth a shot. 
The command below looks like it's trying to build a static library while
linking to a dynamic/shared one...there's probably a way to do this, but
it seems like avoiding it might reduce possible sources of problems.

Also, what happens when you set up LDFLAGS so that it tries using
-bind_at_load?

>
> I tried to build completely from source (something I've done before). When
> building the ext packages, build.com fails building freeglut:
>
>     gcc -g -O2 -o CallbackMaker CallbackMaker-CallbackMaker.o
> ../../../src/.libs/libglut.a -lm -L/usr/X11R6/lib -lGL -lGLU -lXext
> -lX11 -lXxf86vm
>     /usr/bin/ld: warning multiple definitions of symbol _glPointParameteri
>     
> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o)
> definition of _glPointParameteri
>     /usr/X11R6/lib/libGL.dylib(dri_dispatch.o) definition of
> _glPointParameteri
>     /usr/bin/ld: warning multiple definitions of symbol
> _glPointParameteriv
>     
> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o)
> definition of _glPointParameteriv
>     /usr/X11R6/lib/libGL.dylib(dri_dispatch.o) definition of
> _glPointParameteriv
>     /usr/bin/ld: warning suggest use of -bind_at_load, as lazy binding may
> result in errors or different symbols being used
>     /usr/bin/ld: Undefined symbols:
>     _glutBitmapHelvetica12
>     _glutBitmap8By13
>     _glutBitmap9By15
>     _glutBitmapHelvetica10
>     _glutBitmapHelvetica18
>     _glutBitmapTimesRoman10
>     _glutBitmapTimesRoman24
>     _glutStrokeMonoRoman
>     _glutStrokeRoman
>     symbol _glPointParameteri used from dynamic library
> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o)
> not from earlier dynamic library
> /usr/X11R6/lib/libGL.1.dylib(dri_dispatch.o)
>     symbol _glPointParameteriv used from dynamic library
> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o)
> not from earlier dynamic library
> /usr/X11R6/lib/libGL.1.dylib(dri_dispatch.o)

Good luck,

Pete

Pete Meyer
Fu Lab
BMCB grad student
Cornell University


Reply via email to