You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jean-Luc BEAUDET <be...@toolchest.cyber.kodak.com> on 2001/10/31 12:17:09 UTC

Just for yur information

  Hi all,

  Tryin' to compile mod_webapp.so with the last nightly snapshot
  webapp-module-20011025
  with ./configure --with-apxs=...  --with-tomcat=...

  The first time i had the --with-java added but it was generatin' some
java compil errors
  that i found comin' from the warp.jar (?)
  I decided to put this option out of my script and 'blanked' my
CLASSPATH with
  CLASSPATH=""; export CLASSPATH.

  It then runned further since i got brand new errors concerning some
missing *.h to build
  mod_webapp.so.

  After long investigations ( i'm not so familiar with Makefile ) i
finally got it.
  My Apache_1.3.20 Server is compile with special options.
  The make cmd had an error concerning an option not very regular; so
that
  after making an Inculde of $APACHE_HOME/include, it was not able to
include
  anything else.

  The way i found to go out of it was to modify the
$WEBAPP_SRC/apache-1.3/Makefile
  generated by the ./configure this way:

  $(MODULE) :    $(SRCS)  $(TGTDIR)/lib/libapr.a .........
                           { APXS_LDFLAGS_SHLIB='`$(APXS)  -q
LDFLAGS_SHLIB`  \   #  ["] replaced by [']
                                                 $(APR_LDFLAGS)  \
                                                 $( APR_LIBS) ' ;
\              # ["] replaced by [']

  ../..
                                APX_CFLAGS='`$(APXS)  -q  CFLAGS`  \
" ["] replaced by [']
                                           $CFLAGS  \
  ../..
                                           -I $(SRCDIR)/include  \
                                            $(APR_INCLUDES)' ; \      #
["]  replaced by [']

  Well, hope that'll help

  Jean-Luc :Oo)


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>