[maemo-developers] Howto build perl-modules in scratchbox?
From: Eero Tamminen eero.tamminen at nokia.comDate: Mon Feb 18 18:10:23 EET 2008
- Previous message: Howto build perl-modules in scratchbox?
- Next message: VS: Re: maemopad exits suddenly when clicking on Save icon
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: Howto build perl-modules in scratchbox?
- Next message: VS: Re: maemopad exits suddenly when clicking on Save icon
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]