in reply to Problem while installing IO:Socket on solaris 10

Unless the original perl was compiled with the same compiler, your chances of success are tiny. The important thing is that the compiler must be able to produce binary compatible executables.

But so far, this doesn't appear to be your problem. Your fatal error message is this:

gcc: language arch=v8 not recognized

Try to fix that first. I can't help you with this, sorry, as I'm not enough of an expert. You need to tweak some command line options for the compiler, in particular the setting that produces:

-xarch=v8
in your command line.

But, like I said, even if you succeed in fixing this, you'll probably still be a long way from home.

Replies are listed 'Best First'.
Re^2: Problem while installing IO:Socket on solaris 10
by ramesh_ps1 (Initiate) on Mar 27, 2007 at 11:26 UTC
    Do you think installing perl from source might be useful?
    If yes please let me know where to fin dthe source for perl
    Thanks.
      The source is here. On Solaris I tend to build from source using gcc and install into a different path (/opt/OurApplicationName/perl) so as to leave the existing Sun build of Perl (which seems to get used by the volume manager of choice, as well as a couple of other things) intact, and to resolve the issue you are having. It should be noted that I do this to avoid issues (including political ones) with the Client we work for. Remember to read the INSTALL and README.solaris files carefully.

      Update: I forgot to mention, IO::Socket built without any problems using the method described above.

      Hope this helps.

      Martin