What to do with a Build.PL file on Solaris 10?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rhythmic01
    New Member
    • Dec 2009
    • 3

    What to do with a Build.PL file on Solaris 10?

    I'm trying to install perl modules on Solaris 10. I consistently used the following commands for all perl modules:
    $ /usr/perl5/bin/perlgcc Makefile.PL
    $ /usr/sfw/bin/gmake
    $ /usr/sfw/bin/gmake test
    $ /usr/sfw/bin/gmake install

    However, certain modules only have a Build.PL file. How do i use them?

    Any help would be highly appreciated. Thank you.
  • numberwhun
    Recognized Expert Moderator Specialist
    • May 2007
    • 3467

    #2
    Personally, prefer to install modules using the CPAN interface that comes with the Perl distribution. Its much easier than trying to build modules from source, especially if you don't have a lot of experience with it.

    To answer your question though, I provide the following quote:

    The build and installation procedure for a Module::Build distribution is:

    % perl Build.PL
    % perl Build
    % perl Build test
    # perl Build install
    This was taken from here.

    Regards,

    Jeff

    Comment

    • rhythmic01
      New Member
      • Dec 2009
      • 3

      #3
      Thank you for your response.

      No i cant use cpan because i do not have ftp access. So i have to download each module individually and install them.

      I got my stuff working by using:
      $perlgcc Build.PL
      $perlgcc Build
      $perlgcc Build test
      $perlgcc Build install

      Thanks again.

      Comment

      • numberwhun
        Recognized Expert Moderator Specialist
        • May 2007
        • 3467

        #4
        Your welcome. I always mention the CPAN install method as a number of people don't realize or know about it and think you have to build by hand.

        Glad it worked for you.

        Happy New Year!

        Regards,

        Jeff

        Comment

        • rhythmic01
          New Member
          • Dec 2009
          • 3

          #5
          Happy New Year to you too. Thank you.

          Comment

          Working...