develooper Front page | perl.perl5.porters | Postings from September 2013

[perl #5844] [5.7.0] PERL5OPT messes with build

Leon Timmermans via RT
September 25, 2013 23:52
[perl #5844] [5.7.0] PERL5OPT messes with build
Message ID:
On Mon May 07 17:03:26 2012, tonyc wrote:
> Anything that loads a non in-lib core module?
>  # just an example, Imager isn't suitable for PERL5OPT -M
>  $ ./Configure -des -Dusedevel && PERL5OPT=-MImager make -j3
>  ...
>  cc -fstack-protector -L/usr/local/lib -o miniperl \
>             perlmini.o opmini.o miniperlmain.o   gv.o toke.o perly.o
>    pad.o regcomp.o dump.o util.o mg.o reentr.o mro.o keywords.o hv.o
>    av.o run.o pp_hot.o sv.o pp.o scope.o pp_ctl.o pp_sys.o doop.o
>    doio.o regexec.o utf8.o taint.o deb.o universal.o globals.o
>    perlio.o perlapi.o numeric.o mathoms.o locale.o pp_pack.o pp_sort.o
>    -lnsl -ldl -lm -lcrypt -lutil -lc
>  ./miniperl -w -Ilib -MExporter -e '<?>' || make minitest
>  Can't locate in @INC (@INC contains: lib .).
>  BEGIN failed--compilation aborted.
> Perhaps there's a less ridiculous option that causes a build failure.

Can't this just be solved by adding a «PERL5OPT=» line in the Makefile?
That way, the environmental variable is overridden but miniperl can
still use PERL5OPT if required.


via perlbug:  queue: perl5 status: open Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About