/ Zope / Apsis / Pound Mailing List / Archive / 2011 / 2011-02 / RE: [Pound Mailing List] Error compiling 2.6c

[ << ] [ >> ]

[ FIN not sent / Sylvester De Paiva ... ] [ HTTPS proxy / Benjamin MONTHOUËL ... ]

RE: [Pound Mailing List] Error compiling 2.6c
"Michael St. Laurent" <mikes(at)hartwellcorp.com>
2011-02-01 18:50:45 [ FULL ]
I haven't found a fix for this yet.  Can anyone help?  I have OpenSSL
installed and all the stable releases of Pound are able to compile on
this system.
[...]
it[...]

RE: [Pound Mailing List] Error compiling 2.6c
"Michael St. Laurent" <mikes(at)hartwellcorp.com>
2011-02-01 19:03:18 [ FULL ]
Does the info at the link below apply?

http://code.google.com/p/drg2sbg/source/detail?r=6
[...]
to[...]
disruption?[...]
pound(at)apsis.ch.[...]

RE: [Pound Mailing List] Error compiling 2.6c
Robert Segall <roseg(at)apsis.ch>
2011-02-01 20:01:49 [ FULL ]
On Tue, 2011-02-01 at 10:03 -0800, Michael St. Laurent wrote:[...]

No.
[...]
[...]
SSL installation. Try running ./configure --with-ssl=/whatever/path[...]

RE: [Pound Mailing List] Error compiling 2.6c
"Michael St. Laurent" <mikes(at)hartwellcorp.com>
2011-02-01 20:15:03 [ FULL ]
This is on a CentOS 5.5 system so the path should just be /lib as far as I can
tell.  Here is the output from rpm -ql openssl

[root(at)hcfw1 i386]# rpm -ql openssl
/etc/pki/CA
/etc/pki/CA/private
/etc/pki/tls
/etc/pki/tls/cert.pem
/etc/pki/tls/certs
/etc/pki/tls/certs/Makefile
/etc/pki/tls/certs/ca-bundle.crt
/etc/pki/tls/certs/make-dummy-cert
/etc/pki/tls/misc
/etc/pki/tls/misc/CA
/etc/pki/tls/misc/c_hash
/etc/pki/tls/misc/c_info
/etc/pki/tls/misc/c_issuer
/etc/pki/tls/misc/c_name
/etc/pki/tls/openssl.cnf
/etc/pki/tls/private
/lib/.libcrypto.so.0.9.8e.hmac
/lib/.libcrypto.so.6.hmac
/lib/.libssl.so.0.9.8e.hmac
/lib/.libssl.so.6.hmac
/lib/libcrypto.so.0.9.8e
/lib/libcrypto.so.6
/lib/libssl.so.0.9.8e
/lib/libssl.so.6
/usr/bin/openssl
/usr/lib/openssl
/usr/lib/openssl/engines
/usr/lib/openssl/engines/lib4758cca.so
/usr/lib/openssl/engines/libaep.so
/usr/lib/openssl/engines/libatalla.so
/usr/lib/openssl/engines/libchil.so
/usr/lib/openssl/engines/libcswift.so
/usr/lib/openssl/engines/libgmp.so
/usr/lib/openssl/engines/libnuron.so
/usr/lib/openssl/engines/libsureware.so
/usr/lib/openssl/engines/libubsec.so
/usr/share/doc/openssl-0.9.8e
/usr/share/doc/openssl-0.9.8e/CHANGES
/usr/share/doc/openssl-0.9.8e/FAQ
/usr/share/doc/openssl-0.9.8e/INSTALL
/usr/share/doc/openssl-0.9.8e/LICENSE
/usr/share/doc/openssl-0.9.8e/NEWS
/usr/share/doc/openssl-0.9.8e/README
/usr/share/doc/openssl-0.9.8e/README.FIPS
/usr/share/doc/openssl-0.9.8e/c-indentation.el
/usr/share/doc/openssl-0.9.8e/openssl.txt
/usr/share/doc/openssl-0.9.8e/openssl_button.gif
/usr/share/doc/openssl-0.9.8e/openssl_button.html
/usr/share/doc/openssl-0.9.8e/ssleay.txt
/usr/share/man/man1/asn1parse.1ssl.gz
/usr/share/man/man1/ca.1ssl.gz
/usr/share/man/man1/ciphers.1ssl.gz
/usr/share/man/man1/crl.1ssl.gz
/usr/share/man/man1/crl2pkcs7.1ssl.gz
/usr/share/man/man1/dgst.1ssl.gz
/usr/share/man/man1/dhparam.1ssl.gz
/usr/share/man/man1/dsa.1ssl.gz
/usr/share/man/man1/dsaparam.1ssl.gz
/usr/share/man/man1/ec.1ssl.gz
/usr/share/man/man1/ecparam.1ssl.gz
/usr/share/man/man1/enc.1ssl.gz
/usr/share/man/man1/errstr.1ssl.gz
/usr/share/man/man1/gendsa.1ssl.gz
/usr/share/man/man1/genrsa.1ssl.gz
/usr/share/man/man1/md2.1ssl.gz
/usr/share/man/man1/md4.1ssl.gz
/usr/share/man/man1/md5.1ssl.gz
/usr/share/man/man1/mdc2.1ssl.gz
/usr/share/man/man1/nseq.1ssl.gz
/usr/share/man/man1/ocsp.1ssl.gz
/usr/share/man/man1/openssl.1ssl.gz
/usr/share/man/man1/pkcs12.1ssl.gz
/usr/share/man/man1/pkcs7.1ssl.gz
/usr/share/man/man1/pkcs8.1ssl.gz
/usr/share/man/man1/req.1ssl.gz
/usr/share/man/man1/ripemd160.1ssl.gz
/usr/share/man/man1/rsa.1ssl.gz
/usr/share/man/man1/rsautl.1ssl.gz
/usr/share/man/man1/s_client.1ssl.gz
/usr/share/man/man1/s_server.1ssl.gz
/usr/share/man/man1/s_time.1ssl.gz
/usr/share/man/man1/sess_id.1ssl.gz
/usr/share/man/man1/sha.1ssl.gz
/usr/share/man/man1/sha1.1ssl.gz
/usr/share/man/man1/smime.1ssl.gz
/usr/share/man/man1/speed.1ssl.gz
/usr/share/man/man1/spkac.1ssl.gz
/usr/share/man/man1/sslpasswd.1ssl.gz
/usr/share/man/man1/sslrand.1ssl.gz
/usr/share/man/man1/verify.1ssl.gz
/usr/share/man/man1/version.1ssl.gz
/usr/share/man/man1/x509.1ssl.gz
/usr/share/man/man5/config.5ssl.gz
/usr/share/man/man5/x509v3_config.5ssl.gz
/usr/share/man/man7/des_modes.7ssl.gz
[root(at)hcfw1 i386]#
[...]

