Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Solaris::PerlGcc

by rinceWind (Monsignor)
on Sep 18, 2006 at 18:28 UTC ( [id://573589]=note: print w/replies, xml ) Need Help??


in reply to Solaris::PerlGcc

It looks as if it might be getting very confused and trying to build a static perl for you (which you almost certainly don't want).

What happens if you try to install a module by hand? This will help you work out if the problem is with CPAN, perlgcc or your Makefile.

cpan> look Data::Dumper perlgcc Makefile.PL make make test make install

If you successfully manage to built and install something pure perl, try installing something with XS. Could you please paste the full dialogue with error messages.

Though I use Solaris every day at work, I've never come across that module. I'm using a Solaris 8 that was shipped with a perl built with gcc. I'm in the reverse situation - being on a site with the fully fledged, licensed Forte toolkits, but having to download or build my own gcc to add Perl extensions.

P.S. Have you tried contacting the author?

--

Oh Lord, won’t you burn me a Knoppix CD ?
My friends all rate Windows, I must disagree.
Your powers of persuasion will set them all free,
So oh Lord, won’t you burn me a Knoppix CD ?
(Missquoting Janis Joplin)

Replies are listed 'Best First'.
Re^2: Solaris::PerlGcc
by vek (Prior) on Sep 18, 2006 at 22:59 UTC

    Thanks rinceWind. I get the same result when attempting to install by hand.

    root@blah [/.cpan/build/Data-Dumper-2.121]> perlgcc Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for Data::Dumper root@blah [/.cpan/build/Data-Dumper-2.121]> make make: Fatal error: Don't know how to make target `/usr/perl5/5.6.1/lib +/sun4-solaris-64intConfig.pm'

    It would appear that something rather odd is going on when using perlgcc as I cannot install pure Perl modules either. I attempted a manual install of Config::Tiny just to test it out. I get the same error.

    root@blah [/opt/installs/Config-Tiny-2.08]> perlgcc Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for Config::Tiny root@blah [/opt/installs/Config-Tiny-2.08]> make make: Fatal error: Don't know how to make target `/usr/perl5/5.6.1/lib +/sun4-solaris-64intConfig.pm'

    So, I've since learned that we do have Sun's cc compiler, we just didn't have it installed. So, the powers that be are installing it as we speak. That should solve my problem. Since kinda curious as to why perlgcc didn't work but I think that's a research project for another day :-)

    Many thanks for taking the time to give me a hand.

    -- vek --

      Although you will be solving your problem by migrating to Forte cc, please raise a bug report on RT, as the chances of the author lurking on Perlmonks are quite small.

      As the problem seems to be with the generated Makefile under perlgcc, you might want to investigate further by saving the Makefile to one side, running perl Makefile.PL and looking at the differences between the Makefiles. I suggest trying this with a pure perl module.

      --

      Oh Lord, won’t you burn me a Knoppix CD ?
      My friends all rate Windows, I must disagree.
      Your powers of persuasion will set them all free,
      So oh Lord, won’t you burn me a Knoppix CD ?
      (Missquoting Janis Joplin)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://573589]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (4)
As of 2024-04-20 04:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found