Peter O'Gorman wrote:
On 07/22/2010 04:08 AM, Daniel E. Macks wrote:
2. Figure out a shell env var or other way to make sure that the
spawned interp is run with the correct arch. At various times in
various contexts, we use ARCHFLAGS="" (I think that only affects the
compiling of C-code modules?). That is always fragile because we rely
on apple not to change how it works, but avoids having to perpetuate a
hacked perl-module package.
For the system perl 'export VERSIONER_PERL_PREFER_32_BIT=yes' should do
this. I think fink already exports that when necessary though, doesn't it?
http://developer.apple.com/mac/library/documentation/Darwin/Reference/ManPages/man1/perl.1.html
Peter
But that page also has:
Note that the preference files and environment variable that apply to the*perl*
command, do*not* apply when running a specific version of Perl. In particular,
running*perl5.1*0*.*0 will always default to 64-bit execution (unless one uses
thearch(1)
<http://developer.apple.com/mac/library/documentation/Darwin/Reference/ManPages/man1/arch.1.html#//apple_ref/doc/man/1/arch>
command to specifically select a 32-bit architecture).
... so I'm wondering if the -pm5100 tests need to use arch? (I don't
know whether they call perl or perl5.10.0 specifically.)
.02,
Robert
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel