Re: Mod_JK 1.2.8, gcc 3.4.3 on Linux RH ES3 - compile error

2005-01-05 Thread John P. Dodge
On Wed, 5 Jan 2005, Thomas Tinnes wrote:

> Mladen,
>
> No luck, alas. Same error. But thank you for the pointer, all the same.
>
> [EMAIL PROTECTED] make
> Making all in common
> make[1]: Entering directory
> file or directory
> make[1]: *** [jk_ajp12_worker.lo] Error 1
> make[1]: Leaving directory
> `/tmp/jk/jakarta-tomcat-connectors-1.2.8-src/jk/native/common'
> make: *** [all-recursive] Error 1
>
>
> > Perhaps the error is caused by space between -I and /usr/local/java
> > Have no idea why this happening. I've tested the build on
> > RH9 not on RHE3.
> >
> > Edit the common/Makefile.in and remove the spaces:
> > From:
> > JAVA_INCL=-I @JAVA_HOME@/include -I @JAVA_HOME@/include/@OS@
> > To:
> > [EMAIL PROTECTED]@/include [EMAIL PROTECTED]@/include/@OS@
> >
> > Tell me if that helps.
> >
> > Mladen.

Try running the buildconf.sh script to build the configure file. Then run
your configure operation. I generally don't have success with the bundled
configure file.



"Mon aƩroglisseur est plein d'anguilles"
John P. Dodge
Boeing Shared Services


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Mod_JK 1.2.8, gcc 3.4.3 on Linux RH ES3 - compile error

2005-01-05 Thread Caldarale, Charles R
> From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
> Subject: RE: Mod_JK 1.2.8, gcc 3.4.3 on Linux RH ES3 - compile error
> 
> P.S. I believe there should be a space before each -I, but it 
> may be optional.

Make that AFTER each -I.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Mod_JK 1.2.8, gcc 3.4.3 on Linux RH ES3 - compile error

2005-01-05 Thread Mladen Turk
Thomas Tinnes wrote:
Mladen,
No luck, alas. Same error. But thank you for the pointer, all the same.
Seems that the space is not a problem, but
you have a strange entry:
> -I/usr/src/redhat/BUILD/httpd-2.0.46/prefork/srclib/apr/include
> /usr/src/redhat/BUILD/httpd-2.0.46/srclib/apr/include ...
Seems like -I is missing from the last line.
Mladen.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Mod_JK 1.2.8, gcc 3.4.3 on Linux RH ES3 - compile error

2005-01-05 Thread Caldarale, Charles R
> From: Thomas Tinnes [mailto:[EMAIL PROTECTED]
> Subject: Re: Mod_JK 1.2.8, gcc 3.4.3 on Linux RH ES3 - compile error
> 
> -I/usr/src/redhat/BUILD/httpd-2.0.46/prefork/srclib/apr/include 
> /usr/src/redhat/BUILD/httpd-2.0.46/srclib/apr/include -g -O2 

I think the problem is directly above: there's no -I before the 2nd include 
file, so the compiler is interpreting it as the target of the compilation.

 - Chuck

P.S. I believe there should be a space before each -I, but it may be optional.


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Mod_JK 1.2.8, gcc 3.4.3 on Linux RH ES3 - compile error

2005-01-05 Thread Thomas Tinnes
Mladen,
No luck, alas. Same error. But thank you for the pointer, all the same.
[EMAIL PROTECTED] make
Making all in common
make[1]: Entering directory 
`/tmp/jk/jakarta-tomcat-connectors-1.2.8-src/jk/native/common'
/bin/sh /usr/bin/libtool --silent --mode=compile gcc 
-I/usr/include/httpd -g -O2 -O2 -g -pipe -march=i386 -mcpu=i686 
-DSSL_EXPERIMENTAL_ENGINE -I/usr/kerberos/include -pthread -DHAVE_APR 
-I/usr/src/redhat/BUILD/httpd-2.0.46/prefork/srclib/apr/include 
/usr/src/redhat/BUILD/httpd-2.0.46/srclib/apr/include -g -O2 -DLINUX=2 
-D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE 
-D_GNU_SOURCE -I /usr/local/java/include -I /usr/local/java/include/ -c 
jk_ajp12_worker.c
gcc: /usr/src/redhat/BUILD/httpd-2.0.46/srclib/apr/include: linker 
input file unused because linking not done
cc1: /usr/src/redhat/BUILD/httpd-2.0.46/srclib/apr/include: No such 
file or directory
make[1]: *** [jk_ajp12_worker.lo] Error 1
make[1]: Leaving directory 
`/tmp/jk/jakarta-tomcat-connectors-1.2.8-src/jk/native/common'
make: *** [all-recursive] Error 1

On Jan 4, 2005, at 11:30 PM, Mladen Turk wrote:
Perhaps the error is caused by space between -I and /usr/local/java
Have no idea why this happening. I've tested the build on
RH9 not on RHE3.
Edit the common/Makefile.in and remove the spaces:
From:
JAVA_INCL=-I @JAVA_HOME@/include -I @JAVA_HOME@/include/@OS@
To:
[EMAIL PROTECTED]@/include [EMAIL PROTECTED]@/include/@OS@
Tell me if that helps.
Mladen.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Mod_JK 1.2.8, gcc 3.4.3 on Linux RH ES3 - compile error

2005-01-04 Thread Mladen Turk
Thomas Tinnes wrote:
make[1]: Entering directory 
`/tmp/jk/jakarta-tomcat-connectors-1.2.8-src/jk/native/common'
-D_GNU_SOURCE -I /usr/local/java/include -I /usr/local/java/include/ -c 
jk_ajp12_worker.c
Perhaps the error is caused by space between -I and /usr/local/java
Have no idea why this happening. I've tested the build on
RH9 not on RHE3.
Edit the common/Makefile.in and remove the spaces:
From:
JAVA_INCL=-I @JAVA_HOME@/include -I @JAVA_HOME@/include/@OS@
To:
[EMAIL PROTECTED]@/include [EMAIL PROTECTED]@/include/@OS@
Any insight would be very welcome. Thanks.
Tell me if that helps.
Mladen.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]