RE: [Pound Mailing List] Error compiling 2.6c
"Michael St. Laurent" <mikes(at)hartwellcorp.com>
2011-02-01 20:18:30 [ FULL ]
> > > > ... [snip] ...[...]

I forgot to say that specifying the /lib directory for the --with-ssl parameter
does not help:

[root(at)hcfw1 Pound-2.6c]# ./configure --with-ssl=/lib
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
configure: *** Checking for threads library and/or flags ***
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... no
checking whether pthreads work with -pthreads... no
checking whether pthreads work with -mthreads... no
checking for the pthreads library -lpthread... no
checking whether pthreads work with --thread-safe... no
checking whether pthreads work with -mt... no
checking for pthread-config... no
configure: *** Parsing options ***
configure: *** Checking for libraries ***
checking for dlopen in -ldl... no
checking for socket in -lsocket... no
checking for hstrerror in -lresolv... no
checking for BIO_new in -lcrypto... no
Missing OpenSSL (-lcrypto) - aborted
[root(at)hcfw1 Pound-2.6c]#

RE: [Pound Mailing List] Error compiling 2.6c
"Michael St. Laurent" <mikes(at)hartwellcorp.com>
2011-02-01 20:38:12 [ FULL ]
My previous send seems to have been scrambled somehow so I am resending.
[...]

This is on a CentOS 5.5 system so the path should just be /lib as far as I can
tell.  Here is the output from rpm -ql openssl

