Hi guys,
> On Sunday, August 5, 2001, at 04:05 PM, Paul Phillips wrote:
>
> > I am trying to build mod_perl 1.26 and Apache 1.3.20 on my Solaris 8
> > box. I have installed the additional CD with the developer tools
> > including the gnu utilities and gcc.
> >
> > When I first started, it did not seem to be using gcc, so I renamed
> > /usr/ucb/cc to cc.default, and make /usr/ucb/cc a link to gcc.
Just a thought, what is the command your system is using to link?
If it's not "gcc -something" you might run into trouble with just that
one symlink.
> > That seemed to get me further. However, I have reached a fatal error,
>
> On Sun, 5 Aug 2001, Bryan McGuire wrote:
>
> Sun wants to sell you it's Forte for C (formerly known as the Sun
> Workshop compiler). There's a hundred reasons to use the sun compiler
> over gcc, and one pretty big reason why you you don't want to use it.
Please note that the same compiler must be used to build Perl and mod_perl,
so if you used gcc to build your mod_perl then you'd better run
perl -V
to see what compiler built your Perl. Note that's "-V" and not "-v".
Rebuild Perl if you have to. It's a little more long-winded than it
is to build mod_perl but it's easy enough, especially if you accept
all the defaults. (I don't know if accepting all the defaults will
work for Sun/Sparc and I'd be pleased to know if it does.:)
Building mod_perl is covered in the Guide:
http://perl.apache.org/guide
I would recommend getting the .pod source of the guide and using
% cd guide_src (or whatever you call the directory that holds the source:)
% grep -i compile *
If the guide source is in more than one subdirectory and you're using
GNU grep you can add the "r" switch to search recursively. If your
version of grep doesn't have that switch then you'll need to be a
little more creative.
Of course you can substitute any other cleverly chosen word for the
word "compile" above to look at any other topic. In the case above
"compile" matches both the words "compile" and "compiler" and the -i
switch for grep ignores case. Well OK, it wasn't all that clever...
73,
Ged.