You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ben <ma...@gmail.com> on 2011/10/24 19:24:21 UTC

Re: Make Errors for JK-1.2.32 solaris/sparc

Beryle Simmons <Beryle.Simmons <at> RaymondJames.com> writes:

> 
> Just checking to see in anyone had any thoughts on this one.
> 
> ------------------------------------------------------------------------------
----
> 
> I normally use the solaris/sparc binary for mod_jk, but I see they aren't 
available for download with the
> latest version.  I'm trying to compile JK-1.2.32 with solaris 10/sparc, but 
I'm receiving errors, below
> is some information:
> 
> OS:  Solaris 10 Generic_144488-17
> H/W: sparc SunFire V440
> Apache version:  2.2.19
> Tomcat version:  5.5.33
> Java version:  1.5.0_30-b03
> 
> The configure script runs ok.  When I ran make for the first time, I received 
the below error:
> 
> Usr/ccs/bin/ld:  illegal option  -- rpath
> 
> This seemed to be related to a mistake in the .../native/apache-2.0 
Makefile.  I removed the word "path"
> from the -r option and was able to get past that error.  Now I get almost 
through the build and get the below:
> 
> /usr/local/apache2/build/libtool -silent -mode=install cp 
mod_jk.la  /export/home/xxxx/tomcat-connectors-1.2.32-src/native/apache-2.0/
> Cp:   cannot access ..libs/mod_jk.lai
> Make[1]:  *** [mod_jk.so] Error 2
> 
> Any help would be appreciated, thanks!
> 
> 

Did you ever figure out the issue with this?  I am getting the exact same 
message and I'm running out of ideas on how to solve it.

Thanks,
-Ben





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Make Errors for JK-1.2.32 solaris/sparc

Posted by Rainer Jung <ra...@kippdata.de>.
On 24.10.2011 19:24, Ben wrote:
> Beryle Simmons <Beryle.Simmons <at> RaymondJames.com> writes:
> 
>>
>> Just checking to see in anyone had any thoughts on this one.
>>
>> ------------------------------------------------------------------------------
> ----
>>
>> I normally use the solaris/sparc binary for mod_jk, but I see they aren't 
> available for download with the
>> latest version.  I'm trying to compile JK-1.2.32 with solaris 10/sparc, but 
> I'm receiving errors, below
>> is some information:
>>
>> OS:  Solaris 10 Generic_144488-17
>> H/W: sparc SunFire V440
>> Apache version:  2.2.19
>> Tomcat version:  5.5.33
>> Java version:  1.5.0_30-b03
>>
>> The configure script runs ok.  When I ran make for the first time, I received 
> the below error:
>>
>> Usr/ccs/bin/ld:  illegal option  -- rpath
>>
>> This seemed to be related to a mistake in the .../native/apache-2.0 
> Makefile.  I removed the word "path"
>> from the -r option and was able to get past that error.  Now I get almost 
> through the build and get the below:
>>
>> /usr/local/apache2/build/libtool -silent -mode=install cp 
> mod_jk.la  /export/home/xxxx/tomcat-connectors-1.2.32-src/native/apache-2.0/
>> Cp:   cannot access ..libs/mod_jk.lai
>> Make[1]:  *** [mod_jk.so] Error 2
>>
>> Any help would be appreciated, thanks!
>>
>>
> 
> Did you ever figure out the issue with this?  I am getting the exact same 
> message and I'm running out of ideas on how to solve it.

Which compiler are you using? Sun Studio or gcc?
It should work smoothly with gcc. But in fact you shoudln't change
compiler between the httpd build and mod_jk build. So if your web server
was build with Sun Studio, you would need to build mod_jk with it as
well and vice versa.

I haven't checked building with Sun Studio for a long time, so there
might be problems.

I can have a look, but I'd the full "make" output with the original
Makefile containing the rpath flag. It would be even better, if you
could edit the Makefiles (top level diretory and below) and remove the
"--silent" from the LIBTOOL definition before running the make. As
always first run make clean and then make.

Regards,

Rainer

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org