[root(at)hcfw1 i386]# rpm -ql openssl
/etc/pki/CA
/etc/pki/CA/private
/etc/pki/tls
/etc/pki/tls/cert.pem
/etc/pki/tls/certs
/etc/pki/tls/certs/Makefile
/etc/pki/tls/certs/ca-bundle.crt
/etc/pki/tls/certs/make-dummy-cert
/etc/pki/tls/misc
/etc/pki/tls/misc/CA
/etc/pki/tls/misc/c_hash
/etc/pki/tls/misc/c_info
/etc/pki/tls/misc/c_issuer
/etc/pki/tls/misc/c_name
/etc/pki/tls/openssl.cnf
/etc/pki/tls/private
/lib/.libcrypto.so.0.9.8e.hmac
/lib/.libcrypto.so.6.hmac
/lib/.libssl.so.0.9.8e.hmac
/lib/.libssl.so.6.hmac
/lib/libcrypto.so.0.9.8e
/lib/libcrypto.so.6
/lib/libssl.so.0.9.8e
/lib/libssl.so.6
/usr/bin/openssl
/usr/lib/openssl
/usr/lib/openssl/engines
/usr/lib/openssl/engines/lib4758cca.so
/usr/lib/openssl/engines/libaep.so
/usr/lib/openssl/engines/libatalla.so
/usr/lib/openssl/engines/libchil.so
/usr/lib/openssl/engines/libcswift.so
/usr/lib/openssl/engines/libgmp.so
/usr/lib/openssl/engines/libnuron.so
/usr/lib/openssl/engines/libsureware.so
/usr/lib/openssl/engines/libubsec.so
/usr/share/doc/openssl-0.9.8e
/usr/share/doc/openssl-0.9.8e/CHANGES
/usr/share/doc/openssl-0.9.8e/FAQ
/usr/share/doc/openssl-0.9.8e/INSTALL
/usr/share/doc/openssl-0.9.8e/LICENSE
/usr/share/doc/openssl-0.9.8e/NEWS
/usr/share/doc/openssl-0.9.8e/README
/usr/share/doc/openssl-0.9.8e/README.FIPS
/usr/share/doc/openssl-0.9.8e/c-indentation.el
/usr/share/doc/openssl-0.9.8e/openssl.txt
/usr/share/doc/openssl-0.9.8e/openssl_button.gif
/usr/share/doc/openssl-0.9.8e/openssl_button.html
/usr/share/doc/openssl-0.9.8e/ssleay.txt
/usr/share/man/man1/asn1parse.1ssl.gz
/usr/share/man/man1/ca.1ssl.gz
/usr/share/man/man1/ciphers.1ssl.gz
/usr/share/man/man1/crl.1ssl.gz
/usr/share/man/man1/crl2pkcs7.1ssl.gz
/usr/share/man/man1/dgst.1ssl.gz
/usr/share/man/man1/dhparam.1ssl.gz
/usr/share/man/man1/dsa.1ssl.gz
/usr/share/man/man1/dsaparam.1ssl.gz
/usr/share/man/man1/ec.1ssl.gz
/usr/share/man/man1/ecparam.1ssl.gz
/usr/share/man/man1/enc.1ssl.gz
/usr/share/man/man1/errstr.1ssl.gz
/usr/share/man/man1/gendsa.1ssl.gz
/usr/share/man/man1/genrsa.1ssl.gz
/usr/share/man/man1/md2.1ssl.gz
/usr/share/man/man1/md4.1ssl.gz
/usr/share/man/man1/md5.1ssl.gz
/usr/share/man/man1/mdc2.1ssl.gz
/usr/share/man/man1/nseq.1ssl.gz
/usr/share/man/man1/ocsp.1ssl.gz
/usr/share/man/man1/openssl.1ssl.gz
/usr/share/man/man1/pkcs12.1ssl.gz
/usr/share/man/man1/pkcs7.1ssl.gz
/usr/share/man/man1/pkcs8.1ssl.gz
/usr/share/man/man1/req.1ssl.gz
/usr/share/man/man1/ripemd160.1ssl.gz
/usr/share/man/man1/rsa.1ssl.gz
/usr/share/man/man1/rsautl.1ssl.gz
/usr/share/man/man1/s_client.1ssl.gz
/usr/share/man/man1/s_server.1ssl.gz
/usr/share/man/man1/s_time.1ssl.gz
/usr/share/man/man1/sess_id.1ssl.gz
/usr/share/man/man1/sha.1ssl.gz
/usr/share/man/man1/sha1.1ssl.gz
/usr/share/man/man1/smime.1ssl.gz
/usr/share/man/man1/speed.1ssl.gz
/usr/share/man/man1/spkac.1ssl.gz
/usr/share/man/man1/sslpasswd.1ssl.gz
/usr/share/man/man1/sslrand.1ssl.gz
/usr/share/man/man1/verify.1ssl.gz
/usr/share/man/man1/version.1ssl.gz
/usr/share/man/man1/x509.1ssl.gz
/usr/share/man/man5/config.5ssl.gz
/usr/share/man/man5/x509v3_config.5ssl.gz
/usr/share/man/man7/des_modes.7ssl.gz
[root(at)hcfw1 i386]#


Given the above I tried specifying --with-ssl=/lib but as you can see from the
output below it did not help:

