Response is inline.

> 
> On Sep 14, 2009, at 9:05 PM, ext Eric Holmberg wrote:
> 
> > I am trying to run a build script that uses Python (the host  
> > version) to generate test data.  I am unable to get this to run in  
> > the SB2 environment since the /usr/lib/python2.6 directory 
> is empty  
> > when running in the SB2 environment.
> >
> > How can I access these files in SB2?  I've tried playing 
> around with  
> > the SBOX_REDIRECT_IGNORE, but that doesn't seem to have helped.
> >
> > SB2 Version:  1.99.0.19
> > OS:  Ubuntu 9.04, x86 and amd64
> 
> Please ugprade your sb2 to the latest version (2.0) first. 1.99.0.19  
> is really old, and most features related to mapping of perl & python  
> were added after it was released.

Thanks, I'll do that.


> 
> Also, only the newer versions have basic support for  
> SBOX_REDIRECT_IGNORE and SBOX_REDIRECT_FORCE (which is a new 
> feature).  
> 1.99.0.19 didn't support those at all. Note that the 
> .._IGNORE feature  
> is not completely same as in SB1 (e.g. it works with /usr/bin/perl  
> and /usr/bin/python only), but it is supposed to be mostly 
> compatible  
> with the old thing. These redirections of perl & python and related  
> files are only active in the "devel" mode.
> 
> 
> >
> > Example
> > ----------
> > ls / usr/lib/python2.6 - lists lots of files
> > sb2
> > [SB2] ls / usr/lib/python2.6 - lists nothing
> >
> 
> What does "sb2 sb2-show path /usr/lib/python2.6" show to you?

This crashes right now, but that's probably because I need to upgrade
first.  I'll do that and report back.

Thanks,

Eric



> 
> Your example didn't show what mode you are using. If it is "simple",  
> then the mappings are really simple - might be even too simple for  
> perl & python; for example, perl extensions should always be 
> compiled  
> in the "devel" mode.
> 
>       Lauri
_______________________________________________
Scratchbox-users mailing list
Scratchbox-users@lists.scratchbox.org
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users

Reply via email to