tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vin <>
Subject unable to create a DSO file using mod_jk 1.2.18 Makefile on OS X.
Date Thu, 07 Sep 2006 20:54:48 GMT
I am having problems creating a file on OS
X, 10.4.7 using default mod_jk makefile.apxs. Makefile
compiles all the files correctly but fails to produce
a .so file. I have tried with both apache 2.2.3 and
apache 2.0.x and this didn't work. I was able to
compile a file with apache 1.3 only.

I am aware that there is no need for mod_jk in 2.2.3. 

Here are my specs:

mod_jk version: 1.2.18
OS - OSX 10.4.7
Apache - 2.2.3

I got apache 2.2.3 and compiled it using 

$ ./configure --prefix=/Library/Apache2
--enable-access \
--enable-actions --enable-alias --enable-asis
--enable-auth \
--enable-auth_dbm --enable-auth_digest
--enable-autoindex \
--enable-cache --enable-cgi --enable-dav
--enable-dav_fs \
--enable-deflate --enable-dir --enable-disk_cache \
--enable-dumpio --enable-env --enable-expires
--enable-fastcgi \
--enable-file_cache --enable-headers --enable-imap \
--enable-include --enable-info --enable-log_config \
--enable-log_forensic --enable-logio
--enable-mem_cache --enable-mime \
--enable-mime_magic --enable-negotiation --enable-perl
--enable-rewrite --enable-setenvif --enable-speling
--enable-ssl \
--enable-status --enable-suexec --enable-unique_id
--enable-userdir \
--enable-usertrack --enable-version
--enable-vhost_alias --enable-so \
--enable-module=all --enable-shared=max 

>From here I followed the mod_jk build instructions for
OS X posted on apache docs website. Then I went to my
mod_jk folder and ran ./configure --with-apxs and
pointed to the apache 2.2.3 apxs. I then compiled
apache using make -f Makefile.apxs install. 

The files compiled fine, i have .o, .la, .lai files
but the apxs does NOT create a file. I have
not modified the makefile at all. 

I get the following error: 

cp .libs/mod_jk.lai /Library/Apache/modules/
cp .libs/mod_jk.a /Library/Apache/modules/mod_jk.a
ranlib /Library/Apache/modules/mod_jk.a
chmod 644 /Library/Apache/modules/mod_jk.a
Libraries have been installed in:
Warning!  dlname not found in
Assuming installing a .so rather than a libtool
chmod 755 /Library/Apache/modules/
chmod: /Library/Apache/modules/ No such file
or directory
apxs:Error: Command failed with rc=65536

Any help is appreciated. Thank you. 

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message