/ Zope / Apsis / Pound Mailing List / Archive / 2008 / 2008-07 / Compiling Pound with PCRE and PerfTools

[ << ] [ >> ]

[ Low apache load / Bartosz Krajnik ... ] [ removing one server from balancer (without ... ]

Compiling Pound with PCRE and PerfTools
"Alfonso Espitia" <aespitia(at)castleworldwide.com>
2008-07-18 22:02:09 [ FULL ]
Hello all, is there anything special that I have to do to compile Pound
with Google PerfTools and the PCRE packages.

I installed Perftools with RPM, and PCRE through configure/make/install.

When I did the "configure" for pound, I didn't see anything about
"checking for..." either PCRE or perftools.  How do I know that they're
linked in correctly?  Is there a way to verify that the installation of
those libraries works?

Thanks.

--Alfonso


--

Please let me know how CASTLE Worldwide can better serve you.
 
++Contact Information++
   Alfonso Espitia
   Web Developer
   Phone: 919.572.6880 x.6933
   Fax: 919.361.2426
   Email: aespitia(at)castleworldwide.com
   http://www.castleworldwide.com

Re: [Pound Mailing List] Compiling Pound with PCRE and PerfTools
Thilo Bangert <bangert(at)gentoo.org>
2008-07-22 21:01:38 [ FULL ]
"Alfonso Espitia" <aespitia(at)castleworldwide.com> said:[...]

this is just one method:
run ldd on your pound binary. if it mentions libtcmalloc (from perftools) 
and libpcre, you are good to go...

like this:
bangert(at)marsupilami ~ $ ldd /usr/sbin/pound
        linux-gate.so.1 =>  (0xffffe000)
        libpcreposix.so.0 => /usr/lib/libpcreposix.so.0 (0xb7f8c000)
        libssl.so.0.9.8 => /usr/lib/libssl.so.0.9.8 (0xb7f49000)
        libcrypto.so.0.9.8 => /usr/lib/libcrypto.so.0.9.8 (0xb7dfd000)
        libresolv.so.2 => /lib/libresolv.so.2 (0xb7deb000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7de7000)
        libm.so.6 => /lib/libm.so.6 (0xb7dc1000)
        libtcmalloc.so.0 => /usr/lib/libtcmalloc.so.0 (0xb7d73000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xb7d5c000)
        libc.so.6 => /lib/libc.so.6 (0xb7c2c000)
        libpcre.so.0 => /usr/lib/libpcre.so.0 (0xb7c03000)
        libz.so.1 => /lib/libz.so.1 (0xb7bf0000)
        libbz2.so.1 => /lib/libbz2.so.1 (0xb7bdf000)
        /lib/ld-linux.so.2 (0xb7fb5000)
        libstdc++.so.6 
=> /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libstdc++.so.6 (0xb7af5000)
        libgcc_s.so.1 
=> /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgcc_s.so.1 (0xb7ae9000)
Attachments:  
signature.asc application/pgp-signature 198 Bytes

RE: [Pound Mailing List] Compiling Pound with PCRE and PerfTools
"Alfonso Espitia" <aespitia(at)castleworldwide.com>
2008-07-23 16:19:21 [ FULL ]
That worked, thank you very much!

--Alfonso 

-----Original Message-----
From: Thilo Bangert [mailto:bangert(at)gentoo.org] 
Sent: Tuesday, July 22, 2008 3:02 PM
To: pound(at)apsis.ch
Subject: Re: [Pound Mailing List] Compiling Pound with PCRE and
PerfTools

"Alfonso Espitia" <aespitia(at)castleworldwide.com> said:[...]

this is just one method:
run ldd on your pound binary. if it mentions libtcmalloc (from
perftools) and libpcre, you are good to go...

like this:
bangert(at)marsupilami ~ $ ldd /usr/sbin/pound
        linux-gate.so.1 =>  (0xffffe000)
        libpcreposix.so.0 => /usr/lib/libpcreposix.so.0 (0xb7f8c000)
        libssl.so.0.9.8 => /usr/lib/libssl.so.0.9.8 (0xb7f49000)
        libcrypto.so.0.9.8 => /usr/lib/libcrypto.so.0.9.8 (0xb7dfd000)
        libresolv.so.2 => /lib/libresolv.so.2 (0xb7deb000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7de7000)
        libm.so.6 => /lib/libm.so.6 (0xb7dc1000)
        libtcmalloc.so.0 => /usr/lib/libtcmalloc.so.0 (0xb7d73000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xb7d5c000)
        libc.so.6 => /lib/libc.so.6 (0xb7c2c000)
        libpcre.so.0 => /usr/lib/libpcre.so.0 (0xb7c03000)
        libz.so.1 => /lib/libz.so.1 (0xb7bf0000)
        libbz2.so.1 => /lib/libbz2.so.1 (0xb7bdf000)
        /lib/ld-linux.so.2 (0xb7fb5000)
        libstdc++.so.6
=> /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libstdc++.so.6 (0xb7af5000)
        libgcc_s.so.1
=> /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgcc_s.so.1 (0xb7ae9000)


--
To unsubscribe send an email with subject unsubscribe to pound(at)apsis.ch.
Please contact roseg(at)apsis.ch for questions.

--
This message has been scanned for viruses and dangerous content by
SecureMail, and is believed to be clean.

MailBoxer