Subject: perl compilation problem...
To: None <port-pmax@NetBSD.ORG>
From: Andrew Y Ng <>
List: port-pmax
Date: 04/28/1997 12:22:37
I tried to build perl on a NetBSD-pmax box but I got some strange
errors, here pasting in the make output:

`sh  cflags libperl.a miniperlmain.o`  miniperlmain.c
`sh  cflags libperl.a perl.o`  perl.c
`sh  cflags libperl.a malloc.o`  malloc.c
`sh  cflags libperl.a gv.o`  gv.c
`sh  cflags libperl.a toke.o`  toke.c
`sh  cflags libperl.a perly.o`  perly.c
`sh  cflags libperl.a op.o`  op.c
`sh  cflags libperl.a regcomp.o`  regcomp.c
`sh  cflags libperl.a dump.o`  dump.c
`sh  cflags libperl.a util.o`  util.c
`sh  cflags libperl.a mg.o`  mg.c
`sh  cflags libperl.a hv.o`  hv.c
`sh  cflags libperl.a av.o`  av.c
`sh  cflags libperl.a run.o`  run.c
`sh  cflags libperl.a pp_hot.o`  pp_hot.c
`sh  cflags libperl.a sv.o`  sv.c
`sh  cflags libperl.a pp.o`  pp.c
`sh  cflags libperl.a scope.o`  scope.c
`sh  cflags libperl.a pp_ctl.o`  pp_ctl.c
`sh  cflags libperl.a pp_sys.o`  pp_sys.c
`sh  cflags libperl.a doop.o`  doop.c
`sh  cflags libperl.a doio.o`  doio.c
`sh  cflags libperl.a regexec.o`  regexec..c
`sh  cflags libperl.a taint.o`  taint.c
`sh  cflags libperl.a deb.o`  deb.c
`sh  cflags libperl.a globals.o`  globals.c
rm -f libperl.a
ar rcu libperl.a perl.o malloc.o gv.o toke.o perly.o op.o regcomp.o dump.o util.o mg.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 taint.o deb.o globals.o 
cc  -L/usr/local/lib -o miniperl miniperlmain.o libperl.a -lm -lc -lcrypt
./miniperl configpm tmp
sh mv-if-diff tmp lib/
./miniperl -Ilib pod/pod2html.PL
Extracting pod2html (with variable substitutions)
./miniperl -Ilib pod/pod2latex.PL
Extracting pod2latex (with variable substitutions)
./miniperl -Ilib pod/pod2man.PL
Extracting pod2man (with variable substitutions)
./miniperl -Ilib pod/pod2text.PL
Extracting pod2text (with variable substitutions)
	AutoSplitting perl library
AutoSplitting Text::ParseWords (lib/auto/Text/ParseWords)
./miniperl > tmp && mv tmp lib/ExtUtils/
`sh  cflags libperl.a perlmain.o`  perlmain.c

	Making DynaLoader (static)
Writing Makefile for DynaLoader
cp ../../lib/
AutoSplitting DynaLoader (../../lib/auto/DynaLoader)
../../miniperl -I../../lib -I../../lib ../../lib/ExtUtils/xsubpp -noprototypes -typemap ../../lib/ExtUtils/typemap dl_dlopen.xs >tmp && mv tmp DynaLoader.c
cc -c   -O     -DVERSION=\"1.00\"  -DXS_VERSION=\"1.00\"  -I../.. -DLIBC="/usr/lib/" DynaLoader.c
rm -rf ../../lib/auto/DynaLoader/DynaLoader.a
ar cr ../../lib/auto/DynaLoader/DynaLoader.a DynaLoader.o && : ../../lib/auto/DynaLoader/DynaLoader.a
chmod 755 ../../lib/auto/DynaLoader/DynaLoader.a
cc  -L/usr/local/lib  -o perl perlmain.o libperl.a lib/auto/DynaLoader/DynaLoader.a  `cat ext.libs` -lm -lc -lcrypt
*** Error code 1


anyone knows how ta fix this?  or can somebody fetch me a binary copy
of perl on pmax?  I really don't have much time to hack and stuff, it's
the last week of class and finals'r coming up... ya know... :)

thanks in advance, so to speak...


Andrew Y Ng <ayn@CMU.EDU> | Carnegie Mellon University  | ECE major  // 4-yr BS/MS
campus ph: 412/862-2836   | voice mail: 412/268-6700 Box 30027
                          | talk: finger
   * NGBERT.ORG! *        |       for online status     | finger ayn@CMU.EDU for more info...
   NetBSD   NeXT   FreeBSD    Linux  Be   Solaris   !windoze