How to install mod_jk apache22 and FreeBSD 8.0

Frederic de la Goublaye fredericdelagoublaye at gmail.com
Thu Dec 10 05:18:43 UTC 2009


ns208234# uname -rs
FreeBSD 8.0-RELEASE

# pwd
/usr/ports/www/mod_jk-apache2

# make clean install

... ... ....
mmon/jk_ajp14.lo ../common/jk_ajp14_worker.lo ../common/jk_md5.lo
../common/jk_shm.lo ../common/jk_ajp_common.lo ../common/jk_context.lo
../common/jk_url.lo ../common/jk_status.lo

/usr/local/lib: file not recognized: File format not recognized
gmake[1]: *** [mod_jk.la] Error 1
gmake[1]: Leaving directory
`/usr/ports/www/mod_jk-apache2/work/tomcat-connectors-1.2.28-src/native/apache-2.0'
gmake: *** [all-recursive] Error 1
*** Error code 1

Stop in /usr/ports/www/mod_jk-apache2.

On Thu, Dec 10, 2009 at 3:58 AM, Jonathan Chen <jonc at chen.org.nz> wrote:
> On Thu, Dec 10, 2009 at 12:25:33AM +0100, Frederic de la Goublaye wrote:
>> The exact error when using the mod_jk-apache2 ports is
>>
>> # cd /usr/ports/www/mod_jk-apache2
>> # make
>>
>> /jk_ajp14_worker.lo ../common/jk_md5.lo ../common/jk_shm.lo
>> ../common/jk_ajp_common.lo ../common/jk_context.lo ../common/jk_url.lo
>> ../common/jk_status.lo
>> /usr/local/lib: file not recognized: File format not recognized
>> gmake[1]: *** [mod_jk.la] Error 1
>> gmake[1]: Leaving directory
>> `/usr/ports/www/mod_jk-apache2/work/tomcat-connectors-1.2.28-src/native/apache-2.0'
>> gmake: *** [all-recursive] Error 1
>> *** Error code 1
>>
>> Stop in /usr/ports/www/mod_jk-apache2.
>
> The errors you've posted don't make sense. Do a "make clean install"
> and post the output again. I've just built it on 8-STABLE/amd64 with
> no errors.
> --
> Jonathan Chen <jonc at chen.org.nz>
> ----------------------------------------------------------------------
> "A little learning is a dangerous thing but a lot of ignorance is
>  just as bad."                                      - Bob Edwards
>


More information about the freebsd-java mailing list