[root(at)hcfw1 Pound-2.6c]# ./configure --with-ssl=/lib
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
configure: *** Checking for threads library and/or flags ***
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... no
checking whether pthreads work with -pthreads... no
checking whether pthreads work with -mthreads... no
checking for the pthreads library -lpthread... no
checking whether pthreads work with --thread-safe... no
checking whether pthreads work with -mt... no
checking for pthread-config... no
configure: *** Parsing options ***
configure: *** Checking for libraries ***
checking for dlopen in -ldl... no
checking for socket in -lsocket... no
checking for hstrerror in -lresolv... no
checking for BIO_new in -lcrypto... no
Missing OpenSSL (-lcrypto) - aborted
[root(at)hcfw1 Pound-2.6c]#

RE: [Pound Mailing List] Error compiling 2.6c
Robert Segall <roseg(at)apsis.ch>
2011-02-03 18:55:45 [ FULL ]
Sorry, I mixed up two posts:

- in your post you mention a CentOS installation. You have most likely
not installed the OpnSSL development RPM.

- there was another post mentioning an OpenBSD installation. Most likely
needs ./configure --with-ssl=... in order to find the files[...]

RE: [Pound Mailing List] Error compiling 2.6c
"Michael St. Laurent" <mikes(at)hartwellcorp.com>
2011-02-03 22:09:37 [ FULL ]
> - in your post you mention a CentOS installation. You have most
likely[...]

I have that package installed:

[root(at)hcfw1 etc]# yum list openssl-devel
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * addons: mirror.5ninesolutions.com
 * base: mirrors.ecvps.com
 * dell-community: linux.dell.com
 * epel: mirror.hmc.edu
 * extras: mirrors.xmission.com
 * rpmforge: ftp-stud.fht-esslingen.de
 * updates: linux.mirrors.es.net
Installed Packages
openssl-devel.i386                  0.9.8e-12.el5_5.7                 
installed
[root(at)hcfw1 etc]#

RE: Error compiling 2.6c
"Michael St. Laurent" <mikes(at)hartwellcorp.com>
2011-02-04 20:13:11 [ FULL ]
My emails to the list have been arriving back in my inbox looking garbled. 
They seem fine in the online archive of the list, however.  So I’m resending
this one in HTML format instead of plain text to see if that comes through any
better.

 
[...]
[...]

 

No sir, I have that package installed:

 

[root(at)hcfw1 etc]# yum list openssl-devel

Loaded plugins: fastestmirror

Loading mirror speeds from cached hostfile

* addons: mirror.5ninesolutions.com

* base: mirrors.ecvps.com

* dell-community: linux.dell.com

* epel: mirror.hmc.edu

* extras: mirrors.xmission.com

* rpmforge: ftp-stud.fht-esslingen.de

* updates: linux.mirrors.es.net

Installed Packages

openssl-devel.i386                  0.9.8e-12.el5_5.7                 
installed

[root(at)hcfw1 etc]#
Attachments:  
text.html text/html 5303 Bytes

RE: [Pound Mailing List] Error compiling 2.6c
"Michael St. Laurent" <mikes(at)hartwellcorp.com>
2011-02-09 19:32:33 [ FULL ]
> configure: *** Parsing options ***
[...]
[...]
[...]
[...]
[...]
[...]
[...]

 

I still have this problem.  Are there any more ideas I can check out?  The
configure script does not appear to be detecting that I have the openssl and/or
openssl-devel packages installed.  They are both definitely installed and
Pound-2.5 compiled fine on this same system.
Attachments:  
text.html text/html 3361 Bytes

RE: [Pound Mailing List] Error compiling 2.6c
Joe Gooch <mrwizard(at)k12system.com>
2011-02-09 23:31:09 [ FULL ]
Seems like you have gcc 4.1.2 and it doesn't like a compile option...

Edit configure... search for no-unused-result and remove the -Wno-unused-result
from the CPPFLAGS line....  My lines look like this around line 3235  (pound
2.6a file though)

CPPFLAGS="${CPPFLAGS} -D_REENTRANT -D_THREAD_SAFE"

if  test "${CC}" = "gcc"
then
    CPPFLAGS="${CPPFLAGS} -Wstrict-prototypes -Wno-unused-result -pipe"
Fi



Remove the -Wno-unused-result and rerun configure, see if that fixes you up.


Joe

RE: [Pound Mailing List] Error compiling 2.6c
Joe Gooch <mrwizard(at)k12system.com>
2011-02-09 23:37:28 [ FULL ]
Seems like you have gcc 4.1.2 and it doesn't like a compile option...

Edit configure... search for no-unused-result and remove the -Wno-unused-result
from the CPPFLAGS line....  My lines look like this around line 3235  (pound
2.6a file though)

