|
From: Leif M. <le...@ta...> - 2005-09-08 13:04:38
|
Andy, Thanks for looking into this. There is a bug open with a fix here: https://sourceforge.net/tracker/?func=detail&atid=425187&aid=1262323&group_id=39428 Thanks to Alphonse It is going to need to be fixed for the 3.2.0 release. Cheers, Leif Andy Barnett wrote: > I downloaded the "wrapper_3.1.2_src.tar.gz" distribution from: > >> http://sourceforge.net/project/showfiles.php? >> group_id=39428&package_id=33658&release_id=273902 > > > Then I ran "./build.sh release", and first I got this error: > >> compile-java: >> Compiling 1 source file to /Users/dab/dev/wrapper_3.1.2_src/build/ >> classes >> javac: target release 1.2 conflicts with default source release 1.5 > > > Oops... Looks like the Wrapper Java build and Mac OS X's JDK 1.5 > don't like each other. So I changed to JDK 1.4 and then got these > errors: > >> compile-c-unix: >> Created dir: /Users/dab/dev/wrapper_3.1.2_src/bin >> if test ! -d .deps; then mkdir .deps; fi >> gcc -O3 -Wall -pedantic -DUSE_NANOSLEEP -DMACOSX wrapper.c >> wrapperinfo.c wrappereventloop.c wrapper_unix.c property.c logger.c >> -lcrypto -o ../../bin/wrapper >> In file included from wrapper.c:367: >> wrapper.h:268: error: parse error before "u_short" >> wrapper.h:268: warning: no semicolon at end of struct or union >> wrapper.h:269: warning: type defaults to 'int' in declaration of >> 'actualPort' >> wrapper.h:269: error: ISO C forbids data definition with no type or >> storage class >> wrapper.h:346: error: parse error before '}' token >> wrapper.h:346: warning: ISO C does not allow extra ';' outside of a >> function >> wrapper.c: In function 'wrapperProtocolStartServer': >> wrapper.c:482: error: dereferencing pointer to incomplete type >> ... > > > Yikes! I am a Java developer not a C developer, so I'm going to have > to wait until the weekend before I can take time to track this down > further. > > If anyone else has any success compiling Wrapper 3.1.2 on Mac OS > 10.4.2 with JDK 1.4 or JDK 1.5 please let me know. > > Cheers, > ~Andy |