Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Struts - A MVC web framework
Tomcat - JSP/Servlet container
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
JSP - A mailing list about Java Server Pages specification and reference
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
jk connector build problem

jk connector build problem

2005-02-07       - By Thor Muller

 Back
Reply:     1     2  

I think others have had this problem but I can't find an answer that
helps me. I have a fresh install of redhat9 and I've installed Apache
2.053, PHP 4.3.1 and Tomcat 5.5, all without a hitch. Now I'm trying
to compile the mod_jk.so and it gives me the following error. Any
answers would be very much appreciated.

-- ---- ---

# make
Making all in common
make[1]: Entering directory
`/usr/src/jakarta-tomcat-connectors-1 (See http://ors-1.ora-code.com).2.8-src/jk/native/common'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/usr/src/jakarta-tomcat-connectors-1 (See http://ors-1.ora-code.com).2.8-src/jk/native/common'
Making all in apache-2 (See http://che-2.ora-code.com).0
make[1]: Entering directory
`/usr/src/jakarta-tomcat-connectors-1 (See http://ors-1.ora-code.com).2.8-src/jk/native/apache-2 (See http://che-2.ora-code.com).0'
/bin/sh /usr/local/apache/build/libtool --silent --mode=install cp
mod_jk.la `pwd`/mod_jk.so
libtool: install: warning: remember to run `libtool --finish
/usr/local/apache/modules'
make[1]: Leaving directory
`/usr/src/jakarta-tomcat-connectors-1 (See http://ors-1.ora-code.com).2.8-src/jk/native/apache-2 (See http://che-2.ora-code.com).0'
make[1]: Entering directory
`/usr/src/jakarta-tomcat-connectors-1 (See http://ors-1.ora-code.com).2.8-src/jk/native'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory
`/usr/src/jakarta-tomcat-connectors-1 (See http://ors-1.ora-code.com).2.8-src/jk/native'
target="all"; \
list='common apache-2 (See http://che-2.ora-code.com).0'; \
for i in $list; do \
   echo "Making $target in $i"; \
   if test "$i" != "."; then \
      (cd $i && make $target) || exit 1; \
   fi; \
done;
Making all in common
make[1]: Entering directory
`/usr/src/jakarta-tomcat-connectors-1 (See http://ors-1.ora-code.com).2.8-src/jk/native/common'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/usr/src/jakarta-tomcat-connectors-1 (See http://ors-1.ora-code.com).2.8-src/jk/native/common'
Making all in apache-2 (See http://che-2.ora-code.com).0
make[1]: Entering directory
`/usr/src/jakarta-tomcat-connectors-1 (See http://ors-1.ora-code.com).2.8-src/jk/native/apache-2 (See http://che-2.ora-code.com).0'
/bin/sh /usr/local/apache/build/libtool --silent --mode=install cp
mod_jk.la `pwd`/mod_jk.so
libtool: install: warning: remember to run `libtool --finish
/usr/local/apache/modules'
make[1]: Leaving directory
`/usr/src/jakarta-tomcat-connectors-1 (See http://ors-1.ora-code.com).2.8-src/jk/native/apache-2 (See http://che-2.ora-code.com).0'
[root@(protected) native]# make install
Making install in common
make[1]: Entering directory
`/usr/src/jakarta-tomcat-connectors-1 (See http://ors-1.ora-code.com).2.8-src/jk/native/common'
make[1]: Nothing to be done for `install'.
make[1]: Leaving directory
`/usr/src/jakarta-tomcat-connectors-1 (See http://ors-1.ora-code.com).2.8-src/jk/native/common'
Making install in apache-2 (See http://che-2.ora-code.com).0
make[1]: Entering directory
`/usr/src/jakarta-tomcat-connectors-1 (See http://ors-1.ora-code.com).2.8-src/jk/native/apache-2 (See http://che-2.ora-code.com).0'

Installing files to Apache Modules Directory...
/usr/local/apache/bin/apxs -i mod_jk.la
/usr/local/apache/build/instdso.sh
SH_LIBTOOL='/usr/local/apache/build/libtool' mod_jk.la
/usr/local/apache/modules
/usr/local/apache/build/libtool --mode=install cp mod_jk.la
/usr/local/apache/modules/
cp .libs/mod_jk.lai /usr/local/apache/modules/mod_jk.la
cp .libs/mod_jk.a /usr/local/apache/modules/mod_jk.a
ranlib /usr/local/apache/modules/mod_jk.a
chmod 644 /usr/local/apache/modules/mod_jk.a
PATH="$PATH:/sbin" ldconfig -n /usr/local/apache/modules
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Libraries have been installed in:
  /usr/local/apache/modules

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
  - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
    during execution
  - add LIBDIR to the `LD_RUN_PATH' environment variable
    during linking
  - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
  - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Warning!  dlname not found in /usr/local/apache/modules/mod_jk.la.
Assuming installing a .so rather than a libtool archive.
chmod 755 /usr/local/apache/modules/mod_jk.so
chmod: failed to get attributes of
`/usr/local/apache/modules/mod_jk.so': No such file or directory
apxs:Error: Command failed with rc=65536
.
make[1]: *** [install_dynamic] Error 1
make[1]: Leaving directory
`/usr/src/jakarta-tomcat-connectors-1 (See http://ors-1.ora-code.com).2.8-src/jk/native/apache-2 (See http://che-2.ora-code.com).0'
make: *** [install-recursive] Error 1

-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)


©2008 junlu.com - Jax Systems, LLC, U.S.A.