If you do change to gcc, you'll need to rebuild Perl too. You must build
modules with the same compiler as Perl was built with.
Did you build your Perl locally or download a binary distribution?
--
Mac :})
----- Original Message -----
From: "Ian Miller" <[EMAIL PROTECTED]>
To: "Gisle Aas" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, July 27, 2000 2:52 AM
Subject: Re: COMPILING HTML::PARSER
> On Thu, Jul 27, 2000 at 11:04:00AM +0200, Gisle Aas screeved:
> >
> > > > I'm on a sun running SunOS 5.6
> > > > using perl 5.00405
> > > > c compiler: WorkShop Compilers 4.2 30 Oct 1996 C 4.2
> > > >
> > > > Is there something I can do to get this to compile on my system?
> > >
> > > Yes, upgrade your Perl.
> > >
> > > > "./util.c", line 59: undefined symbol: PL_hexdigit
> > >
> > > IIRC, PL_hexdigit is one of the symbols that post date perl 5.004.
> >
> > I don't have problems compiling HTML-Parser with perl5.004_05 here.
> > There must be something else that is the problem.
>
> It could well be your very old C compiler; I had no problems with
> cc: WorkShop Compilers 5.0 98/12/15 C 5.0
>
> You could try using the GNU compiler instead? IIRC, Workshop 4.2 was utter
> rubbish, at least, from any modern C++ perspective. I dunno about the C
though!