On 9/4/06, Ouyang, Jian <[EMAIL PROTECTED]> wrote:
I try to install the DBI package but it failed. Can you please help?

John Gallagher was having the same problem.  I answered him this morning.


{/home/j/jouyang/dot/DBI-1.50 27}% perl Makefile.PL
[...]
Writing Makefile for DBI


{/home/j/jouyang/dot/DBI-1.50 29}% make
        cc -c    -D_POSIX_C_SOURCE=199506L -D_REENTRANT -Ae
-D_HPUX_SOURCE -Wl,+vnocompatwarnings -DNO_HASH_SEED -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -fast +Onolimit +Opromote_indirect_calls
+DAportable +DS2.0    -DVERSION=\"1.50\"  -DXS_VERSION=\"1.50\" +Z
"-I/opt/perl/lib/5.8.3/PA-RISC1.1-thread-multi/CORE"   Perl.c
(Bundled) cc: warning 480: The -A option is available only with the
C/ANSI C product; ignored.
(Bundled) cc: warning 422: Unknown option "f" ignored.
(Bundled) cc: warning 480: The +Onolimit option is available only with
the C/ANSI C product; ignored.
(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/lib/5.8.3/PA-RISC1.1-thread-multi/CORE/perlio.h", line
108: error 4065: Recursion in macro "PerlIO".
*** Error exit code 1


I wrote:

You're using the bundled C compiler which is not an ANSI C compiler.
Your Perl was built with the HP ANSI C compiler.

Either: get the HP ANSI C compiler
Or: get GCC and build your own Perl with it.


His Perl was version 5.8.7; yours is 5.8.3; the differences are
immaterial to this problem.

--
Jonathan Leffler <[EMAIL PROTECTED]>  #include <disclaimer.h>
Guardian of DBD::Informix - v2005.02 - http://dbi.perl.org
"I don't suffer from insanity - I enjoy every minute of it."

Reply via email to