perl 4.0 & Convex OS 9.0 
Author Message
 perl 4.0 & Convex OS 9.0

Before I wade in, does anyone already have a recipe for building
perl 4.0 on a Convex C2 with the 9.0 OS?

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

Computing Services Office - University of Illinois, Urbana



Sat, 11 Sep 1993 02:44:05 GMT  
 perl 4.0 & Convex OS 9.0
Apply the diffs at the end of this file and then run Configure.
The diffs fix a few problems with the prototyping
that the convex c compiler does when compiling with the extended
ANSI C and POSIX compatible library system under Convex OS 9.0, the default
cc compiler options.  

Remember to tell Configure that getgroups returns type  gid_t!

Bill Jones

----- Diffs
*** orig/doio.c Mon Mar 25 16:23:49 1991
--- doio.c      Thu Mar 21 15:35:12 1991
***************
*** 1310,1316 ****
  #ifdef TAINT
      taintproper("Insecure dependency in bind");
  #endif
!     return bind(fileno(stio->ifp), addr, st[sp]->str_cur) >= 0;

  nuts:
      if (dowarn)
--- 1310,1316 ----
  #ifdef TAINT
      taintproper("Insecure dependency in bind");
  #endif
!     return bind(fileno(stio->ifp),(struct sockaddr*)addr, st[sp]->str_cur) >= 0;

  nuts:
      if (dowarn)
***************
*** 2003,2010 ****
--- 2003,2012 ----
      register int sp = arglast[0];
      register STR *str;
      struct passwd *getpwnam();
+ #if !defined(__convex__)
      struct passwd *getpwuid();
      struct passwd *getpwent();
+ #endif
      struct passwd *pwent;

      if (gimme != G_ARRAY) {
***************
*** 2084,2090 ****
--- 2086,2094 ----
      register char **elem;
      register STR *str;
      struct group *getgrnam();
+ #if !defined(__convex__)
      struct group *getgrgid();
+ #endif
      struct group *getgrent();
      struct group *grent;

*** orig/eval.c Mon Mar 25 16:23:50 1991
--- eval.c      Thu Mar 21 15:38:53 1991
***************
*** 2198,2204 ****
--- 2198,2208 ----
            anum = 0;
        else
            anum = (int)str_gnum(st[1]);
+ #if !defined(__convex__)
        value = (double)getpgrp(anum);
+ #else
+       value = (double)getpgrp();
+ #endif
        goto donumset;
  #else
        fatal("The getpgrp() function is unimplemented on this machine");



Sat, 11 Sep 1993 08:25:36 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Perl 4.0 PL10 for DOS, DOS-Extender and OS/2

2. Linkage Error under OS/2 version of Perl 4.0

3. perl 4.0 pl3 on sun OS 4.1

4. perl 4.0 pl 3 on Mips Risc/os 4.5x

5. Perl 5.005_54 fails make test at io/fs.t #18 under BSD/OS 4.0

6. perl, popfile & os/2

7. Perl, OS/2, & find/stat

8. Perl 4.0 on AT&T 3B2/600G

9. Win32 Perl & Internet Information Server 4.0 (NT)

10. Perl & PerlIs on NT 4.0

11. question about &Getopts in Perl 4.0 library

12. IIS 4.0 and Perl 4.0

 

 
Powered by phpBB® Forum Software