Porting perl (patchlevel 41) to RS6000/AIX 3.1

Porting perl (patchlevel 41) to RS6000/AIX 3.1

Post by Dan Packm » Wed, 12 Dec 1990 06:55:16



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

 
 
 

1. perl patchlevel 37 on AIX 3.1

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"

2. File sys full, how to find problem?

3. Controlling the parallel port on the RS6000 under AIX 3.1

4. Using _init and _fini w/ libtool-linked .so?

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

6. rdesktop on Solaris/SPARC

7. Rebinding M-space and C-space on an IBM HFT (RS6000/AIX 3.1)?

8. bizzarro: my system reboots when an exported fs is accessed remotely

9. RS6000 AIX 3.1 Patch 3005 Core Problems

10. NTPD on AIX 3.1 (RS6000)

11. /tmp in AIX 3.1 on RS6000/530

12. Can somebody clue me in about inodes on an RS6000 running AIX 3.1?

13. AIX 3.1 /RS6000 setpri() missing?