perl patchlevel 37 on AIX 3.1

perl patchlevel 37 on AIX 3.1

Post by Ed Kubait » Mon, 22 Oct 1990 02:50:15



The attached patch and answering "n" to the Configure question

   Do you wish to attempt to use the malloc that comes with perl? [y] n

allowed a successful make and make test for perl at patchlevel 37 on an
IBM RS/6000 running AIX 3.1. (Answering "y" yielded an "illegal redefinition
message for "free" in malloc.c.) The default answer was taken for all other
questions posed by Configure.

----------------------------------

Computing Services Office - University of Illinois - Urbana

-------------------------------------------------------------------------------
*** perl.h-     Sat Oct 20 10:39:52 1990
--- perl.h      Sat Oct 20 11:26:32 1990
***************
*** 317,323 ****
  #   define I286
  #endif

! #ifndef       __STDC__
  #ifdef CHARSPRINTF
      char *sprintf();
  #else
--- 317,323 ----
  #   define I286
  #endif

! #if !defined(__STDC__) && !defined(_IBMR2)
  #ifdef CHARSPRINTF
      char *sprintf();
  #else
*** x2p/a2p.y-  Sat Oct 20 11:01:06 1990
--- x2p/a2p.y   Sat Oct 20 11:01:38 1990
***************
*** 18,23 ****
--- 18,24 ----
   *
   */

+ #pragma alloca
  #include "INTERN.h"
  #include "a2p.h"

 
 
 

1. Porting perl (patchlevel 41) to RS6000/AIX 3.1

I have ported perl to an RS6000 by specifying the compiler (cc) and
then commenting out by hand the defintions of sprintf.  This seems
curious since that section should not be invoked if __STDC__ is
defined which seems to be the case.  No doubt I am doing something
stupid (or at lease #illdefined).  What is the "proper" incantation
in the Configure script?  Something like xlc?   Sorry if this has been
hased over before.
                                                Dan



                Boulder, CO  80307       DECNET  SPAN: 9.367::PACK

2. Multithreading in linux

3. perl 4.010 under AIX 3.1 (3003) and AIX 3.1.5

4. grep/RE question

5. shuJIT doesn't work with patchlevel 6 of the FreeBSD JDK1.3.1

6. Process to port list

7. Malloc AIX 3.1 vs. AIX 3.2

8. FTP access setup

9. AIX 3.1 restore program on AIX 1.2?

10. Perl 4, patchlevel 36 for Solaris 2.3

11. Perl problems 3.1-RELEASE

12. Oracle 8.0.5i (for linux), FreeBSD 3.1 and perl

13. SOFTWARE: PGPHTML 3.1: a perl script to make PGP signed web-pages