On Nov 7, 2007 3:02 AM, Giambattista Bloisi <[EMAIL PROTECTED]> wrote:
> Hi all,
>     I was just wondering whether someone in this list could give me help
> to make a bold fix to the problem I experienced with PyGTK.
>
> Basically PyGTK tries to install some files into the
> /Program/Python/2.5  UnionSandbox consider this an error and stops the
> installation process:
>
> UnionSandbox: Cleaning up.
> UnionSandbox: Moving entries to: /Programs/PyGTK/2.10.6/.SandboxInstall_Root
> SandboxInstall: Postprocessing Sandbox
> SandboxInstall: Left over files:
> Programs
> Programs/Python
> Programs/Python/2.5
> Programs/Python/2.5/lib
> Programs/Python/2.5/lib/python2.5
> Programs/Python/2.5/lib/python2.5/py_compile.pyc
> Programs/Python/2.5/lib/python2.5/py_compile.pyo
> Compile: Installation step failed.
>

The issue here is that during the installation the process tried to
install files outside of the writable locations granted to the
sandbox. The solution is to use a list of unmanaged_files.  In this
case you have two files that are "unmanaged", so adding them is fairly
straightforward.  In your recipe add something like this:

unmanaged_files=(
${goboLibraries}/python2.5/py_compile.pyc
${goboLibraries}/python2.5/py_compile.pyo
)

That will catch the files and ask you if you'd like them installed.
You can find the files installed under
/Programs/Foo/Ver/Resources/Unamanaged later on, and (correct me if
I'm wrong), they're copied to the associated location in the real
filsystem if you answer yes to the "install unmanaged files".

You can read more on the wiki and get a fairly good rundown of the
specification at:
http://gobo.kundor.org/wiki/Recipe_format_specification

-- 
Nathan Middleton
[EMAIL PROTECTED]
_______________________________________________
gobolinux-devel mailing list
gobolinux-devel@lists.gobolinux.org
http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel

Reply via email to