I am no 100% that this is a base installation and it does not have the 
development tools installed. I have gotten the to install the GNU tools 
but I'm running into another snag. I decided to take your advice and get 
the 3.3M2 sources and use that build script. The APXS script is set to 
use cc as the compiler, which throws the same "language" error as 
before. I made a copy of apxs and changed the compiler to gcc. Now I get 
this error:

Building mod_jk
gcc -DSOLARIS -DUSE_EXPAT -I../lib/expat-lite -G -Kpic 
-I/usr/apache/include -I../common -I/usr/j2se/include 
-I/usr/j2se/include/solaris  -c ../common/jk_ajp12_worker.c
gcc: unrecognized option `-Kpic'

And it hangs there for ever. What else do I need to do?

Thanks.

Ryan-


On Wednesday, March 28, 2001, at 07:44  PM, Mike Braden wrote:

> OK.  Try this:
>
> # file `which cc`
> /usr/ucb/cc:    executable /usr/bin/sh script
>
> Solaris 8 ships with a batch file called cc in /usr/ucb
>
> For a compiler, download the gcc package from
> http://www.sunfreeware.com
>
> as for make, you should check your path.  Make is in
> /usr/cc/bin
>
> # which make
> /usr/ccs/bin/make
>
> If make is not located there, then you should check to see
> if the system was setup with the Entire Distribution or
> developers distribution options.  If it was installed
> with only the base distribution (packages), then
> the libraries and utilities for compiling software
> will not be installed.
>
> Also note, you'll have much better luck building mod_jk
> if you build apache from source.
>
> There is a build script in the TC3.3m2 package for mod_jk
> that can be used with any TC3 version.
>
> Mike.
> --
> Mike Braden
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
>
> -----Original Message-----
> From: Ryan J. McDonough [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, March 28, 2001 4:48 PM
> To: [EMAIL PROTECTED]
> Subject: mod_jk on Solaris 8
>
>
> I'm trying help a client build mod_jk on a Solaris 8 System. I'm running
> into some problems that I think are cause by something not being
> installed. I don't have root access to the box so I can't just install
> things. Like I said, the system is Solaris 8 running JDK 1.3 and Tomcat
> 3.2.1. When I try to build mod_jk on the box as defined by the mod_jk
> howto, I get the following error:
>
> cc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -Kpic -I/usr/apache/include
> -I../jk
> -I/usr/j2se/include -I
> /usr/j2se/include/solaris -DSOLARIS  -c mod_jk.c
> /usr/ucb/cc:  language optional software package not installed
> apxs:Break: Command failed with rc=65536
>
> I'm assuming something is missing in "cc". Also "make" is not installed
> on this system either, which I believe could be part of the problem but
> I haven't had enough time with Solaris to be sure. Are there any know
> issues with mod_jk on Solaris 8 or does this installation need something
> further. Thanks in advance.
>
> Ryan-
>

Reply via email to