Michael Giffin wrote:
>  Thank you for the suggestion.  I tried editing the Rules.delsci, with
>  no joy.  i still get the same error:
>
You did that, and then followed Michelle's prescription exactly?  You 
didn't try to do it in Fink, right?

>  ./ExtensionClass.o   -o ./ExtensionClass.so
>  make[2]: execvp: ./ExtensionClass.o: Permission denied
>  make[2]: *** [ExtensionClass.so] Error 127
>  make[1]: *** [make-modules] Error 2
>  make: *** [unix] Error 2
>
>  also, 'which python' returns /sw/bin/python
>
But what's more relevant is "which python2.5"
>  I am also unable to compile from source:
>
>  layer5/main.c: In function 'DrawBlueLine':
>  layer5/main.c:304: error: 'GL_SHARED_TEXTURE_PALETTE_EXT' undeclared
>  (first use in this function)
>  layer5/main.c:304: error: (Each undeclared identifier is reported only 
once
>  layer5/main.c:304: error: for each function it appears in.)
>  error: command 'gcc' failed with exit status 1
>
I assume you mean you're not able to compile pymol manually.
>  Any help is appreciated.
>
>  On Wed, Apr 30, 2008 at 10:38 AM, Gill Michelle
>  <[EMAIL PROTECTED]> wrote:
> >
<snip>

> >  OK, I think I have a temporary solution to the problem. I did some
> >  digging on the compilation directory (sw/src/fink.build/pymol-
> >  py25-1.0r2-1001/pymol-1.0r2). In the file "Rules.delsci", I changed
> >  the following line:
> >
> >  PYTHON_EXE = python2.5
> >
> >  to:
> >
> >  PYTHON_EXE = /sw/lib/python2.5
> >
> >  and then ran "make -f Makefile.delsci" in the directory and the
> >  compilation finished without errors. I then ran "./setup/setup/py" and
> >  did a little editing to the resulting pymol startup script ensure the
> >  proper python library was again being used. (Let me know if anybody
> >  needs this script.) I verified that I was able to run this version of
> >  pymol.
> >
> >  I believe the omission of the explicit python path causes the system
> >  version of python2.5 (which I know is the default version included
> >  with Leopard) to be used instead of the fink version. I believe v2.4
> >  is included with Tiger, so this wouldn't have been a problem.
> >
> >  The following confirms my suspicion that Leopard's python was being
> >  called:
> >  ip30097% which python2.5
> >  /usr/bin/python2.5
> >  ip30097% ls -l /usr/bin/python2.5
> >  lrwxr-xr-x  1 root  wheel  75 Apr 26 16:46 /usr/bin/python2.5 -> ../../
> >  System/Library/Frameworks/Python.framework/Versions/2.5/bin/python2.5
> >
> >  Perhaps the package could be updated to explicitly reference fink's
> >  python?
> >
> >
> >
> >  Michelle Gill
> >
> >
> >  -



-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to