[comp.lang.perl] Perl 3.0p18 on PS/2 AIX v1.2

istewart@datlog.co.uk ( Ian Stewartson) (06/12/90)

I have just tried building Perl 3.0 Patchlevel 18 on our PS/2 Model 80 under
AIX v1.2.  The build go OK (apart from 2 re-definitions - DUP2 and SELECT 
which occur in the IBM include file DOPTIONS.h for some reason).  All
the tests except op.undef work.  op.undef produces:

Illegal item (LEXPR) as lvalue in file op.undef at line 39, next 2 tokens ") ?"
Illegal item (LEXPR) as lvalue in file op.undef at line 40, next 2 tokens ") ?"
Illegal item (LEXPR) as lvalue in file op.undef at line 41, next 2 tokens "@ary;"
Illegal item (LEXPR) as lvalue in file op.undef at line 42, next 2 tokens ") ?"
Illegal item (LEXPR) as lvalue in file op.undef at line 43, next 2 tokens "%ary;"
Illegal item (LEXPR) as lvalue in file op.undef at line 44, next 2 tokens ") ?"
Illegal item (LEXPR) as lvalue in file op.undef at line 46, next 2 tokens "@ary ?"
Illegal item (LEXPR) as lvalue in file op.undef at line 48, next 2 tokens "%ary ?"
Execution aborted due to compilation errors.

Anyone come across this problem or have any ideas about a solution.  I've
tried using yacc and bison - same results.

Thanks,

Ian Stewartson
Data Logic Ltd, Queens House, Greenhill Way, Harrow, Middlesex, HA1 1YR, UK.
(Phone) +44 81 863 0383 (Telex) 888103 (Fax) +44 81 861 2010
(Network) istewart@datlog.co.uk or ukc!datlog!istewart

lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) (06/12/90)

In article <2878@dlvax2.datlog.co.uk> istewart@datlog.co.uk ( Ian Stewartson) writes:
: I have just tried building Perl 3.0 Patchlevel 18 on our PS/2 Model 80 under
: AIX v1.2.  The build go OK (apart from 2 re-definitions - DUP2 and SELECT 
: which occur in the IBM include file DOPTIONS.h for some reason).  All
: the tests except op.undef work.  op.undef produces:
: 
: Illegal item (LEXPR) as lvalue in file op.undef at line 39, next 2 tokens ") ?"
: [etc.]
: 
: Anyone come across this problem or have any ideas about a solution.  I've
: tried using yacc and bison - same results.

The README file says
    AIX/RT may need a -a switch and -DCRIPPLED_CC.

This may or may not apply to the AIX on your machine.  But I think it
probably does--the error messages look familiar.

Larry