Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

thinc (3788)

thinc
  (email not shown publicly)

Journal of thinc (3788)

Wednesday June 21, 2006
02:52 PM

perl modules vs. solaris 10

[ #30000 ]

So I've got this solaris 10 workstation, and I want to install DateTime on it.

No problem, I think, just fire up cpan and "install DateTime".

Yeah right. This is solaris. Of course I don't have "Sun WorkShop" installed. So I install gcc, and gmake.

But wait, perl was compiled with Sun WorkShop, so the configure flags are different.

Then I find out about perlgcc. It works beautifully.

Here's the magic of how to compile perl modules on solaris 10 without having Sun developer tools installed:

# echo $PATH
/usr/sbin:/usr/bin:/usr/local/bin/:/usr/sfw/bin/
# /usr/perl5/bin/perlgcc Makefile.PL
...
# gmake
...
# gmake test
...
# gmake install

Note the /usr/sfw/bin/ on path to pick up the gcc and gmake.

Thank you Alan Burlison and perlgcc, you just made my job a lot easier.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.