Operating System - HP-UX
1825764 Members
2085 Online
109687 Solutions
New Discussion

Re: PERL Modules - error 4065: Recursion in macro "PerlIO"

 
SOLVED
Go to solution
irek_sz1
New Member

PERL Modules - error 4065: Recursion in macro "PerlIO"

I have to install XML-Parser-2.34 on my HP9000. make stops with error 4065.
I don't know how to fix it. Should I install some patches?

# uname -a
HP-UX wurth B.11.00 U 9000/800 115901577 unlimited-user license

full listing:
# make
cc -c -D_POSIX_C_SOURCE=199506L -D_REENTRANT -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings +Z -DUSE_SITECUSTOMIZE -DNO_HASH_SEED -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fast +Onolimit +Opromote_indirect_calls +DAportable +DS2.0 -DVERSION=\"2.34\" -DXS_VERSION=\"2.34\" +Z "-I/opt/perl_32/lib/5.8.7/PA-RISC1.1-thread-multi/CORE" Expat.c
(Bundled) cc: warning 480: The -A option is available only with the C/ANSI C product; ignored.
(Bundled) cc: warning 480: The +Z option is available only with the C/ANSI C product; ignored.
(Bundled) cc: warning 422: Unknown option "f" ignored.
(Bundled) cc: warning 422: Unknown option "a" ignored.
(Bundled) cc: error 1400: Option t usage: -t c,name where c may be 1 or more ofpc0al.
(Bundled) cc: warning 480: The +Opromote_indirect_calls option is available only with the C/ANSI C product; ignored.
(Bundled) cc: warning 480: The +Z option is available only with the C/ANSI C product; ignored.
cpp: "/opt/perl_32/lib/5.8.7/PA-RISC1.1-thread-multi/CORE/perlio.h", line 108: error 4065: Recursion in macro "PerlIO".
*** Error exit code 1
3 REPLIES 3
H.Merijn Brand (procura
Honored Contributor
Solution

Re: PERL Modules - error 4065: Recursion in macro "PerlIO"

Nothing to do with recursion.

You are using HP's braindead bundled C compiler on a perl created with HP C-ANSI-C, and now the ANSI options the correct compiler needs are unrecognized by the compiler you use.

Several options for you:

1. Buy HP's C-ANSI-C compiler

2. Install GNU gcc, and hand edit the Makefile to use gcc compatable options instead of the HP C-ANSi-C options

3. Install another (more recent) perl binary that was built with gcc, install the gcc that perl was built with, and all should go fluent

My HP ITRC site pages can be found at (please use LA as primary choice):

USA Los Angeles http://mirrors.develooper.com/hpux/
SGP Singapore https://www.beepz.com/personal/merijn/
USA Chicago http://ww.hpux.ws/merijn/
NL Hoofddorp http://www.cmve.net/~merijn/

Enjoy, have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
Kent Ostby
Honored Contributor

Re: PERL Modules - error 4065: Recursion in macro "PerlIO"

Very long ago there was a bug that caused this in HP's ANSI C complier, but that was nearly 10 years ago.

I suspect that you are using the non-ANSI compliant version that comes free with the OS as Merjin suggested.
"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"
irek_sz1
New Member

Re: PERL Modules - error 4065: Recursion in macro "PerlIO"

Thanks Merijn! i've installed packages from Your web-site and it worked!

Best Regards,
Irek