tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vin <sairam...@yahoo.com>
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
Hi, 
I am having problems creating a mod_jk.so 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 mod_jk.so 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 mod_jk.so file. I have
not modified the makefile at all. 

I get the following error: 

cp .libs/mod_jk.lai /Library/Apache/modules/mod_jk.la
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:
   /Library/Apache/modules
.....
Warning!  dlname not found in
/Library/Apache/modules/mod_jk.la.
Assuming installing a .so rather than a libtool
archive.
chmod 755 /Library/Apache/modules/mod_jk.so
chmod: /Library/Apache/modules/mod_jk.so: 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 
http://mail.yahoo.com 

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


Mime
View raw message