On Mar 27, 2008, at 4:28 PM, Martin Costabel wrote:

> The directory /sw/lib/wx/ has wrong permissions 644:
>
> drw-r--r--  4 root  admin  136 Mar 14 08:26 /sw/lib/wx/
>
> This prevents the script /sw/bin/wx-config, which is a symlink to
> /sw/lib/wx/config/gtk2-unicode-release-2.8, from being executed,
> although the latter has permissions 755.
>
> I don't know if this has been like this already before or if it is a
> result of the recent security update, but it seems that you can't
> execute anything below a non-executable directory.
>
> Your situation is not quite the same as mine, because you were able to
> execute /sw/bin/wx-config, whereas I am not, but anyway you could  
> try if
> chmod +x on that directory
>
>   sudo chmod 755 /sw/lib/wx/
>
> allows you to build plplot.
>
> Or, last question, did you perhaps build-as-nobody? If yes, don't.

I did initially, but last time I just did a fink rebuild plplot, and  
still got the same error.

The permissions for the wx files are:

sudo  ls -la /sw/lib/wx/
total 0
drw-r--r--     4 root  admin    136 Jan  6 19:39 .
drwxr-xr-x  1597 root  admin  54298 Mar 26 22:07 ..
drwxr-xr-x     3 root  admin    102 Mar 25 08:03 config
drwxr-xr-x     3 root  admin    102 Jan  6 19:39 include

and:

exile:debs koen$ dpkg -c /sw/fink/debs/wxgtk2.8_2.8.7-7_darwin- 
powerpc.deb |egrep '/sw/lib/wx/$'
drwxr-xr-x root/admin        0 2008-03-25 08:01 ./sw/lib/wx/

I'll try the sudo chmod, and rebuild plplot.

- Koen.


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel

Reply via email to