Probs Compiling Perl5.00{2,3} under AIX 4.1.4 
Author Message
 Probs Compiling Perl5.00{2,3} under AIX 4.1.4

Greetings,
   I'm trying to compile the Perl source version 5.003 on an IBM RS6000,
running AIX 4.1.4.  I don't have the IBM C Compiler, so I'm using gcc
version 2.7.2.  Things go ok until I get the error below.  I've looked
through the FAQs, and didn't find anything that mentioned this sort of
error.  Do I need to set something special for this?  I also tried
downloading the Perl5.002 from harpo.seas.ucla.edu, which even had a
version for AIX 4.1.2, but I still got this error.  Can some kind soul
point me to some information for what I need to do to run under AIX 4.1.4?

to read this newsgroup.  Thanks very much.

Here's the error:
root sybsvr1.ucsf.edu 92>make
        `sh  cflags libperl.a doio.o`  doio.c
          CCCMD =  gcc -c -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE \
-I/usr/local/include -D_NO_PROTO -O  
In file included from /usr/include/sys/lockl.h:24,
                 from /usr/include/sys/vnode.h:43,
                 from /usr/include/jfs/jfsmount.h:21,
                 from /usr/include/jfs/ino.h:24,
                 from /usr/include/jfs/inode.h:22,
                 from /usr/include/sys/inode.h:22,
                 from /usr/include/sys/seg.h:24,
                 from /usr/include/sys/shm.h:31,
                 from doio.c:29:
/usr/include/sys/lock_def.h:188: parse error before `simple_lock_try'
/usr/include/sys/lock_def.h:188: warning: data definition has no type or storage class
/usr/include/sys/lock_def.h:203: parse error before `lock_read_to_write'
/usr/include/sys/lock_def.h:203: warning: data definition has no type or storage class
/usr/include/sys/lock_def.h:207: parse error before `lock_try_write'
/usr/include/sys/lock_def.h:207: warning: data definition has no type or storage class
/usr/include/sys/lock_def.h:208: parse error before `lock_try_read'
/usr/include/sys/lock_def.h:208: warning: data definition has no type or storage class
/usr/include/sys/lock_def.h:209: parse error before `lock_try_read_to_write'
/usr/include/sys/lock_def.h:209: warning: data definition has no type or storage class
/usr/include/sys/lock_def.h:219: parse error before `lockl_mine'
/usr/include/sys/lock_def.h:219: warning: data definition has no type or storage class
make: The error code from the last command is 1.

Stop.

                                    Joe DeBattista
                                    Unix system Administrator

--
                                     Joe DeBattista
                                     UCSF, ITS Computing Facility



Thu, 11 Feb 1999 03:00:00 GMT  
 Probs Compiling Perl5.00{2,3} under AIX 4.1.4


Quote:
>Greetings,
>   I'm trying to compile the Perl source version 5.003 on an IBM RS6000,
>running AIX 4.1.4.  I don't have the IBM C Compiler, so I'm using gcc
>version 2.7.2.

Did you do the fixincludes thing with gcc 2.7.2?
--



Sun, 14 Feb 1999 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Compiling Perl5.001m on AIX 4.1.3 using AIX C

2. perl5 POSIX probs on AIX

3. AIX, perl5, dynamic loading probs

4. Alarm() problem with perl5.00.

5. perl5.00 strict vars bug

6. ANNOUNCE: VCS::LibCVS 1.00.00

7. Tk8.00.022 compatability with Perl5.6.0?

8. DBI 1.14 compile errors on AIX 4.3.3 with perl5.005_03

9. Compile Perl5.4 on AIX 4.2 with Gcc 2.8.0

10. ERROR compiling Perl5.003 on a AIX system 4.1.4

11. AIX 4.1: compile errors for Perl5

12. Problems in compiling perl5.002_01 for AIX 4.1.4

 

 
Powered by phpBB® Forum Software