Hi,

ext Cord Beermann wrote:
> Maybe i'm blind, but i can't find a way to build Module-Packages in
> scratchbox. The problem is that scratchbox has an own perl of version
> 5.8.4, while the maemo-sdk has perl version 5.8.3.
> 
> when i try to build packages the build-process takes the
> scratchbox-perl (because of the scratchbox-diverts of /usr/bin) and as
> result i get packages which depend on perlapi-5.8.4.
> 
> So how can this be solved?

When building target binary extensions to e.g. dynamic languages
you could remove the Sbox version (move it somewhere else).  The sbox
tools are just a build performance improvement + convenience.

Alternatively you could try telling Sbox not to prefer host tool in
this case with something like:
   SBOX_REDIRECT_IGNORE
         colon-separated list of binaries which should not be redirected

However, the binary name needs to be with full absolute path, and you
need to call Perl like that for the redirect ignore to work. Like this:
        export SBOX_REDIRECT_IGNORE=/usr/bin/perl
        /usr/bin/perl foobar.pl

If building binary extension build process checks other things besides
the interpreter itself, then it's just better to (re)move Perl from
Sbox I guess.


        - Eero
_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to