pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: how create a binary perl-5.34.0 package
Hello Greg,
On Thursday 2021-12-23 14:44, Greg Troxel wrote:
Boyd Lynn Gerber <gerberb%zenez.com@localhost> writes:
Thank you, I would if I had a complete bootstrap to use.
The system has
/bin/perl --version
This is perl, v5.8.8 built for i386-unixware-thread-multi
I do have a native version I am testing in /opt/xinuos/bin/
/opt/xinuos/bin/perl --version
This is perl 5, version 34, subversion 0 (v5.34.0) built for
i386-unixware-thread-multi
If bootstrap doesn't work then you have to debug that. Trying to make a
binary package out of a broken bootstrap makes little sense.
I don't know why bootstrap needs coreutils on your system, and why
coreutils needs perl, but probably that does. You are asking to prefer
pkgsrc, which ought to work, but it will (should) ignore tools in the
base system that are available in pkgsrc.
The question is then what happens with the perl build. Does it just
hang, does it print an error?
These options are missing to build the package. I have tried to add
them to Makefile.SH unsuccessfully..
-L/opt/xinuos/lib -lsocket -lnsl -lgdbm -ldb -ldl -lld -lm -lcrypt -lutil
Building perl
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
fails because the above is missing editing config.h, Makefile, and
makefile adding them to the filess allows to build, test, and install
to /usr/pkg.
Some tests are faling and I am investigating the test failure.
Maybe to have pkgsrc use the system versions I need to add them to
mk/tools/tools.UnixWare.mk
Again thanks,
--
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