Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!spool.mu.edu!news.cs.indiana.edu!ux1.cso.uiuc.edu!ux2.cso.uiuc.edu!ejk From: ejk@ux2.cso.uiuc.edu (Ed Kubaitis) Newsgroups: comp.unix.aix Subject: Re: Mods to make perl under AIX 3.01 - and possible compiler bug Message-ID: <1991Feb5.120126.7379@ux1.cso.uiuc.edu> Date: 5 Feb 91 12:01:26 GMT Sender: news@ux1.cso.uiuc.edu (News) Reply-To: ejk@ux2.cso.uiuc.edu (Ed Kubaitis) Organization: University of Illinois - Urbana Lines: 76 Some of the problems you reported building perl at patchlevel 28 have been addressed in later versions of perl. Here is a recipe for building perl at patchlevel 44 on AIX 3.1 (3001) that passes all tests in "make test". Note that "cc", not "xlc" or "bsdcc" is used. o used perl-3.0.41.tar.Z from prep.ai.mit.edu o applied patches 42, 43, & 44 o ./Configure Default answer on all questions, EXCEPT: "Do you wish to attempt to use the malloc that comes with perl? [y] n" o apply attached patch which: o defines SYMLINK in config.h o prevents redefintion of sprintf in perl.h o inserts "#pragma alloca" in x2p/a2p.y o make depend o make o make test o make install ---------------------------------- Ed Kubaitis (ejk@uxh.cso.uiuc.edu) Computing Services Office - University of Illinois, Urbana Attachment: patch for config.h, perl.h, x2p/a2p.y ============================================================================== *** config.h- Mon Jan 14 10:16:13 1991 --- config.h Mon Jan 14 10:16:54 1991 *************** *** 418,424 **** * This symbol, if defined, indicates that the symlink routine is available * to create symbolic links. */ ! /*#undef SYMLINK /**/ /* SYSCALL: * This symbol, if defined, indicates that the syscall routine is available --- 418,424 ---- * This symbol, if defined, indicates that the symlink routine is available * to create symbolic links. */ ! #define SYMLINK /**/ /* SYSCALL: * This symbol, if defined, indicates that the syscall routine is available *** perl.h- Mon Jan 14 08:09:19 1991 --- perl.h Mon Jan 14 08:23:20 1991 *************** *** 415,421 **** # define I286 #endif ! #ifndef __STDC__ #ifdef CHARSPRINTF char *sprintf(); #else --- 415,421 ---- # define I286 #endif ! #if !defined(__STDC__) && !defined(_IBMR2) #ifdef CHARSPRINTF char *sprintf(); #else *** x2p/a2p.y- Mon Jan 14 08:11:01 1991 --- x2p/a2p.y Mon Jan 14 08:11:34 1991 *************** *** 22,27 **** --- 22,28 ---- * */ + #pragma alloca #include "INTERN.h" #include "a2p.h"