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