> -----Original Message-----
> From: Henri Gomez [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, March 16, 2006 6:40 AM
> To: Tomcat Developers List
> Subject: Re: [VOTE][RESULT] Tomcat v5.5.16 Stability
> 
> for Linux (Suse SLES 9 PPC and i386)
> 
> to build APR 1.2.2 with static support I used :
> 
> ./configure --with-pic --prefix=/root/local
> 

If you include '--disable-shared', then APR will only build the .a, so that
is all that tcnative will have a choice to link to.

> For tcnative I used :
> 
> ./configure --with-apr=/root/local/bin/apr-1-config
> 
> Then I change the Makefile like this :
> 
> $(TARGET_LIB): $(OBJECTS)
>         $(LINK) -rpath $(libdir) $(OBJECTS)  
> /root/local/lib/libapr-1.a -lrt -lcrypt  -lpthread -ldl -lssl -lcrypto
> 
> Even when build with static support, the APR apr-config (apr-1-config
> here) didn't provide the   /root/local/lib/libapr-1.a ;(
> 
> 2006/3/16, Peter Rossbach <[EMAIL PROTECTED]>:
> > I also can't find apr static link command for MAC OS X. At MAC OS X
> > the tcnative library´suffix must be jnilib instead dylib. How I can
> > change this?
> >
> > peter
> >
> >
> >
> > Am 16.03.2006 um 15:15 schrieb Henri Gomez:
> >
> > > 2006/3/16, Mladen Turk <[EMAIL PROTECTED]>:
> > >> Henri Gomez wrote:
> > >>>
> > >>> We could comment how to build an APR 1.2.2 ready for static
> > >>> inclusion (easy).
> > >>> But the configure/makefile of tcnative should be adapted
> > >>>
> > >>
> > >> You have the commit rights, so what's the problem :)
> > >
> > > One problems :
> > >
> > > - How to get the correct link command from apr-config 
> when APR want to
> > > be used statically. I've got it for Linux but what about 
> AIX / HPUX /
> > > Solaris. Send questions on apr-dev but still not response.
> > >
> > > 
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 



This message is intended only for the use of the person(s) listed above as the 
intended recipient(s), and may contain information that is PRIVILEGED and 
CONFIDENTIAL.  If you are not an intended recipient, you may not read, copy, or 
distribute this message or any attachment. If you received this communication 
in error, please notify us immediately by e-mail and then delete all copies of 
this message and any attachments.

In addition you should be aware that ordinary (unencrypted) e-mail sent through 
the Internet is not secure. Do not send confidential or sensitive information, 
such as social security numbers, account numbers, personal identification 
numbers and passwords, to us via ordinary (unencrypted) e-mail.


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

Reply via email to