Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Maemo: Developers

Howto build perl-modules in scratchbox?

 

 

Maemo developers RSS feed   Index | Next | Previous | View Threaded


cord at Wunder-Nett

Feb 18, 2008, 7:47 AM

Post #1 of 2 (453 views)
Permalink
Howto build perl-modules in scratchbox?

Hi.

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?

thanks,
Cord
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


eero.tamminen at nokia

Feb 18, 2008, 8:10 AM

Post #2 of 2 (394 views)
Permalink
Re: Howto build perl-modules in scratchbox? [In reply to]

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 [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers

Maemo developers RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.