On 07/23/2013 04:15 AM, Lightspoke Discussion wrote:
Hi, Been working with Pound for a while now, but mostly on CentOS distributions. Currently trying to compile Pound 2.6 on SmartOS (solaris variant). I got passed the configure stage with this command: # ./configure --with-ssl=/opt/local/include/openssl/ --disable-pcreposix however, when I make, it gives me a pound needs openssl/ssl.h message even though /opt/local/include/openssl/ssl.h exists.
Maybe you already solved this; anyhow... Double check your paths. From your compiler output, gcc is probably expecting to find the include file at: /opt/local/include/openssl/include/openssl/ssl.h If the include file is at: /opt/local/include/openssl/ssl.h Maybe you installed openssl with /opt/local as a prefix? If so, try to pass --with-ssl=/opt/local to the Pound configure, and see if there's a difference. Andrea
# make gcc -DF_CONF=\"/usr/local/etc/pound.cfg\" -DVERSION=\""2.6"\" -DC_SSL=\""/opt/local/include/openssl/"\" -DC_T_RSA=\""0"\" -DC_MAXBUF=\""0"\" -DC_OWNER=\"""\" -DC_GROUP=\"""\" -DC_SUPER=\""0"\" -DC_CERT1L=\"""\" -g -O2 -D_REENTRANT -pthread -DUPER -DNEED_STACK -DHAVE_SYSLOG_H=1 -DMISS_FACILITYNAMES -D_REENTRANT -pthread -I/opt/local/include/openssl//include -D_REENTRANT -D_THREAD_SAFE -Wstrict-prototypes -Wno-unused-result -pipe -c -o pound.o pound.c In file included from pound.c:28:0: pound.h:149:2: error: #error "Pound needs openssl/ssl.h" In file included from pound.c:28:0: pound.h:324:5: error: unknown type name 'SSL_CTX' pound.h:368:5: error: unknown type name 'LHASH' pound.h:380:5: error: unknown type name 'SSL_CTX' pound.h:586:1: error: unknown type name 'RSA' pound.h:586:31: error: unknown type name 'SSL' pound.h:591:1: error: unknown type name 'DH' pound.h:591:30: error: unknown type name 'SSL' pound.c: In function 'l_lock': pound.c:91:15: error: 'CRYPTO_LOCK' undeclared (first use in this function) pound.c:91:15: note: each undeclared identifier is reported only once for each function it appears in make: *** [pound.o] Error 1 Anyone have any clues about this? Thank you in advance.
-- To unsubscribe send an email with subject unsubscribe to [email protected]. Please contact [email protected] for questions.
