[OmniOS-discuss] [developer] ENABLE_PERL64

Garrett D'Amore garrett at damore.org
Fri Jun 3 19:48:17 UTC 2016


I just wish we could excise all perl from the gate.  Its an unending source of headaches. 

Sent from my iPhone

> On Jun 3, 2016, at 12:25 PM, Andy Stormont <astormont at racktopsystems.com> wrote:
> 
> Hi Richard,
> 
> There’s a cleaner way to handle optional compiles: do it on the dependency line:
> 
>> install: $(ROOTPERLEXT) $(ROOTPERLMOD)
>> $(ENABLE_PERL64)install: $(ROOTPERLEXT64) $(ROOTPERLMOD64)
> 
> That way you don’t need to prefix all of the 64bit variable with $(ENABLE_PERL64).
> 
> - Andy
> 
> 
>> On 3 Jun 2016, at 19:33, Richard PALO <richard.palo at free.fr> wrote:
>> 
>> Rather frustrated on omnios after 'onu' to vanilla upstream (that is, non illumos-omnios based) 
>> gate builds because of the native omnios multi arch perl environment.
>> 
>> What typically happens is, for example, intrd chokes with:
>>> Can't locate Sun/Solaris/Kstat.pm in @INC (@INC contains: /usr/perl5/site_perl/5.16.1/i86pc-solaris-thread-multi-64 /usr/perl5/site_perl/5.16.1 /usr/perl5/vendor_perl/5.16.1/i86pc-solaris-thread-multi-64 /usr/perl5/vendor_perl/5.16.1 /usr/perl5/5.16.1/lib/i86pc-solaris-thread-multi-64 /usr/perl5/5.16.1/lib .) at /usr/lib/intrd line 66.
>> 
>> so attached is an attempt to get the gate to build supporting optional multiarch based upon an
>> adaptation of illumos-omnios/master.
>> 
>> To build with this via bldenv.sh, I updated my illumos.sh with:
>>> export PERL_VERSION=5.16.1
>>> export PERL_ARCH=i86pc-solaris-thread-multi-64int
>>> export PERL_PKGVERS=
>>> export ENABLE_PERL64=
>>> export PERL_ARCH64=i86pc-solaris-thread-multi-64
>> 
>> where the last two are the only changes thus far for omnios users building the gate.
>> 
>> with 'sh bldenv.sh -d illumos.sh' and cd usr/src/cmd/perl  I can now
>>> dmake clobber ; dmake install
>> cleanly with, or without the ENABLE_PERL64= environment variables.
>> 
>> It would be cool to see how hipster or others fare with this...
>> 
>> I would like to mention that since both hipster and omnios have at least perl 5.16.1,
>> I believe there is perhaps only smartos that still has something prior in illumos-extra.
>> Perhaps this is a good time to set PERL_VERSION by default to 5.16.1 or, better, to 5.22
>> 
>> So? Thanks in advance for feedback.
>> I'm running on this now.
>> --
>> 
>> Richard PALO
>> 
>> <0001-ENABLE_PERL64-multiarch-builds.patch>
> 
> 
> 
> -------------------------------------------
> illumos-developer
> Archives: https://www.listbox.com/member/archive/182179/=now
> RSS Feed: https://www.listbox.com/member/archive/rss/182179/21239177-3604570e
> Modify Your Subscription: https://www.listbox.com/member/?member_id=21239177&id_secret=21239177-2d0c9337
> Powered by Listbox: http://www.listbox.com


More information about the OmniOS-discuss mailing list