From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078701111386.tru64-unix-managers.marc@archive.invalid> From: "Paul A. Scowen" Date: Wed, 11 Mar 1998 17:21:14 +0000 To: tru64-unix-managers Subject: more on perl problems X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078701111386 Well everyone has said "works fine here" on whatever version of the OS you're on, if you take the defaults. That's what I've been doing. I am running Digital UNIX v4.0B BUT I've applied that pesky patch from Jan '98 and I'm starting to wonder if that was smart. Anyway. The configure runs fine. The make depend runs fine. The make runs fine until the libperl.a has been built - then it starts the DynaLoader, which is NOT an option if you read the README for the code, and here's where it craps out: 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 universal.o globals.o perlio.o cc -L/usr/local/lib -o miniperl miniperlmain.o libperl.a -ldbm -ldb -lm -lndir ./miniperl configpm tmp sh mv-if-diff tmp lib/Config.pm ./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 minimod.pl > tmp && mv tmp lib/ExtUtils/Miniperl.pm `sh cflags libperl.a perlmain.o` perlmain.c CCCMD = cc -DPERL_CORE -c -std -D_INTRINSICS -I/usr/local/include -D__LANGUAGE_C__ -O Making DynaLoader (static) Writing Makefile for DynaLoader mkdir ../../lib/auto/DynaLoader cc -L/usr/local/lib -o perl perlmain.o lib/auto/DynaLoader/DynaLoader.a libperl.a `cat ext.libs` -ldbm -ldb -lm -lndir ld: Can't open: lib/auto/DynaLoader/DynaLoader.a (No such file or directory) *** Exit 1 Stop. And you can see that it creates the dir lib/auto/DynaLoader, but doesn't put anything in it. I am wondering if it is because the build is being done statically - should I get into the config.sh and make that dynamic too?? Since 100% of you have a working version please don't spend a lot of time on this, but there's something screwed up here. Several people did suggest sliding -O4 to -O, but that didn't have any effect. Here's the output of myconfig: Summary of my perl5 (5.0 patchlevel 4 subversion 4) configuration: Platform: osname=dec_osf, osvers=4.0, archname=alpha-dec_osf uname='osf1 tycho.la.asu.edu v4.0 564 alpha ' hint=recommended, useposix=true, d_sigaction=define bincompat3=y useperlio=undef d_sfio=undef Compiler: cc='cc', optimize='-O', gccversion= cppflags='-std -D_INTRINSICS -I/usr/local/include -D__LANGUAGE_C__' ccflags ='-std -D_INTRINSICS -I/usr/local/include -D__LANGUAGE_C__' stdchar='unsigned char', d_stdstdio=define, usevfork=false voidflags=15, castflags=0, d_casti32=define, d_castneg=define intsize=4, alignbytes=8, usemymalloc=y, prototype=define Linker and Libraries: ld='ld', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /usr/shlib /shlib /lib /usr/lib /usr/ccs/lib libs=-ldbm -ldb -lm -lndir libc=/usr/shlib/libc.so, so=so useshrplib=false, libperl=libperl.a Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-shared -expect_unresolved "*" -O4 -msym -s -L/usr/local/lib' -- ------------------------------------------------------------------------------- Paul A. Scowen | Internet: scowen@tycho.la.asu.edu Dept of Physics & Astronomy | paul.scowen@asu.edu Arizona State University | World Wide Web: Box 871504, Tempe, AZ 85287-1504 | http://tycho.la.asu.edu/scowen.html Tel/FAX: (602) 965-0938 / 7954 | http://tycho.la.asu.edu/sah.html -------------------------------------------------------------------------------