HTML-Parser won't compile on Solaris 2.6

Ed Tate etate01 at
Fri Feb 21 15:15:02 GMT 2003

Just an FYI for anyone that runs into this problem.  Julian was right in
that the Sun compiler was on the box without a license.  I removed it but
HTML-Parser still wouldn't make.  Turns out that when we installed Perl, it
too found the Sun compiler instead of gcc and had some pointers to it in the
Perl config files.  Reinstalling Perl after removing the Sun compiler solved
the problem completely.
Thanks to everyone who responded.
Ed Tate (etate01 at
Coordinator of Technology Services
Hazelwood School District
Florissant, Missouri

-----Original Message-----
From: Julian Field [mailto:mailscanner at] 
Sent: Wednesday, February 19, 2003 1:01 PM
To: etate01 at
Subject: Re: HTML-Parser won't compile on Solaris 2.6

At 18:43 19/02/2003, you wrote:

Here's what's happening:
# make
/opt/SUNWspro/bin/cc -c   -I/usr/local/include -I/opt/gnu/include
 "-I/usr/local/lib/perl5/5.8.0/sun4-solaris/CORE"  -DMARKED_SECTION Parser.c
License Error : Cannot connect to the license server (sun)..
        for product(SPARCompiler C).
        (License server may not have been started)
cc: acomp failed for Parser.c
make: *** [Parser.o] Error 2

You need to change the Makefile to use gcc instead of cc. Search the
Makefile for cc and change them to gcc. Also get rid of "-O3 -xdepend". I
might have the -O number wrong, so look through the Makefile for "depend".

Basic problem is that you have SUNWspro installed, but no licence for it. I
would remove SUNWspro if you have not purchased a licence for it. 

Julian Field <> 
MailScanner thanks transtec Computers for their support 

-------------- next part --------------
An HTML attachment was scrubbed...

More information about the MailScanner mailing list