CPPFLAGS="${CPPFLAGS} -D_REENTRANT -D_THREAD_SAFE"

if  test "${CC}" = "gcc"
then
    CPPFLAGS="${CPPFLAGS} -Wstrict-prototypes -Wno-unused-result -pipe"
Fi



Remove the -Wno-unused-result and rerun configure, see if that fixes you up.


Joe

RE: [Pound Mailing List] Error compiling 2.6c
"Michael St. Laurent" <mikes(at)hartwellcorp.com>
2011-02-10 01:51:46 [ FULL ]
> Seems like you have gcc 4.1.2 and it doesn't like a compile option...
[...]
[...]
-Wno-unused-
[...]
[...]
[...]
[...]
[...]
[...]
[...]
[...]
[...]
[...]
[...]
[...]
[...]
you
[...]

 

I think that will do the trick.  Thanks.  J
Attachments:  
text.html text/html 3036 Bytes

RE: [Pound Mailing List] Error compiling 2.6c
"Michael St. Laurent" <mikes(at)hartwellcorp.com>
2011-02-10 02:45:27 [ FULL ]
Now that I can compile 2.6c I am running into the following which is
logged once a second as soon as I start Pound:

 

Feb  9 17:29:31 hcfw1 pound: create thr_http: Resource temporarily
unavailable - aborted

Feb  9 17:29:31 hcfw1 pound: MONITOR: worker exited normally 1,
restarting...
Attachments:  
text.html text/html 2210 Bytes

Re: [Pound Mailing List] backend problems?
Emilio Campos <emilio.campos.martin(at)gmail.com>
2011-02-11 13:29:22 [ FULL ]
Any suggestions?

I used an application for stress backend server, I created connections
between client-backend (without pound), and I detected that all connections
was ok, after,  I worked the same test with client-poundserver-backend and
detected that a lot of lost connections with this error:

JJan 25 09:24:48 poundserver pound: backend
192.168.1.181:80<http://192.168.1.181/>connect:
Connection timed out
Jan 25 09:24:58 poundserver pound: BackEnd
192.168.1.181:80<http://192.168.1.181/>resurrect
Jan 25 09:28:11 poundserver pound: backend
192.168.1.181:80<http://192.168.1.179/>connect:
Connection timed out
Jan 25 09:28:21 poundserver pound: BackEnd
192.168.1.181:80<http://192.168.1.179/>resurrect
Jan 25 09:28:49 poundserver pound: backend
191.168.1.181:80<http://10.232.37.5/>connect:
Connection timed out
Jan 25 09:28:52 poundserver pound: backend
191.168.1.181:80<http://10.232.37.5/>connect:
Connection timed out
Jan 25 09:30:06 poundserver pound: backend
192.168.1.181:80<http://192.168.1.179/>connect:
Connection timed out
Jan 25 09:30:34 poundserver pound: BackEnd
192.168.1.181:80<http://192.168.1.179/>resurrect
Jan 25 09:30:45 poundserver pound: backend
192.168.1.181:80<http://192.168.1.182/>connect:
Connection timed out
Jan 25 09:31:20 poundserver pound: backend
192.168.1.181:80<http://192.168.1.177/>connect:
Connection refused
Jan 25 09:31:22 poundserver pound: BackEnd
192.168.1.181:80<http://192.168.1.182/>resurrect
Jan 25 09:34:39 poundserver pound: backend
192.168.1.181:80<http://192.168.1.181/>connect:
Connection timed out

I configured backend with Timeout 240 directive

Any suggestions? I think would be a operative system configuration problem
or pound configuration error,  I just discard backend problems with this
test.

Are there other members with the same problem in the past?

This is my pound configuration file


#####################################################################
## global options:

User        "pound"
Group        "pound"


## allow PUT and DELETE also (by default only GET, POST and HEAD)?:
#ExtendedHTTP    0


## Logging: (goes to syslog by default)

##    3    Apache-style (common log format)
LogLevel     2


## check backend:
Timeout        45
Alive        10
#Client        30
Control     "/opt/pound-2.3.2/etc/pound.socket"

ListenHTTP
    Address 10.234.23.231
    Port    80
    RewriteLocation 1
    RewriteDestination 1


    Service "static requests HTML"
        HeadRequire "Host: www.server.com.*"
        Url    "^/proffesional/personal/list2_stres.asp"

                BackEnd
                       Address 192.168.1.181
                       Port 80
                       TimeOut 240

                End
    End
End


Regards!!!!!

2011/1/25 Emilio Campos <emilio.campos.martin(at)gmail.com>
[...]

[...]
Attachments:  
text.html text/html 15872 Bytes

MailBoxer