Ok, you seem to be going through the same headache as I was, first off
if you donwloaded the tar.gz src file do this:
Read the README.txt in the src tree and donwload the apr source via cvs,
remove the apr tree in your current webapp-dir and move the one dl via
cvs there instead. 

Now do:
cd apr
./buildconf
cd ..
./configure "user same parmaters as last time but add thees"
--without-libtool --enable-dso 
The last two will be sent to the configure script in apr dir, this is
the way I got it compiled, hope it helps...

Regards 
/Hasse

-----Ursprungligt meddelande-----
Från: Rolf Ochsenbein [mailto:[EMAIL PROTECTED]]
Skickat: den 25 september 2001 14:51
Till: [EMAIL PROTECTED]
Ämne: Re: SV: Problems compiling mod_webapp


Thank you very much... now I am one step further...

'make' doesn't work again... It seems to look for a file mach-o/dyld.h
As stated in another mail in this mailinglist I was looking for all the 
DYLD's in include/arch/unix/apr_private.h and commented them out... no 
success... Well, it seems I am at a dead end again...

Could someone please help me further?
Thank you very much
Red 

In file included from dso.c:55:
../../include/arch/unix/dso.h:67:25: mach-o/dyld.h: No such file or 
directory
dso.c: In function `apr_dso_load':
dso.c:126: `NSObjectFileImage' undeclared (first use in this function)
dso.c:126: (Each undeclared identifier is reported only once
dso.c:126: for each function it appears in.)
dso.c:126: parse error before "image"
dso.c:127: `NSModule' undeclared (first use in this function)
dso.c:129: `image' undeclared (first use in this function)
dso.c:129: `NSObjectFileImageSuccess' undeclared (first use in this 
function)
dso.c:138: `os_handle' undeclared (first use in this function)
dso.c: In function `apr_dso_sym':
dso.c:204: `NSSymbol' undeclared (first use in this function)
dso.c:204: parse error before "symbol"
dso.c:210: `symbol' undeclared (first use in this function)
dso.c:217: warning: assignment makes pointer from integer without a cast
make[4]: *** [dso.lo] Error 1
make[4]: Leaving directory 
`/usr/local/src/webapp-module-1.0-tc40/apr/dso/unix'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory 
`/usr/local/src/webapp-module-1.0-tc40/apr/dso/unix'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/webapp-module-1.0-tc40/apr'
make[1]: Exiting directory "/usr/local/src/webapp-module-1.0-tc40/apr"
make[1]: *** [template] Error 2
make[1]: Leaving directory `/usr/local/src/webapp-module-1.0-tc40'
make: *** [apr-build] Error 2

>>>>>>>>>>>>>>>>>> Ursprüngliche Nachricht <<<<<<<<<<<<<<<<<<

Am 25.09.01, 14:30:05, schrieb Hans-Erik Skyttberg 
<[EMAIL PROTECTED]> zum Thema SV: Problems compiling
mod_webapp:


> Hi!

> I enconterd the same problem as you simple solution to this.

> You need glibc-devel installed.

> Then do this:
> cd /usr/include/sys
> ln -s ../limits.h syslimits.h

> Now you can do make!
> This happened to me on a RedHat 7.1 System...

> /Hasse

> -----Ursprungligt meddelande-----
> Från: Rolf Ochsenbein [mailto:[EMAIL PROTECTED]]
> Skickat: den 25 september 2001 14:17
> Till: [EMAIL PROTECTED]
> Ämne: Problems compiling mod_webapp


> Hi there
> I was looking for mod_webapp fro glibc-2.1.x and didn't find it in the
> bin/ folder of tomcat-4.0. So I tried to compile it myself.

> ./configure --with-apxs=/usr/local/apache/bin/apxs gave me the
> following:
> ( apache-1.3.20, glibc-2.1.3, gcc-3.0.1)

> ...
>  APR configure: checking for sys/syslimits.h... (cached) yes
> ...

> Finishing up
> checking for APR compilation flags... ok
> checking for Makefile targets... /usr/bin/test: too many arguments
> /usr/bin/test: too many arguments
> lib apr apache-1.3
> updating cache ./config.cache
> creating ./config.status
> creating ./Makefile
> creating ./Makedefs
> creating ./lib/Makefile
> creating ./java/Constants.java
> creating ./apache-1.3/Makefile

> All done. Now you can issue "make". Good luck.


> And 'make' ended up like this:

> [root@redrocket webapp-module-1.0-tc40]# make
> make[1]: Entering directory `/usr/local/src/webapp-module-1.0-tc40'

> make[1]: Entering directory "lib"
> make[1]: Invoking "make  build"
> make[2]: Entering directory
`/usr/local/src/webapp-module-1.0-tc40/lib'
> make[2]: Generating "pr_warp_defs.h"
> /usr/local/bin/gcc -g -O2  -g -O2 -DLINUX=2 -D_REENTRANT
> -I/usr/local/src/webapp-module-1.0-tc40/apr/include
> -I/usr/local/src/webapp-module-1.0-tc40/include -c "wa_main.c" -o
> "wa_main.o"
> In file included from
> /usr/local/src/webapp-module-1.0-tc40/apr/include/apr_general.h:61,
>                  from
> /usr/local/src/webapp-module-1.0-tc40/include/wa.h:77,
>                  from wa_main.c:59:
> /usr/local/src/webapp-module-1.0-tc40/apr/include/apr.h:292:27:
> sys/syslimits.h: Datei oder Verzeichnis nicht gefunden
> make[2]: *** [wa_main.o] Error 1
> make[2]: Leaving directory `/usr/local/src/webapp-module-1.0-tc40/lib'
> make[1]: Exiting directory "lib"
> make[1]: *** [template] Error 2
> make[1]: Leaving directory `/usr/local/src/webapp-module-1.0-tc40'
> make: *** [lib-build] Error 2

> What could be wrong?
> Thank you for your help
> Red

Reply via email to