[GRASS-dev] any idea about these python libraries?

William Kyngesburye woklist at kyngchaos.com
Sat May 30 11:59:38 EDT 2009


On May 29, 2009, at 5:37 PM, William Kyngesburye wrote:

> On May 29, 2009, at 5:18 PM, Michael Barton wrote:
>
>> The libraries listed below are in /usr/lib on my Mac.
>>
>> They are NOT in the /usr/lib of the Mac of a colleague here in  
>> Valencia.
>>
>> Many of these libraries are also in /usr/local/lib/wxPython- 
>> unicode-2.8.9.2/lib  on my Mac and that of my colleague
>>
>> They are NOT needed in order for me to compile GRASS without errors
>>
>> The ARE needed for me to run the wxPython GUI 3D display and  
>> digitizer. My colleagues also cannot run the wxPython 3d display  
>> and digitizer without these files.
>>
>> So my questions are:
>>
>> 1. Are these on in your /usr/lib William?
>>
> Yes.  These are for the system copy of wxPython.  Don't delete them.
>
>> 2. Do I somehow have some legacy files that I'm compiling against  
>> (even if I remove them from /usr/lib) or
>>
> Nothing in GRASS should link directly to them on OSX.  Only wxpython  
> modules should link to the wx libraries, vdigit just loads wxpython.
>
I found that wx nviz and vdigit *did* link the wx libraries - a  
reversion in the switch to setup.py that I missed.  Fixed now in SVN.

It doesn't hurt to link the wx libraries, but maybe, if there are  
multiple copies of wxpython installed (system and /usr/local), the one  
that was linked at compile time is different than the one found in  
sys.path at run time.  This would cause trouble.

GRASS should compile with the one found using the --with-wxwidgets flag.

>> 3. Is my colleague Agustin somehow missing these files that should  
>> have been installed on his Mac?
>>
> I need to look at this closer, later, gotta go.


If these are missing in /usr/lib, the only safe way to restore them is  
to reinstall the system.

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"We are at war with them. Neither in hatred nor revenge and with no  
particular pleasure I shall kill every ___ I can until the war is  
over. That is my duty."

"Don't you even hate 'em?"

"What good would it do if I did? If all the many millions of people of  
the allied nations devoted an entire year exclusively to hating the  
____ it wouldn't kill one ___ nor shorten the war one day."

<Ha, ha> "And it might give 'em all stomach ulcers."

- Tarzan, on war



More information about the grass-dev mailing list