home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / unix / aux / 4598 < prev    next >
Encoding:
Text File  |  1993-01-11  |  1.2 KB  |  34 lines

  1. Newsgroups: comp.unix.aux
  2. Path: sparky!uunet!paladin.american.edu!howland.reston.ans.net!usc!cs.utexas.edu!oakhill!smeagol!lagana
  3. From: lagana@smeagol.sps.mot.com (Antonio A. Lagana)
  4. Subject: Re: Compiling perl 4.035 with gcc 2.3.1
  5. Message-ID: <1993Jan11.160602.25678@oakhill.sps.mot.com>
  6. Sender: news@oakhill.sps.mot.com
  7. Nntp-Posting-Host: smeagol
  8. Reply-To: lagana@smeagol.sps.mot.com
  9. Organization: Motorola Semiconductor Product Sector
  10. Date: Mon, 11 Jan 1993 16:06:02 GMT
  11. Lines: 21
  12.  
  13. Thanks to the many responses, I finally succeeded in compiling it and passing all the tests.  The solution turned out to be:
  14.  
  15.  0) remove -D__GNUC__ (it's defined by default by gcc 2.3.1) to avoid multiple    
  16.     redefined warnings and remove -B option from $ccflags
  17.  1) get "fixed" dir.h
  18.  2) select aux in Configure
  19.  3) use '-lm -lPW -ldbm -lbsd'
  20.  4) undefine d_ndbm
  21.  5) define d_dbm
  22.  6) use malloc that comes with perl (this is probably optional but it didn't hurt :) )
  23.  7) undefine d_voidsig (to avoid incompatible pointer warnings with eval, etc.).
  24.  
  25. Maybe 4) and 5) should be mentioned in the FAQ?  
  26.  
  27.  
  28. Thanks to all that responded,
  29.  
  30. Antonio A. Lagana                    lagana@smeagol.sps.mot.com
  31. Motorola Inc.                        (512) 891-3532
  32. Austin, Texas                        (512) 891-83
  33.  
  34.