How to install mod_jk apache22 and FreeBSD 8.0

Jonathan Chen jonc at chen.org.nz
Thu Dec 10 08:18:19 UTC 2009


On Thu, Dec 10, 2009 at 06:18:41AM +0100, Frederic de la Goublaye wrote:
> 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

You've truncated the last part of the error output, making it
impossible to diagnose what the problem is. At a guess, I'd say that
you've got some funky settings in /etc/make.conf breaking your ports
build; but we really need the output of the last command.
-- 
Jonathan Chen <jonc at chen.org.nz>
----------------------------------------------------------------------
                "I don't want to achive immortality through my works..
                 I want to achieve it through not dying" - Woody Allen


More information about the freebsd-java mailing list