Operating System - HP-UX
1752369 Members
6172 Online
108787 Solutions
New Discussion юеВ

Perl-based Web / Make Errors - Calling all Perl Gurus!!

 
SOLVED
Go to solution
Laurie A. Krumrey
Regular Advisor

Perl-based Web / Make Errors - Calling all Perl Gurus!!

Hello All,

We are trying to install Bugzilla an Open Source application that uses a Perl-based web app using Oracle or MYSQL for database backend.

We got apache installed no problem. But then
we had to install Perl 5.005.3 then GCC 2.95.3
and we have problems which we think might be
in the gcc???.

The "perl Makefile.PL" works fine then we
do "make" and we get tons of errors (mostly at
the gcc level?)

Here are the errors:

> Perl.xsi
/usr/bin/perl -I/usr/local/lib/perl5/5.00503/PA-RISC1.1 -I/usr/local/lib
/perl5/5.00503 /usr/local/lib/perl5/5.00503/ExtUtils/xsubpp -typemap /usr/local
/lib/perl5/5.00503/ExtUtils/typemap Perl.xs >xstmp.c && mv xstmp.c Perl.c
gcc -c -D_HPUX_SOURCE -I/usr/local/include -D_FILE_OFFSET_BITS=64 -I/us
r/local/include -O -DVERSION=\"1.15\" -DXS_VERSION=\"1.15\" -fpic -I/usr/lo
cal/lib/perl5/5.00503/PA-RISC1.1/CORE -Wall -Wno-comment -DDBI_NO_THREADS Perl.c
*** Error exit code 1

In file included from /usr/local/lib/perl5/5.00503/PA-RISC1.1/CORE/perl.h:336,
from DBIXS.h:19,
from Perl.xs:1:
/usr/include/ctype.h:26: warning: `__va__list' redefined
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/stdio.h:30: warning: t
his is the location of the previous definition
/usr/local/lib/perl5/5.00503/PA-RISC1.1/CORE/patchlevel.h:41: warning: `local_pa
tches' defined but not used
as: "/var/tmp/ccFJ3Qld.s", line 15: error 1052: Directive name not recognized -NSUBSPA
as: "/var/tmp/ccFJ3Qld.s", line 16: error 1052: Directive name not recognized -PARAM
as: "/var/tmp/ccFJ3Qld.s", line 36: error 1052: Directive name not recognized -NSUBSPA

The problem is I don't understand the errors
so I don't know how to fix it. Is there a way
to verify I installed the GCC software?

Any clues GREATLY APPRECIATED...

Laurie

Happiness is a choice
2 REPLIES 2
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: Perl-based Web / Make Errors - Calling all Perl Gurus!!

Hi Laurie,

Rather than fighting the compile/link problems
why not simply download the binary version of perl from http://hpux.cs.utah.edu/hppd/hpux/Languages/perl-5.6.1/
and save yourself work.

My 2 cents, Clay
If it ain't broke, I can fix that.
A. Clay Stephenson
Acclaimed Contributor

Re: Perl-based Web / Make Errors - Calling all Perl Gurus!!

Hi Laurie,

I misread your posting, it appears that perl did install okay although that is an old version. I've not installed Bugzilla but most gnu software has a configure script to test for OS, compiler, linker, etc. It is often necessary to modify some of the defines to make configure run properly for your environment.

Clay
If it ain't broke, I can fix that.