compiling 2.2.17

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I am doing configure this way:
sudo ./configure --prefix=/usr/local/apache-2.2.17 --enable-mods-shared=most --enable-ssl --with-ssl=/usr/include/openssl

It reports the ssl related things this way:
.....
checking whether to enable mod_ssl... checking dependencies
checking for SSL/TLS toolkit base... /usr/include/openssl
  adding "-I/usr/include/openssl/include" to CPPFLAGS
  adding "-I/usr/include/openssl/include" to INCLUDES
  adding "-L/usr/include/openssl/lib" to LDFLAGS
checking for OpenSSL version... checking openssl/opensslv.h usability... yes
checking openssl/opensslv.h presence... yes
checking for openssl/opensslv.h... yes
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
OK
  forcing SSL_LIBS to "-lssl -lcrypto  -lpthread"
  setting LIBS to "-lssl -lcrypto  -lpthread"
checking openssl/engine.h usability... yes
checking openssl/engine.h presence... yes
checking for openssl/engine.h... yes
checking for SSLeay_version... yes
checking for SSL_CTX_new... yes
checking for ENGINE_init... yes
checking for ENGINE_load_builtin_engines... yes
checking for SSL_set_cert_store... no
  forcing MOD_SSL_LDADD to "$(SSL_LIBS)"
checking whether Distcache is required... no (default)
  adding "-export-symbols-regex" to MOD_SSL_LDADD
  adding "ssl_module" to MOD_SSL_LDADD
checking whether to enable mod_ssl... shared (most)
  adding "-I$(top_srcdir)/modules/ssl" to INCLUDES
....

There are no include and lib directories in /usr/include/openssl just header files, so adding them to CPPFLAGS, INCLUDES and LDFLAGS is questionable.  Then I see the following messages during make, I list just a few of them here:

/usr/share/apr-1/build-1/libtool --silent --mode=link gcc      -L/usr/include/openssl/lib   -o dftables -L/usr/include/openssl/lib dftables.lo 
ld: warning: directory '/usr/include/openssl/lib' following -L not found

/usr/share/apr-1/build-1/libtool --silent --mode=link gcc      -L/usr/include/openssl/lib   -o gen_test_char -L/usr/include/openssl/lib gen_test_char.lo util_debug.lo 
ld: warning: directory '/usr/include/openssl/lib' following -L not found

/usr/share/apr-1/build-1/libtool --silent --mode=link gcc      -L/usr/include/openssl/lib   -o htpasswd  htpasswd.lo    /usr/local/src/httpd-2.2.17/srclib/pcre/libpcre.la -L/usr/lib -R/usr/lib -laprutil-1 -lexpat -liconv -lsqlite3 -L/usr/lib -R/usr/lib -lapr-1 -lpthread
ld: warning: directory '/usr/include/openssl/lib' following -L not found

....
....

/usr/share/apr-1/build-1/libtool --silent --mode=link gcc      -L/usr/include/openssl/lib   -o htpasswd  htpasswd.lo    /usr/local/src/httpd-2.2.17/srclib/pcre/libpcre.la -L/usr/lib -R/usr/lib -laprutil-1 -lexpat -liconv -lsqlite3 -L/usr/lib -R/usr/lib -lapr-1 -lpthread
ld: warning: directory '/usr/include/openssl/lib' following -L not found

How to make it right and avoid the warnings ?  The latest XCode 3 is installed on the machine.

Thanks ahead,

János



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux