By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,776 Members | 1,777 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,776 IT Pros & Developers. It's quick & easy.

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

P: 3
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.
Dec 29 '09 #1
Share this Question
Share on Google+
4 Replies


numberwhun
Expert Mod 2.5K+
P: 3,503
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
Dec 30 '09 #2

P: 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.
Dec 30 '09 #3

numberwhun
Expert Mod 2.5K+
P: 3,503
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
Dec 30 '09 #4

P: 3
Happy New Year to you too. Thank you.
Dec 31 '09 #5

Post your reply

Sign in to post your reply or Sign up for a free account.