RE: building mod_jk failing

2008-03-10 Thread Justin Vassallo
Hello,

 

I am trying to build mod_jk on Solaris 10 x86, which unfortunately is not
available in binary form.

 

I dlded Apache source and built using:

 $ PATH=$PATH:/usr/sfw/bin:/usr/ccs/bin

 $ export PATH SH_LIBS

 $ ./configure --with-included-apr
--prefix=/usr/local/apache/httpd-2.2.8 --enable-so --enable-mods -shared=ssl
--enable-ssl --enable-module=rewrite --enable-shared=rewrite

 

I then dlded mod_jk source, cd native, then tried to build using the apxs
from the Apache i just built from source. I am getting a general error which
is not helping me to identify the problem.

 

Where can i look to get more information? thanks

 

# ./configure --with-apxs=/local/apache/apache2.2.8/bin/apxs

: bad interpreter: No such file or directory

 



smime.p7s
Description: S/MIME cryptographic signature


RE: building mod_jk failing

2008-03-10 Thread Justin Vassallo
Thank you that helped. I got gnumake installed and configure worked fine.
(had to chmod 700 configure and scripts/build/instdso.sh)

Now getting this warning, otherwise .so being created ok:

Warning!  dlname not found in
/local/home/ixops3/tomcat-connectors-1.2.26-src/tomcat-connectors-1.2.26-src
/native/apache-2.0/mod_jk.la.

However, apache is not liking it...
httpd: Syntax error on line 412 of
/local/apache/apache2.2.8/conf/httpd.conf: Cannot load
/local/apache/apache2.2.8/modules/mod_jk.so into server: ld.so.1: httpd:
fatal: /local/apache/apache2.2.8/modules/mod_jk.so: wrong ELF data format:
ELFDATA2MSB

Thanks - j
PS - it was Re since I had posted this before I became a user, and forwarded
once I joined

-Original Message-
From: Rainer Jung [mailto:[EMAIL PROTECTED] 
Sent: 10 March 2008 17:53
To: Tomcat Users List
Subject: Re: building mod_jk failing

Justin Vassallo wrote:
 Hello,
 
 I am trying to build mod_jk on Solaris 10 x86, which unfortunately is not
 available in binary form.
 
 I dlded Apache source and built using:
 
  $ PATH=$PATH:/usr/sfw/bin:/usr/ccs/bin
 
  $ export PATH SH_LIBS
 
  $ ./configure --with-included-apr
 --prefix=/usr/local/apache/httpd-2.2.8 --enable-so --enable-mods
-shared=ssl
 --enable-ssl --enable-module=rewrite --enable-shared=rewrite
 
 I then dlded mod_jk source, cd native, then tried to build using the apxs
 from the Apache i just built from source. I am getting a general error
which
 is not helping me to identify the problem.
 
 Where can i look to get more information? thanks
 
 # ./configure --with-apxs=/local/apache/apache2.2.8/bin/apxs
 
 : bad interpreter: No such file or directory

Not sure, why your mail subject starts with Re:, I couldn't find any 
previous mails in this thread.

configure is a shell script. From the error I would guess, that you 
downloaded the zip source and not the tarball format. The zip file 
contains DOS files, so configure and many other files have DOS line 
endings and using those shell scripts gives an error, because /bin/sh^M 
is not an existing shell.

If I'm right about the zip download, simply choose the .tar.gz download, 
which should work. Are we talking about mod_jk 1.2.26?

Please also make sure, that you are using the make/gmake in /usr/sfw/bin 
and not the Solaris make in /usr/ccs/bin.

Regards,

Rainer

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



smime.p7s
Description: S/MIME cryptographic signature