pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bootstrap and perl-5.34.0
Hello.
./bootstrap --full --prefer-pkgsrc=yes
I can't figure out why this is not being added to build of perl-5.34.0
in pkgsrc bootstrap of perl.
When I build perl outside pkgsrc It builds fine with the patches that
are being auto applied. This is in the options that are missing.
-L/opt/xinuos/lib -lsocket -lnsl -lgdbm -ldb -ldl -lld -lm -lcrypt -lutil
Building perl
Updating makefile...
gcc -DUNIXWARE -pthread -L/usr/gnu/lib -o miniperl opmini.o perlmini.o
gv.o toke.o perly.o pad.o regcomp.o dump.o util.o mg.o reentr.o
mro_core.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 numeric.o mathoms.o locale.o pp_pack.o
pp_sort.o caretx.o dquote.o time64.o miniperlmain.o
toke.o: In function `.L6344':
toke.c:(.text+0x163c3): undefined reference to `pow'
pp.o: In function `Perl_pp_pow':
pp.c:(.text+0x2ef5): undefined reference to `pow'
pp.o: In function `Perl_pp_modulo':
pp.c:(.text+0x3c1b): undefined reference to `fmod'
pp.o: In function `Perl_pp_atan2':
pp.c:(.text+0x7ad8): undefined reference to `atan2'
pp.o: In function `.L2676':
pp.c:(.text+0x7c51): undefined reference to `cos'
pp.o: In function `.L2651':
pp.c:(.text+0x7d39): undefined reference to `sqrt'
pp.c:(.text+0x7d5c): undefined reference to `log'
pp.c:(.text+0x7d6f): undefined reference to `sin'
pp.c:(.text+0x7d83): undefined reference to `exp'
time64.o: In function `Perl_gmtime64_r':
time64.c:(.text+0x4d): undefined reference to `fmod'
time64.c:(.text+0xbd): undefined reference to `fmod'
time64.c:(.text+0x12d): undefined reference to `fmod'
time64.c:(.text+0x1d3): undefined reference to `fmod'
collect2: error: ld returned 1 exit status
*** Error code 1
The build fails but editing
vi /home/build/pkgsrc/bootstrap/work/wrk/lang/perl5/work/perl-5.34.0/Makefile
vi /home/build/pkgsrc/bootstrap/work/wrk/lang/perl5/work/perl-5.34.0/makefile
to this
LDFLAGS = -pthread -L/usr/gnu/lib -L/opt/xinuos/lib -lsocket -lnsl -lgdbm -ldb -ldl
-lld -lm -lcrypt -lutil
CLDFLAGS = -pthread -L/usr/gnu/lib -L/opt/xinuos/lib -lsocket -lnsl -lgdbm -ldb -ldl
-lld -lm -lcrypt -lutil
then
cd /home/build/pkgsrc/bootstrap/work/wrk/lang/perl5/work/perl-5.34.0/
I am able to run
/home/build/pkgsrc/bootstrap/work/bin/bmake
/home/build/pkgsrc/bootstrap/work/bin/bmake test
/home/build/pkgsrc/bootstrap/work/bin/bmake install
I am not sure what, where, or how to patch the source to add them
Any ideas on how to patch the pkgsrc build?
Regards,
--
Boyd Gerber <gerberb%zenez.com@localhost> 801 849-0213
ZENEZ 1042 East Fort Union #135, Midvale Utah 84047
Home |
Main Index |
Thread Index |
Old Index