[Orca-users] Problem compiling orca-0.27 on Solaris 10
janth at moldung.no
janth at moldung.no
Sat Nov 18 02:24:37 PST 2006
On Fri, Nov 17, 2006 at 08:26:06AM -0700, colin at ccsisupport.com wrote:
> Hi Jim;
>
> > Hi, All
> >
> > I'm trying to compile Orca 0.27 on Solaris 10 using gcc. I don't have
> > the Sun C compiler installed. The configure script seems to run cleanly.
> > The make fails however somewhere in the Perl modules apparently because
> > it is trying to use cc instead of gcc. The messages are as follows:
>
> (snip)
>
> > which I think means it doesn't like that version of Perl.
>
> Exactly!
>
> > What am I doing wrong here?
>
>
> I've just gone through this fun on Solaris 8. There are a few things I've
> found.
>
> Despite the fact that it's the latest actual release, Orca 0.27 is very
> old and very buggy. Download the latest snapshot for, um...fewer bugs.
> I don't know if there will actually be another release.
>
> Secondly, you (more or less) need to use the same compiler for Orca that
> was used for Perl. This means either downloading Sun's Studio 11 compiler
> (free, and generally better than gcc), or compile perl from source with
> gcc.
>
> Once I had compiled Perl with gcc, running configure and make on a clean
> archive of Orca-r529 worked as advertised. Haven't tried on Solaris 10 yet,
> as I gather there are some problems with Solaris 10 data collection piece.
See also perlgcc(1),
http://www.oreillynet.com/sysadmin/blog/2005/10/perl_options_for_solaris_10.html,
http://www.bleaklow.com/blog/2004/06/perl_584_lands_in_solaris_10.html
and
http://search.cpan.org/~aburlison/Solaris-PerlGcc-1.3/pod/perlgcc.pod
for info about perl, solaris10 and gcc.
In short, don't use perl Makefile.PL, use perlgcc.
--
Jan Thomas Moldung
More information about the Orca-users
mailing list