bash-2.03# env | grep PATH LD_LIBRARY_PATH=/lib:/usr/lib:/usr/local/lib:/usr/local/mysql/lib/mysql CLASSPATH=.:/opt/tomcat/lib/common:/opt/tomcat/lib/common/mysql_uncomp.jar:/opt/ tomcat/lib/jnisso.jar:/opt/tomcat/lib/common/servlet.jar:/usr/jakarta-ant-1.4/cr imson.jar:/usr/jakarta-ant-1.4/jaxp.jar:/usr/jakarta-ant-1.4/xalan.jar:/usr/jaka rta-ant-1.4/lib/ant.jar:/opt/tomcat/lib/common/log4j.jar:/opt/tomcat/lib/common/ log4j-core.jar:/opt/tomcat/lib/common/jndi.jar:/opt/tomcat/lib/common/providerut il.jar:/opt/tomcat/lib/common/ldap.jar:/export/home/dereksin/JMF2.1.1/lib/jmf.ja r:/export/home/dereksin/JMF2.1.1/lib/sound.jar:/opt/tomcat/webapps/sso/WEB-INF/c lasses MANPATH=/usr/local/man:/usr/share/man PATH=/usr/j2se/bin:/usr/j2se/bin:/usr/local/bin:/usr/bin:/usr/sbin:/usr/ccs/bin: .:/usr/jakarta-ant-1.4/bin:/export/home/raymond/package/openssl-0.9.6b/apps/:/us r/dt/bin:/opt/cvs/bin/ bash-2.03# which cc no cc in /usr/j2se/bin /usr/j2se/bin /usr/local/bin /usr/bin /usr/sbin /usr/ccs/ bin . /usr/jakarta-ant-1.4/bin /export/home/raymond/package/openssl-0.9.6b/apps/ /usr/dt/bin /opt/cvs/bin/ bash-2.03# which gcc /usr/local/bin/gcc bash-2.03# which ld /usr/local/bin/ld
-----Original Message----- From: Tino Dai [mailto:[EMAIL PROTECTED]] Sent: Monday, May 27, 2002 9:52 PM To: Tomcat Users List Subject: Re: Use Worker MPM with mod_webapp Steve, Could you do the following on your Solaris machine: env | grep PATH which cc which gcc which ld This should give us a better idea what is going wrong with your compile. Thanks! -Tino On Mon, 2002-05-27 at 06:05, Simon Stewart wrote: > On Fri, May 24, 2002 at 10:07:50AM +0800, Steve Wong wrote: > > > BUT, when I run ./configure --with-apxs=..... FOR mod_webapp It says > > that I cannot mix the gcc and native cc. AND the configuration > > failed. The configuration success if I use Solaris's ld to make > > Apache. > > > > Why will this happen and Is this normal?? > > Did you build Apache with the Solaris tool chain, or the GNU one? > > I'm not an expert, but I would imagine that mixing object (.o) files > generated from different compilers is asking for trouble. One compiler > could well expect certain optimisations, etc. that the other doesn't > implement, or one that implements things differently, not to mention > compiler specific extensions. I'm guessing that both compiler chains > ultimately output an ELF executable, but there's no reason to suppose > that the intermediate stages are going to be compatible with each > other. > > Having said that, I would expect SOs and DSOs to be shared without > trouble. > > I know that the Solaris chain has a lot of trouble with mod_webapp for > some reason. Sorry, this isn't a particularly definitive answer, is it? > > Cheers, > > Simon > > -- > "Cloning forces us to ask some hard questions. For example, which person, > the original or the clone, gets to wear the goatee and be evil?" > --- the Onion > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
