failed 5.002 compile 
Author Message
 failed 5.002 compile

Hi, all

i'm just reposting my problem, as i still can't compile.  the problem
lies with some libraries ...somewhere.  but i can't figure out which
libs miniperl tries to use, and why it can't find the proper routines.
i know this '_h_errno' is defined in /u/include/netdb.h, it's in
libc.so.5.3.12, but not in libc.so.5.0.9.  it refuses to use these
definitions, and thus fails.  i've compiled a fresh copy of libc,
checked the /u/i/*.h files.  but still no luck.

i've previously compiled perl 5.001m with no problems.  but now, that
version has the same problem compiling.

i can compile perl on a friend's machine, but when i try to 'make
install' it on mine, it decides to recompile.  

through a bit of work, i did discover that some of my header files had
been "upgraded" to POSIX conformance, though i don't recall ever doing
this manually.  by ^^^ this, i mean that some of the files had a lot
of #if .. #endif checks added that checked for POSIX ability, where
the files on my friend's machine don't have these checks.  i'm
guessing that the new libc added these checks.

if anyone has any ideas on how i can get this to work, i'd really
appreciate it.

thanks,
greg

# make
[snip]
rm -f libperl.a
ar rcu [*.o]
cc  -L/usr/local/lib -o miniperl miniperlmain.o libperl.a -lgdbm \
-ldbm -ldb -ldl -ldld -lm -lc -lbsd
./miniperl: can't resolve symbol '_h_errno'
make[1]: Entering directory `/usr/local/src/perl/perl5.002'
cd t && chmod +x TEST */*.t
cd t && (rm -f perl; /bin/ln -s ../miniperl perl) \
        && ./perl TEST base/*.t comp/*.t cmd/*.t io/*.t op/*.t </dev/tty
./perl: can't resolve symbol '_h_errno'
make[1]: [minitest] Error 139 (ignored)
make[1]: Leaving directory `/usr/local/src/perl/perl5.002'
./miniperl configpm tmp
./miniperl: can't resolve symbol '_h_errno'
make: *** [lib/Config.pm] Segmentation fault

***** ***** ***** ***** ***** ***** ***** ***** ***** ***** ***** *****
greg haygood            

http://www.*-*-*.com/ ~g-haygood/

Solo to Jordan and Bird: "Watch this: Off the skiff, into the air, off
the sail barge, into the Sarlaac...nothing but Fett."

--
***** ***** ***** ***** ***** ***** ***** ***** ***** ***** ***** *****
greg haygood            

http://www.*-*-*.com/ ~g-haygood/

Solo to Jordan and Bird: "Watch this: Off the skiff, into the air, off
the sail barge, into the Sarlaac...nothing but Fett."



Sun, 08 Nov 1998 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. OS/2: perl 5.002 compiles, fails base/lex.t

2. Compiling perl 5.002 on BSDI 2.1 - compile errors

3. Help: Embedded Perl 5.002 Port DLL fails on Win95

4. 5.002 dies silently on failed socket write

5. make test fails on PERL 5.002!

6. Perl 5.002, HP/UX 10.10, test 22 of op/misc fails

7. UnixWare 2.01 fails 5.002 make test

8. Perl 5.002 compile on NT?

9. Able to compile 5.002 with AIX 4.1.4

10. Compile problem with 5.002 and DB_File support

11. Compile Trouble: Perl 5.002 / Solaris 2.4

12. Compiling Perl 5.002 on ICL DRS/NX (ICL DRS 6000 hardware)

 

 
Powered by phpBB® Forum Software