pete@northstar38.dartmouth.edu (Pete Schmitt) (06/01/90)
I'm having some problem with compiling perl pl18 on a DECstation. I seem to be missing something. Here is some output: cc array.o cmd.o cons.o consarg.o doarg.o doio.o dolist.o dump.o eval.o form.o hash.o perly.o regcomp.o regexec.o stab.o str.o toke.o util.o perl.o -lndbm -lm -o perl ld: Undefined: fetch firstkey nextkey delete dbminit store *** Error code 1 Stop. -- Peter Schmitt UNIX/VMS Consultant Kiewit Computation Center User Services Dartmouth College (603)646-2085 Hanover, NH 03755 Peter.Schmitt@Dartmouth.EDU
bogaart@serc.serc.nl (Eugene &) (06/03/90)
> From: pete@northstar38.dartmouth.edu (Pete Schmitt) > Newsgroups: comp.lang.perl > Date: 31 May 90 20:40:51 GMT > Distribution: comp > > I'm having some problem with compiling perl pl18 on a DECstation. I seem > to be missing something. Here is some output: > > cc array.o cmd.o cons.o consarg.o doarg.o doio.o dolist.o dump.o eval.o form.o hash.o perly.o regcomp.o regexec.o stab.o str.o toke.o util.o perl.o -lndbm -lm -o perl > ld: > Undefined: > fetch > firstkey > nextkey > delete > dbminit > store > *** Error code 1 > > Stop. > -- I did recently the same as Pete Schmitt for perl with patch level 18. I also did get this message but solved the problem. One should use the dbm library instead because the ndbm library is not available. But not to optimistic, I did succeed in compiling perl (compile without -O option, using -Olimit helps compiling but leaves too many failing regression tests.) Afterall I still have one test failing, which is op.sort 1. Below the test, what it does is not sorting, it leaves it in the original state. @harry = ('dog','cat','x','Cain','Abel'); $x = join('', sort @harry); print ($x eq 'AbelCaincatdogx' ? "ok 1\n" : "not ok 1\n"); Am I completely lost ? Does any one had this problem before? Is there a solution ? (before I do an in depth search.) Eugene -- Name: Eugene Bogaart | Software Engineering Research Centre Email: bogaart@serc.nl | Lange Viestraat 365 3511 BK Utrecht Phone: +31 30 32 26 40 | P.box 424 3500 AK Utrecht Fax: +31 30 34 12 49 | The Netherlands
jn@ukc.ac.uk (J.Nash) (06/04/90)
In article <BOGAART.90Jun2214609@serc.serc.nl> bogaart@serc.serc.nl (Eugene &) writes:
$op.sort 1. Below the test, what it does is not sorting, it leaves it
$in the original state.
$
$ @harry = ('dog','cat','x','Cain','Abel');
$
$ $x = join('', sort @harry);
$ print ($x eq 'AbelCaincatdogx' ? "ok 1\n" : "not ok 1\n");
$
$Am I completely lost ? Does any one had this problem before? Is
Yeah, I got this out of our DECstations. I found that the
memcmp() routine was screwed and produced silly results. A quick
fix for this is to edit the config.sh file when Configure prompts
you, and undef the memcmp line. Perl then builds and passes
all the tests.
Hope this helps.
Jarod