Re: [Gtk-osx-users] Problem with 10.5 SDK i386 arch gtk-meta-os-bootstrap

On Sep 22, 2010, at 8:29 AM, Shawn Bakhtiar wrote:

FYI --

 I am building the latest 10.5 SDK i386 arch using the  

Ran into a problem installing phase 3 / 15 of the gtk-meta-os-bootstrap.

Making install in python
Making install in .
make[3]: Nothing to be done for `install-exec-am'.
/bin/sh /Users/sbakhtiar/gtk/source/libxslt-1.1.26/install-sh -d /Library/Python/2.6/site-packages
/Users/sbakhtiar/.local/bin/install-check -m 0644 /Library/Python/2.6/site-packages
install: /Library/Python/2.6/site-packages/ Permission denied
make[3]: *** [install-data-local] Error 71
make[2]: *** [install-am] Error 2
make[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1
*** Error during phase install of libxslt: ########## Error running make install *** [3/15]

So, after having su'd over to the admin account and sudo su'd, I :

sh-3.2# cd /Library/Python/2.6/
sh-3.2# ls -l
total 0
drwxrwxr-x  3 root  admin  102 Jul  9  2009 site-packages
sh-3.2# chmod o+w site-packages
sh-3.2# ls -l
total 0
drwxrwxrwx  3 root  admin  102 Jul  9  2009 site-packages

<went back to original shell and finished he install>

sh-3.2# chmod o-w site-packages

The only important thing to note here is that I am now running as a standard network user on a 10.6.4 box (joined to the domain). I never ran into this problem before as I was the first local user of the machine (admin). This may be a good reason to try and keep things inside the installation directory somehow?

Some may not have admin access to the box, 

Set _gtk_osx_use_jhbuild_python=TRUE in your .jhbuildrc-custom. That will set $PYTHON=$PREFIX/lib/python/2.6, and will install python modules there. If you're absolutely sure that you don't need the xlst module for python (I'm not) you could also add 
append_autogenargs["libxslt"]="--without-python" to .jhbuildrc-custom. 

John Ralls

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]