RE: Apache configuration error ( during make)

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

 



Hi,

 

Thanks for your reply

 

My Operating System:

Linux gwl09072appg004 2.6.18-128.el5 #1 SMP Wed Jan 21 08:45:05 EST 2009 x86_64 x86_64 x86_64 GNU/Linux

 

Relevant portion of my config.log

configure:14368: checking whether to enable mod_ssl

configure:14404: result: checking dependencies

configure:14413: checking for SSL/TLS toolkit base

configure:14440: result: /software/bea/apache/source/openssl-1.0.1c

configure:14535: checking for OpenSSL version

configure:14554: checking openssl/opensslv.h usability

configure:14571: gcc -c  -g -O2 -pthread -I/software/bea/apache/source/openssl-1.0.1c/include -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE conftest.c >&5

configure:14578: $? = 0

configure:14592: result: yes

configure:14596: checking openssl/opensslv.h presence

configure:14611: gcc -E -I/software/bea/apache/source/openssl-1.0.1c/include -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE conftest.c

configure:14618: $? = 0

configure:14632: result: yes

configure:14660: checking for openssl/opensslv.h

configure:14669: result: yes

configure:14554: checking openssl/ssl.h usability

configure:14571: gcc -c  -g -O2 -pthread -I/software/bea/apache/source/openssl-1.0.1c/include -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE conftest.c >&5

configure:14578: $? = 0

configure:14592: result: yes

configure:14596: checking openssl/ssl.h presence

configure:14611: gcc -E -I/software/bea/apache/source/openssl-1.0.1c/include -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE conftest.c

configure:14618: $? = 0

configure:14632: result: yes

configure:14660: checking for openssl/ssl.h

configure:14669: result: yes

configure:14713: gcc -c  -g -O2 -pthread -I/software/bea/apache/source/openssl-1.0.1c/include -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE conftest.c >&5

configure:14720: $? = 0

configure:14725: result: OK

configure:15093: checking openssl/engine.h usability

configure:15110: gcc -c  -g -O2 -pthread -I/software/bea/apache/source/openssl-1.0.1c/include -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I/usr/kerberos/include conftest.c >&5

configure:15117: $? = 0

configure:15131: result: yes

configure:15135: checking openssl/engine.h presence

configure:15150: gcc -E -I/software/bea/apache/source/openssl-1.0.1c/include -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I/usr/kerberos/include conftest.c

configure:15157: $? = 0

configure:15171: result: yes

configure:15199: checking for openssl/engine.h

configure:15208: result: yes

configure:15228: checking for SSLeay_version

configure:15284: gcc -o conftest  -g -O2 -pthread -I/software/bea/apache/source/openssl-1.0.1c/include -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I/usr/kerberos/include -L/software/bea/apache/source/openssl-1.0.1c/lib -L/usr/kerberos/lib64 conftest.c -lm  -lssl -lcrypto -ldl -lz >&5

configure:15291: $? = 0

configure:15313: result: yes

configure:15228: checking for SSL_CTX_new

configure:15284: gcc -o conftest  -g -O2 -pthread -I/software/bea/apache/source/openssl-1.0.1c/include -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I/usr/kerberos/include -L/software/bea/apache/source/openssl-1.0.1c/lib -L/usr/kerberos/lib64 conftest.c -lm  -lssl -lcrypto -ldl -lz >&5

configure:15291: $? = 0

configure:15313: result: yes

configure:15332: checking for ENGINE_init

configure:15388: gcc -o conftest  -g -O2 -pthread -I/software/bea/apache/source/openssl-1.0.1c/include -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I/usr/kerberos/include -L/software/bea/apache/source/openssl-1.0.1c/lib -L/usr/kerberos/lib64 conftest.c -lm  -lssl -lcrypto -ldl -lz >&5

configure:15395: $? = 0

configure:15417: result: yes

configure:15332: checking for ENGINE_load_builtin_engines

configure:15388: gcc -o conftest  -g -O2 -pthread -I/software/bea/apache/source/openssl-1.0.1c/include -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I/usr/kerberos/include -L/software/bea/apache/source/openssl-1.0.1c/lib -L/usr/kerberos/lib64 conftest.c -lm  -lssl -lcrypto -ldl -lz >&5

configure:15395: $? = 0

configure:15417: result: yes

configure:15640: checking for SSL_set_cert_store

configure:15696: gcc -o conftest  -g -O2 -pthread -I/software/bea/apache/source/openssl-1.0.1c/include -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I/usr/kerberos/include -L/software/bea/apache/source/openssl-1.0.1c/lib -L/usr/kerberos/lib64 conftest.c -lm  -lssl -lcrypto -ldl -lz >&5

/tmp/ccOn6xN7.o: In function `main':

/software/bea/apache/source/httpd-2.2.17/conftest.c:83: undefined reference to `SSL_set_cert_store'

collect2: ld returned 1 exit status

configure:15703: $? = 1

configure: failed program was:

| /* confdefs.h.  */

| #define PACKAGE_NAME ""

| #define PACKAGE_TARNAME ""

| #define PACKAGE_VERSION ""

| #define PACKAGE_STRING ""

 

-----Original Message-----
From: Mark Montague [mailto:mark@xxxxxxxxxxx]
Sent: Monday, June 25, 2012 5:14 PM
To: users@xxxxxxxxxxxxxxxx
Cc: Deb,O,Olive,DKC C
Subject: Re: Apache configuration error ( during make)

 

On June 25, 2012 5:16 , <olive.2.deb@xxxxxx> wrote:

> 

> I am getting an error while make-ing apache

> 

> cd /software/bea/apache/source/httpd-2.2.17/srclib/apr

> 

> ./configure --prefix=/software/bea/apache/apache-apr

> 

 

With Apache HTTP Server 2.2.x (unlike 2.4.x) you need to explicitly

enable mod_ssl.  For example,

 

./configure --enable-modules=most --enable-mods-shared=most --enable-ssl

--prefix=/software/bea/apache/apache-apr

 

Please refer to the following two pages to choose the correct options

for what you actually want:

 

https://httpd.apache.org/docs/2.2/install.html#configure

https://httpd.apache.org/docs/2.2/programs/configure.html

 

 

If the above suggestion does not work, please look at the output of the

configure script, starting with the line "checking whether to enable

mod_ssl".  For example, you should see something like this:

 

checking whether to enable mod_ssl... checking dependencies

checking for SSL/TLS toolkit base... none

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

   adding "-I/opt/local/include" to CPPFLAGS

   adding "-I/opt/local/include" to INCLUDES

   adding "-L/opt/local/lib" to LDFLAGS

   forcing SSL_LIBS to "-lssl -lcrypto -lz  "

   setting LIBS to "-lssl -lcrypto -lz  "

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

 

 

 

> ns.la modules/mappers/libmod_userdir.la

> modules/mappers/libmod_alias.la modules/mappers/libmod_so.la

> server/mpm/prefork/libprefork.la os/unix/libos.la -lm

> /software/bea/apache/source/httpd-2.2.17/srclib/pcre/libpcre.la

> /software/bea/apache/apache-apr-util/lib/libaprutil-1.la -lexpat

> /software/bea/apache/apache-apr/lib/libapr-1.la -luuid -lrt -lcrypt

> -lpthread -ldl

> 

 

You have the last part of the linker line, above.  If the above

suggestions do not solve the problem, post the entire linker command

line, the relevant portion of the configure script output, and also

include what operating system you're using as well as the version of the

operating system.

 

I hope this helps.

 

--

   Mark Montague

   mark@xxxxxxxxxxx

 


[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