Solaris 8 and gcc Hints

I have installed the MailScanner on a new Solaris 8 system, using gcc. Fortunately, most of it is painless, however...

Syntax errors when running autoupdate

It will complain about now having run h2ph. However, doing this merely generates a new (syntax error) message.

As root, do

    # cd /usr/include
    # /usr/perl5/bin/h2ph -r -l .

Then edit the file /usr/perl5/site_perl/5.005/sun4-solaris/_h2ph_pre.ph and comment out line 2, which is the first line in the file starting with the word unless.

Compilation errors installing MIME::Base64

These are due to using gcc instead of the Sun compilers.

  1. Ensure that your path does contain /usr/local/bin and /usr/ccs/bin.
  2. Ensure that your path does not contain /usr/ucb.
  3. Run the usual perl Makefile.PL command.
  4. Edit the resulting Makefile:
  5. Run make, make test and make install.

Julian Field