You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Laurent Blume <la...@infores.com> on 2003/04/16 12:47:56 UTC

Building mod_jk2 on Win32

Hello,

I'm using apache 2.0.43 on Windows 2000, with the mod_jk2 connector to 
Tomcat 4.1.24.

I would very much like to upgrade to Apache 2.0.45, but the only 
available binary is specifically for 2.0.43 (and quite old anyway).
So I've been trying to build from source, but so far, without success...
I haven't found any bit of information about how to do it on Windows, I 
looked on the site and using Altavista, no luck.

I've installed the following on my dev system:
  - Apache 2.0.45 w/ headers
  - Tomcat 4.1.24 LE
  - Java SDK 1.4.1_02
  - MS Visual Studio 98
  - Ant 1.5.3
  - Tomcat connectors source 4.1.24

I modified build.properties in coyote/ and jk/ accordingly, set the 
CLASSPATH, and managed to have "ant" build successfully.

When I try to run "ant native", though, bad luck:

BUILD FAILED
file:C:/Program%20Files/Apache%20Group/Tomcat%204.1/jtc-src/jk/native/build.xml:63: 
java.io.IOException: CreateProcess: libtool --mode=compile cc -c -o 
"C:\Program Files\Apache Group\Tomcat 
4.1\jtc-src\jk\build\jk\jni\common\jk_map.o" "-IC:\Program Files\Apache 
Group\Tomcat 4.1\jtc-src\jk\native/common" "-IC:\Program Files\Apache 
Group\Tomcat 4.1\jtc-src\jk\native/jni" 
-Ic:\j2sdk1.4.1_02\jre/../include -I${build.compiler.base}/include -W 
-O3 "C:\Program Files\Apache Group\Tomcat 
4.1\jtc-src\jk\native\common\jk_map.c" error=2

Of course, I had no particular problem on a Solaris system with GCC and 
GNU tools, but I really need it on Windows right now...

Any help/pointer on how to do it ?

Thanks in advance,

Laurent
-- 
   IRI-Secodip                  www.infores.com
   4, rue André Derain          mailto:laurent.blume@infores.com
   F-78240 Chambourcy           tel: +33 (0) 130 06 26 80
   France                       fax: +33 (0) 130 65 09 45


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org