steveg@ni.umd.edu (Steve Green) (02/06/91)
In article <2382@taurus.BITNET> <shani%math.tau.ac.il@CUNYVM.CUNY.EDU> writes: >Hi, > >I still have problems compiling perl on aux. Now it won't link! it says: > >undefined first referenced > symbol in file >rewinddir doio.o >format eval.o >do_write eval.o > >Any libraries I'm missing? > >O.S. > >BTW: thank to all those who answered my previous question. I'll send a summary >of 'how to compile perl on AUX', once it works... I just compiled perl and this is what I had to do. 1. Use the big compiler. Tell Configure that the compiler flags are -B/usr/lib/big/ 2. Modify config.sh at the point where Configure says you can. Make "i_dirent='define'" say "i_dirent='undef'". (This is the rewinddir problem) And that is it. BTW, I got perl the source patched to level 44 from prep.ai.mit.edu in pub/gnu. Is this the latest? -- Silica gel -- No not eat. steveg@ni.umd.edu
rmtodd@servalan.uucp (Richard Todd) (02/06/91)
steveg@ni.umd.edu (Steve Green) writes: >I just compiled perl and this is what I had to do. > 1. Use the big compiler. Tell Configure that the compiler flags > are -B/usr/lib/big/ > 2. Modify config.sh at the point where Configure says you can. > Make "i_dirent='define'" say "i_dirent='undef'". > (This is the rewinddir problem) Well, after promising everybody I'd dig up what changes I made to perl to get it to compile, I discovered that the one change I'd made was in the config.sh during the Configure -- the exact same thing as part 2 above. So for those of you asking for the "patches" to compile perl under A/UX, they're up there :-). I didn't use cc, though; I used gcc with the "-fpcc-struct-return -D_SYSV_SOURCE -D_BSD_SOURCE" and "-O -g" options. "-fpcc-struct-return" is almost certainly necessary for dbm files etc. to work with perl, the _SYSV_SOURCE and _BSD_SOURCE are #defines that are normally automatically done by cc. Also, when the Configure script asked me if I wanted to use Perl's malloc instead of the system malloc, I said no out of paranoia. It may well work with the Perl-supplied malloc, but I haven't tried it myself. -- Richard Todd rmtodd@uokmax.ecn.uoknor.edu rmtodd@chinet.chi.il.us rmtodd@servalan.uucp "Try looking in the Yellow Pages under 'Psychotics'." -- Michael Santana