Thanks, that worked perfectly and I got past that error and onto the next..
I'm ready to get this thing built, but have run into another error regarding
the LDFLAGS_SHLIB variable and apxs. It doesn't appear that LDFLAGS_SHLIB is
set before the build, so i was assuming it got set perhaps during the build?
Don't know, and there wasn't any help from USENET or the web. Any ideas?

make[1]: Entering directory "apache-1.3"
make[1]: Invoking "make  build"
make[2]: Entering directory `/tmp/webapp-module-1.0-tc40/apache-1.3'
{ APXS_LDFLAGS_SHLIB="`/usr/local/apache/bin/apxs -q LDFLAGS_SHLIB` \
         \
        -lm -lcrypt -lnsl -ldl" ; \
    APXS_LDFLAGS_SHLIB=`/bin/echo ${APXS_LDFLAGS_SHLIB}` ; \
    APXS_CFLAGS="`/usr/local/apache/bin/apxs -q CFLAGS` \
        -g -O2 \
        -g -O2 \
        -DDEBUG \
        -DLINUX=2 -D_REENTRANT \
        -I/tmp/webapp-module-1.0-tc40/apr/include \
        -I/tmp/webapp-module-1.0-tc40/include \
        " ; \
    APXS_CFLAGS=`/bin/echo ${APXS_CFLAGS}` ; \
    /usr/local/apache/bin/apxs \
        -S CFLAGS="${APXS_CFLAGS}" \
        -S LDFLAGS_SHLIB="${APXS_LDFLAGS_SHLIB}" \
        -o "mod_webapp.so" \
        -c "mod_webapp.c" \
        "/tmp/webapp-module-1.0-tc40/lib/libwebapp.a" \
        "/tmp/webapp-module-1.0-tc40/lib/libapr.a" ; \
}
apxs:Error: no config variable LDFLAGS_SHLIB
Usage: apxs -g [-S <var>=<val>] -n <modname>
       apxs -q [-S <var>=<val>] <query> ...
       apxs -c [-S <var>=<val>] [-o <dsofile>] [-D <name>[=<value>]]
               [-I <incdir>] [-L <libdir>] [-l <libname>] [-Wc,<flags>]
               [-Wl,<flags>] <files> ...
       apxs -i [-S <var>=<val>] [-a] [-A] [-n <modname>] <dsofile> ...
       apxs -e [-S <var>=<val>] [-a] [-A] [-n <modname>] <dsofile> ...
make[2]: *** [mod_webapp.so] Error 1
make[2]: Leaving directory `/tmp/webapp-module-1.0-tc40/apache-1.3'
make[1]: Exiting directory "apache-1.3"
make[1]: *** [template] Error 2
make[1]: Leaving directory `/tmp/webapp-module-1.0-tc40'
make: *** [apache-1.3-build] Error 2





On Sun, 23 Sep 2001 18:13:22 -0700, [EMAIL PROTECTED] wrote:

  On Sunday 23 September 2001 05:54 pm, [EMAIL PROTECTED] wrote:
  
  Can you see if your platform actually has a copy of mach-o/dyld.h in
  /usr/include or /usr/local/include
  
  In the meantime, if you do the following, everything should work:
  
  edit apr/include/arch/unix/apr_private.h
  search for DYLD.  Whenever you find it, just comment out that line.
  
  Ryan
  
  > Hello, I can't seem to get mod_webapp to make correctly. My system is
  > RedHat Linux 7.1 and I have successfully run configure, but get an error
  > when I try to make:
  >
  > In file included from dso.c:55:
  > ../../include/arch/unix/dso.h:67:25: mach-o/dyld.h: No such file or
  > directory
  >
  > now, I realize that dyld.h is for MacOS X, and that the configure script
  > probably shouldn't be saying:
  >
  >     APR configure: checking for mach-o/dyld.h... (cached) yes
  > i tried deleting the config.cache, and that didn't seem to do it. I
  > searched the groups, mailing lists, etc with no luck. I suspect i
somehow
  > need to tell my system that it indeed does NOT have dyld.h --- but how
do i
  > do this? or is there a workaround to get mod_webapp to build?
  >
  > thank you
  >
  >
  >
  >
  >
  > _______________________________________________________
  > http://inbox.excite.com
  
  -- 
  
  ______________________________________________________________
  Ryan Bloom                            [EMAIL PROTECTED]
  Covalent Technologies                 [EMAIL PROTECTED]
  --------------------------------------------------------------





_______________________________________________________
http://inbox.excite.com


Reply via email to