On 18.05.2009 19:38, Martin Gainty wrote: > dl/l tomcat-native-1.1.16-win32-src from > http://tomcat.apache.org/download-native.cgi > Cannot open include file: 'apr.h': No such file or directory? > also i did'nt see makefile ?
Assuming yoiu're asking about Windows build? It's not yet documented, but there are the necessary .dsp/.dsw files. You'll need MS toolset. Don't know, whether cygwin or similar will work. With MS tools, you'll use the .dsp/.dsw files instead of Makefile. On *nix like OS, the Makefile is generated by configure. apr.h: On all platforms you'll need apr to build tcnative. On Windows with MS tools it is assumes, that the apr source gets unpacked besides jni/native (as jni/apr). Regards, Rainer > > >> Date: Mon, 18 May 2009 19:11:10 +0200 >> From: rainer.j...@kippdata.de >> To: users@tomcat.apache.org >> Subject: Re: Trouble building tcnative >> >> On 18.05.2009 18:03, Juha Laiho wrote: >>> Christopher Schultz wrote: >>>> I've never built tcnative before, but I'm no stranger to the standard >>>> UNIX source package build process. I'm having a bit of difficulty >>>> building this. >>> ... >>> >>>> ...and this is where things fall apart for me. Here's the output of >>>> configure (apologies for any bad line wrapping): >>>> >>>> $ ./configure --with-apr=/usr/bin/apr-1-config >>>> checking build system type... i686-pc-linux-gnu >>> ... >>>> ./configure: line 4315: APR_BUILD_DIR: command not found >>>> ./configure: line 4316: APR_INCLUDES: command not found >>>> ... >>>> >>>> This is followed by hundreds of lines of "line xyz: [whatever]: command >>>> not found". >>> That might be an issue with either the shell you're using to start >>> configure, or the default shell for your account. But then, this >>> is just a quick guess. You might want (or not want, actually, but..) >>> to look at perhaps the ten or so lines before 4315 in the configure >>> script. It may also be that the script itself is somehow broken. >> There was a bug in tcnative 1.1.12 with this symptom: >> >> "IFS problem in native/build/tcnative.m4 (rjung) " >> >> It's likely you hit it. I suggest using the latest tcnative version, >> because there were also a couple of functional bugs fixed. On >> >> http://tomcat.apache.org/download-native.cgi >> >> you'll find a download of 1.1.16, which builds exactly like the 1.1.12 >> you were already trying to use (configure et.al.). >> >> Regards, >> >> Rainer --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org