Cloudmark is now part of Proofpoint. Learn More

About Proofpoint

Installing the Params::Validate Perl module on Solaris


In Solaris 9/10, the Params::Validate Perl module may not install properly due to conflicts in the CPAN configuration and the location of the C compiler. Although regular installation of Params::Validate in the CPAN shell may appear successful, the module will not load properly when the Authority Plug-In is called by spamd. (spamd will continue to run, but without the Plug-in.)


To correct this problem, install (or re-install) Params::Validate using the procedure below.

How to install Params::Validate

  1. As root, start the Perl CPAN shell:

    perl -MCPAN -e shell

  2. Use the look command to download and unwrap Params::Validate (the CPAN prompt may look different on your screen):

    cpan[1]> look Params::Validate

    After the download and unwrap, a sub-shell is opened in the directory where the module was unwrapped. You should see a new command-shell prompt.

  3. Set your execution path to include the location of the C compiler.
    • sh, ksh or bash:


    • csh:

      set path = (/opt/SUNWspro/bin /usr/ccs/bin /usr/bin /usr/sbin)

    These are typical locations; the location of your C compiler may differ. (This PATH setting will go away when you exit the sub-shell below.)

  4. Run the Makefile.PL script using the --xs flag:

    perl Makefile.PL --xs

    (Ignore any output regarding the C compiler not being found.)

  5. Build, test, and install the module in the usual way:

    make test
    make install

  6. Exit the sub-shell, then exit the CPAN shell:

    # exit
    cpan[2]> exit

Site Map  •  Privacy Policy  •  ©2002–2020 Cloudmark, Inc.