tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Wong" <>
Subject RE: Use Worker MPM with mod_webapp
Date Thu, 30 May 2002 01:57:57 GMT

bash-2.03# env | grep PATH
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
bash-2.03# which ld

-----Original Message-----
From: Tino Dai []
Sent: Monday, May 27, 2002 9:52 PM
To: Tomcat Users List
Subject: Re: Use Worker MPM with mod_webapp


  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!


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:   <>
> For additional commands, e-mail: <>

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message