Hi Chong,

I installed pcre and pcre-devel, which worked.  Thank You very much.

I have some configuration issues now that I am troubleshooting.  If I can't
figure them out on my own, I will email the list about them tomorrow.

Thanks again for your help Chong and Yiannis

Mike

> -----Original Message-----
> From: Chong Yu Meng [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, March 18, 2004 11:15 AM
> To: Tomcat Users List
> Subject: Re: Jk2 installation failure
> 
> 
> Mike Burkhouse wrote:
> 
> >Yes, that is the correct path to apxs but it may not have been the 
> >binary that came with apache2.  I did the following:
> >
> >1) mv /usr/sbin/apxs /usr/sbin/apxs.old
> >2) cp /usr/local/src/httpd-2.0-48/support/apxs /usr/sbin/apxs
> >3) chmod 755 /usr/sbin/apxs
> >4) cd /opt/jakarta/jakarta-tomcat-connectors-jk-2.0.2-src/jk/native2
> >5) export CPPFLAGS="-I/usr/include/apr-0"
> >6) chmod 755 ./buildconf.sh
> >7) sh ./buildconf.sh
> >8) ./configure --with-apxs=/usr/sbin/apxs 
> >--with-tomcat-41=/opt/jakarta/jakarta-tomcat
> >   --with-java-home=/usr/java/j2sdk1.4.2_03
> >
> >And jk finally configured.  I edited the server/apache2/Makefile as 
> >directed by changing
> >
> >JK_LDFLAGS=-L${APACHE2_LIBDIR} -lcrypt -lapr-0 -lpcre -lpcreposix 
> >-laprutil-0
> >
> >and ran make which just bombed with: /usr/bin/ld can not find lpcre
> >
> >This is painful.  Did I miss linking a necessary library in the 
> >configure step?
> >
> >Mike
> > 
> >  
> >
> Hi Mike !
> 
> Your guess is partially right. When you specify '-lpcre' you need to 
> ensure that pcre-devel is installed. Painful ? You haven't 
> even gotten 
> to the configuration yet !  ;)
> 
> This is one of the hassles with RPM-based Linux 
> distributions. There is 
> an easy way to get the necessary RPMs without hunting high and low on 
> FTP sites or using rpmfind.net. Just install 'yum' and 
> configure it to 
> point to your nearest yum repository, instead of Red Hat's default 
> repository (which is painfully slow). Then do a 'yum install 
> pcre-devel' 
> and it will find and install the package and all dependencies 
> for you. 
> The upside is, it makes things relatively painless. The 
> downside is that 
> it tends to install everything and the kitchen sink into your system.
> 
> -- 
> "We must respect the other fellow's religion, but only in the 
> sense and to the extent that we respect his theory that his 
> wife is beautiful and his children are smart." 
>                                       -- Henry Mencken
> +----------------------------------------------------------------+
> | Pascal Chong                                                   |
> | email: [EMAIL PROTECTED]                                  |
> |                                                                |
> | Please visit my site at : http://cymulacrum.net                |
> | If you're using my documentation, please read the Terms and    |
> | and Conditions at http://cymulacrum.net/terms.html             |
> +----------------------------------------------------------------+
> 
> 
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to