[Chimera-users] new version available

Charlie Moad cwmoad at gmail.com
Mon Oct 24 08:00:50 PDT 2005


Also, here is a case scenario.  I can build matplotlib
(matplotlib.sf.net) with the following command:

CPPFLAGS="-I/usr/include/python2.4" /usr/local/chimera/bin/python2.4
setup.py install

I have python2.4.2 installed, so I just use those headers.  This
works.  Now when I try to use matplotlib I get an unresolved symbol,
"PyUnicodeUCS4_AsUnicode" from one of its shared libraries.  This
symbol is located in libpython2.4.so, which is not in the chimera
bundle.  I can work around this by launching chimera with:

LD_PRELOAD="/usr/lib/python2.4/config/libpython2.4.so" chimera

This is obviously a temporary work-around.  I would hope windows won't
be this complicated.  Any suggestions on how to better address an
issue like this?

Thanks,
    Charlie

On 10/21/05, Greg Couch <gregc at cgl.ucsf.edu> wrote:
> The normal way would be for you to download the whatever extension you
> wanted to try out and to install it using chimera's python --
> CHIMERA/bin/python setup.py install.  The tough part is to use the same
> compiler that we're using so that the runtime's are compatible (especially
> true on Windows, you need to use Visual Studio .NET 2003, not as true on
> UNIX platforms).
>
> The alternative is use a prebuilt binary.  This works really well with
> Windows, but you need to install the Windows python so the extension will
> install properly and then copy the files to the appropriate place in the
> Chimera hierarchy -- CHIMERA/bin/Lib/site-packages/ on Windows,
> CHIMERA/lib/python2.4/site-packages on UNIX (and a similar place on Mac OS
> X).
>
>         Does that answer your question?
>
>         Greg
>
> On Fri, 21 Oct 2005, Charlie Moad wrote:
>
> > Date: Fri, 21 Oct 2005 10:34:21 -0500
> > From: Charlie Moad <cwmoad at gmail.com>
> > To: Eric Pettersen <pett at cgl.ucsf.edu>
> > Cc: Chimera <chimera-users at cgl.ucsf.edu>
> > Subject: Re: [Chimera-users] new version available
> >
> > Suppose I want to build a python module into chimera that requires the
> > python headers, (e.g. numarray (I know numeric is there but just play
> > along)). How would one go about doing this?  I see you provide the
> > python2.4 binary now, which helps for pure python extension.  Thanks
> > for that!
> >
> > - Charlie
> >
> > On 10/19/05, Eric Pettersen <pett at cgl.ucsf.edu> wrote:
> >> Hi all,
> >>     We've put out a new version (1.2180) which we believe fixes the problems
> >> that some people were having on XP platforms.  We're hoping that those of
> >> you that were having problems will try out the new version at your earliest
> >> convenience and let us know how it works.  Thanks!
> >>
> >>
> >>
> >>                         Eric Pettersen
> >>
> >>                         UCSF Computer Graphics Lab
> >>
> >>                         pett at cgl.ucsf.edu
> >>
> >>                         http://www.cgl.ucsf.edu
> >>
> >>
> >> _______________________________________________
> >> Chimera-users mailing list
> >> Chimera-users at cgl.ucsf.edu
> >> http://www.cgl.ucsf.edu/mailman/listinfo/chimera-users
> >>
> >>
> >>
> >
> > _______________________________________________
> > Chimera-users mailing list
> > Chimera-users at cgl.ucsf.edu
> > http://www.cgl.ucsf.edu/mailman/listinfo/chimera-users
> >
>




More information about the Chimera-users mailing list