[5]: ant native for Connectors fails:

2002-10-18 Thread Brzezinski, Paul J
Trying to build Jakarta Tomcat Connectors from 5.0.0 source:

In jakarta-tomcat-connectors/jk

Ant native complains about cc not being found, on Solaris 8, I have gcc in
/em/opt/bin/gcc.  I have no idea how to tell ant that it should use gcc or
/em/opt/bin/gcc instead of cc, and no idea how to configure the args to
libtool that it should gcc instead of cc.

I'd like to figure this out, but need assistance.

Assuming this isn't a known bug, is this something that should be reported
as a bug using bugzilla?

Paul

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




Re: [5]: ant native for Connectors fails:

2002-10-18 Thread Henri Gomez
Brzezinski, Paul J wrote:

Trying to build Jakarta Tomcat Connectors from 5.0.0 source:

In jakarta-tomcat-connectors/jk

Ant native complains about cc not being found, on Solaris 8, I have gcc in
/em/opt/bin/gcc.  I have no idea how to tell ant that it should use gcc or
/em/opt/bin/gcc instead of cc, and no idea how to configure the args to
libtool that it should gcc instead of cc.

I'd like to figure this out, but need assistance.

Assuming this isn't a known bug, is this something that should be reported
as a bug using bugzilla?


You could put /em/opt/bin/ in PATH before compiling ?

export PATH=/em/opt/bin:$PATH

Or set the ant project property :

buid.native.cc=/em/opt/bin/gcc





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




RE: [5]: ant native for Connectors fails: (more)

2002-10-18 Thread Brzezinski, Paul J
Excellent, that fixed the problem of ant spawning libtool w/cc.

There are two other issues that popped up now:

1. in the file jk_channel_socket.c in directory
jakarta-tomcat-5.0.0-src/jakarta-tomcat-connectors/jk/native2/common must be
compiled with -DBSD_COMP on Solaris 8.

2. when building the native (as opposed to the native2) connectors, jni_md.h
isn't found presumably because the -I${java.home}/../include/solaris isn't
set in build.xml.  

I did try to search bugzilla to see if these two issues are already being
tracked, but didn't find anything, which could just be about me not knowing
how to search the bug database...  

Comments, advice, feedback encouraged...

Paul


--
mailto:Paul.Brzezinski;EDS.com
Enterprise Distributed Capabilities
EDS Corporation
248-265-8283


: -Original Message-
: From: Henri Gomez [mailto:hgomez;apache.org] 
: Sent: Friday, October 18, 2002 4:16 AM
: To: Tomcat Developers List
: Subject: Re: [5]: ant native for Connectors fails:
: 
: 
: Brzezinski, Paul J wrote:
:  Trying to build Jakarta Tomcat Connectors from 5.0.0 source:
:  
:  In jakarta-tomcat-connectors/jk
:  
:  Ant native complains about cc not being found, on Solaris 8, I have 
:  gcc in /em/opt/bin/gcc.  I have no idea how to tell ant 
: that it should 
:  use gcc or /em/opt/bin/gcc instead of cc, and no idea how 
: to configure 
:  the args to libtool that it should gcc instead of cc.
:  
:  I'd like to figure this out, but need assistance.
:  
:  Assuming this isn't a known bug, is this something that should be 
:  reported as a bug using bugzilla?
: 
: You could put /em/opt/bin/ in PATH before compiling ?
: 
: export PATH=/em/opt/bin:$PATH
: 
: Or set the ant project property :
: 
: buid.native.cc=/em/opt/bin/gcc
: 
: 
: 
: 
: 
: --
: To unsubscribe, e-mail:   
: mailto:tomcat-dev-: [EMAIL PROTECTED]
: For 
: additional commands, 
: e-mail: mailto:tomcat-dev-help;jakarta.apache.org
: 

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