Cool deal thanks.

I'll also need to make sure there's no clash between fink libraries and
macports.  I know though that all of those macports libraries are active:

  pymol @1.3_0 (active)
  tcl @8.5.8_0 (active)
  tk @8.5.8_0 (active)

I'll keep chugging away.

Thanks for your tips!
Paul

On Fri, Jul 9, 2010 at 10:27 PM, Marius Retegan
<marius.s.rete...@gmail.com>wrote:

> This usually means that tk or tcl is not installed correctly.
> You could try to google the error. This gives you an idea about the problem
> 99% of the cases. Also you can double check that everything is installed. $
> port installed tk tcl pymol. On a macosx 10.5.8 I get:
> pymol @1.3_0 (active)
> tcl @8.5.8_0+darwin (active)
> tk @8.5.8_0+darwin (active)
> Ultimately you could file a bug report with macports or ask on their
> mailing list.
> Marius
>
> On Sat, Jul 10, 2010 at 3:10 AM, Paul Rigor (uci) <paul.ri...@uci.edu>wrote:
>
>> Hi Marius,
>>
>> So I grabbed Pymol through macports, but now the main control window isn't
>> being rendered.  I also receive the following error message. I've truncated
>> the error message.  I know that macports resolved the tk/tcl dependencies,
>> so I'm not sure what's up?  Has anyone else run into this problem?
>>
>> Thanks,
>> Paul
>>
>> === Error log below ===
>>
>>  OpenGL graphics engine:
>>   GL_VENDOR: NVIDIA Corporation
>>   GL_RENDERER: NVIDIA GeForce 320M OpenGL Engine
>>   GL_VERSION: 2.1 NVIDIA-1.6.16
>> Traceback (most recent call last):
>>   File "/opt/local/lib/pymol/modules/pmg_tk/__init__.py", line 35, in run
>>     PMGApp(pymol_instance,skin).run(poll)
>>   File "/opt/local/lib/pymol/modules/pmg_tk/PMGApp.py", line 389, in
>> __init__
>>     self.root = Tk() # creates the root window for the application
>>   File
>> "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-tk/Tkinter.py",
>> line 1643, in __init__
>>     self.tk = _tkinter.create(screenName, baseName, className,
>> interactive, wantobjects, useTk, sync, use)
>> TclError: Can't find a usable tk.tcl in the following directories:
>>
>>
>>
>> On Fri, Jul 9, 2010 at 2:03 PM, Marius Retegan <
>> marius.s.rete...@gmail.com> wrote:
>>
>>> Did you try the macports (http://www.macports.org/) version?
>>> Marius
>>>
>>> On Fri, Jul 9, 2010 at 10:10 PM, Paul Rigor (uci) <paul.ri...@uci.edu>wrote:
>>>
>>>> Hi gang,
>>>>
>>>> Actually, I spoke too soon! I attempted this compilation to address
>>>> another user's problems with an external script. But as you can see from 
>>>> the
>>>> attachment, the main control window is not being rendered properly.  Am
>>>> missing other libraries?
>>>>
>>>> Thanks,
>>>> Paul
>>>>
>>>>
>>>> On Fri, Jul 9, 2010 at 12:53 PM, Paul Rigor (uci) 
>>>> <paul.ri...@uci.edu>wrote:
>>>>
>>>>> Hi gang,
>>>>>
>>>>> Just wanted to share some notes on compiling and getting Pymol 1.3.x
>>>>> running on OS X Snow Leopard. Before proceeding, you'll of course need the
>>>>> XCode SDK which comes supplied with the OS X cd's or downloaded through
>>>>> apple's developer site.
>>>>>
>>>>>
>>>>> (1) Compilation:
>>>>>
>>>>> For some reason, the included freetype2 library is insufficient even
>>>>> though the compilation flags correctly point to the library's path
>>>>> (ext/include/freetype2).  The compilation fails with the following message
>>>>> (truncated):
>>>>>
>>>>> In file included from layer1/TypeFace.c:25:
>>>>> /usr/X11R6/include/ft2build.h:56:38: error: freetype/config/ftheader.h:
>>>>> No such file or directory
>>>>>
>>>>> The fix is to prepend the build step with the following CFLAGS
>>>>> environment variable like so which points to the system default X11 
>>>>> library:
>>>>>
>>>>> CFLAGS="-I/usr/X11R6/include/freetype2" python setup.py build
>>>>>
>>>>> You can then proceed with the installation, followed by the secondary
>>>>> setup2.py commend as noted at the end of the build step.
>>>>>
>>>>> (2) Additional library:
>>>>> A required library, Pmw,  isn't included with the SVN trunk, so you'll
>>>>> need to download it from the following site:
>>>>>
>>>>> http://sourceforge.net/projects/pmw/files/
>>>>>
>>>>> Unpack; dive into the src folder and issue
>>>>> python setup.py build
>>>>> python setup.py install
>>>>>
>>>>> All should work.
>>>>>
>>>>> Cheers,
>>>>> Paul
>>>>>
>>>>> --
>>>>> Paul Rigor
>>>>> http://www.ics.uci.edu/~prigor <http://www.ics.uci.edu/%7Eprigor>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Paul Rigor
>>>> http://www.ics.uci.edu/~prigor <http://www.ics.uci.edu/%7Eprigor>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> This SF.net email is sponsored by Sprint
>>>> What will you do first with EVO, the first 4G phone?
>>>> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
>>>> _______________________________________________
>>>> PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
>>>> Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
>>>> Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net
>>>>
>>>
>>>
>>
>>
>> --
>> Paul Rigor
>> http://www.ics.uci.edu/~prigor <http://www.ics.uci.edu/%7Eprigor>
>>
>
>


-- 
Paul Rigor
http://www.ics.uci.edu/~prigor
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net

Reply via email to