You are viewing a plain text version of this content. The canonical link for it is here.
Posted to packagers@httpd.apache.org by Cesar Jorge Martinez Mata <cj...@hi-iberia.es> on 2006/07/03 10:08:15 UTC
Warning in configure ldap_ssl.h with apache 2.2.2
Hi,
In ./configure, appear the following warning:
checking ldap_ssl.h usability... no
checking ldap_ssl.h presence... yes
configure: WARNING: ldap_ssl.h: present but cannot be compiled
configure: WARNING: ldap_ssl.h: check for missing prerequisite headers?
configure: WARNING: ldap_ssl.h: see the Autoconf documentation
configure: WARNING: ldap_ssl.h: section "Present But Cannot Be Compiled"
configure: WARNING: ldap_ssl.h: proceeding with the preprocessor's result
configure: WARNING: ldap_ssl.h: in the future, the compiler will take
precedence
configure: WARNING: ## ------------------------------------------ ##
configure: WARNING: ## Report this to the AC_PACKAGE_NAME lists. ##
configure: WARNING: ## ------------------------------------------ ##
checking for ldap_ssl.h... yes
checking for LDAP toolkit... Solaris
I have solaris 8, apache 2.2.2, open ssl 0.97d, sdk 5.1.08 for ldap iplanet.
My configure options are:
./configure --prefix=/app/apache-2.2.2 \
--enable-so \
--enable-rewrite=shared \
--enable-cache=shared \
--enable-disk-cache=shared \
--enable-mem-cache=shared \
--enable-proxy=shared \
--enable-ssl=shared \
--with-ssl=/usr/local/ssl \
--enable-authnz-ldap=shared \
--enable-ldap=shared \
--with-ldap \
--with-ldap-include=/app/software/iplanetldap/ldapcsdk51-08-SunOS58-OPT/incl
ude \
--with-ldap-lib=/app/software/iplanetldap/ldapcsdk51-08-SunOS58-OPT/lib \
--disable-asis \
--disable-autoindex \
--disable-charset-lite \
--disable-userdir
It is a bug? I'm not using correctly my options? Thanks,
Cesar Jorge
RE: Warning in configure ldap_ssl.h with apache 2.2.2
Posted by Cesar Jorge Martinez Mata <cj...@hi-iberia.es>.
For the ldap headers and libraries I include in the configure:
--with-ldap-include=/app/software/iplanetldap/ldapcsdk51-08-SunOS58-OPT/incl
ude \
--with-ldap-lib=/app/software/iplanetldap/ldapcsdk51-08-SunOS58-OPT/lib \
And for the libraries I add to LD_LIBRARY_PATH:
"/app/software/iplanetldap/ldapcsdk51-08-SunOS58-OPT/lib"
I find on Internet a link, but talk over apache 2.0.45:
http://www.mailarchives.org/list/apache-httpd-bugs/msg/2003/05198
-----Mensaje original-----
De: Graham Leggett [mailto:minfrin@sharp.fm]
Enviado el: lunes, 03 de julio de 2006 12:17
Para: packagers@httpd.apache.org
CC: packagers@httpd.apache.org
Asunto: RE: Warning in configure ldap_ssl.h with apache 2.2.2
On Mon, July 3, 2006 12:03 pm, Cesar Jorge Martinez Mata wrote:
> There many errors, I have the entire config.log, here send the errors:
This doesn't seem to be the whole log.
This seems to be a standard autoconf thing, you need to make sure that
both the LDAP headers and the LDAP libraries are accessible before the
code will pick it up. You will probably get better luck on the APR users
list.
Regrds,
Graham
--
RE: Warning in configure ldap_ssl.h with apache 2.2.2
Posted by Graham Leggett <mi...@sharp.fm>.
On Mon, July 3, 2006 12:03 pm, Cesar Jorge Martinez Mata wrote:
> There many errors, I have the entire config.log, here send the errors:
This doesn't seem to be the whole log.
This seems to be a standard autoconf thing, you need to make sure that
both the LDAP headers and the LDAP libraries are accessible before the
code will pick it up. You will probably get better luck on the APR users
list.
Regrds,
Graham
--
RE: Warning in configure ldap_ssl.h with apache 2.2.2
Posted by Cesar Jorge Martinez Mata <cj...@hi-iberia.es>.
Hi Graham,
There many errors, I have the entire config.log, here send the errors:
The gcc is 2.95.3
This file contains any messages produced by compilers while running
configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.59. Invocation command line was
$ ./configure --prefix=/app/apache-2.2.2 --enable-so
--enable-rewrite=shared --enable-cache=shared --enable-disk-cache= shared
--enable-mem-cache=shared --enable-proxy=shared --enable-ssl=shared
--with-ssl=/usr/local/ssl --enable-authnz-ldap =shared --enable-ldap=shared
--with-ldap
--with-ldap-include=/app/software/iplanetldap/ldapcsdk51-08-SunOS58-OPT/incl
ude
--with-ldap-lib=/app/software/iplanetldap/ldapcsdk51-08-SunOS58-OPT/lib
--disable-asis --disable-autoindex --disable-char set-lite --disable-userdir
## --------- ##
## Platform. ##
## --------- ##
hostname = nervion
uname -m = sun4u
uname -r = 5.8
uname -s = SunOS
uname -v = Generic_117350-28
/usr/bin/uname -p = sparc
/bin/uname -X = System = SunOS
Node = nervion
Release = 5.8
KernelID = Generic_117350-28
Machine = sun4u
BusType = <unknown>
Serial = <unknown>
Users = <unknown>
OEM# = 0
Origin# = 1
NumCPU = 4
/bin/arch = sun4
/usr/bin/arch -k = sun4u
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
...
configure:3847: checking for gcc option to accept ANSI C
configure:3917: gcc -c -g -O2 -pthreads -DSOLARIS2=8
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE conftest.c >&5
configure:3923: $? = 0
configure:3927: test -z
|| test ! -s conftest.err
configure:3930: $? = 0
configure:3933: test -s conftest.o
configure:3936: $? = 0
configure:3954: result: none needed
configure:3972: gcc -c -g -O2 -pthreads -DSOLARIS2=8
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE conftest.c >&5
conftest.c:2: parse error before `me'
configure:3978: $? = 1
configure: failed program was:
| #ifndef __cplusplus
| choke me
| #endif
configure:4116: checking how to run the C preprocessor
configure:4234: result: gcc -E
configure:4258: gcc -E -DSOLARIS2=8 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT
-D_LARGEFILE64_SOURCE conftest.c
configure:4264: $? = 0
configure:4296: gcc -E -DSOLARIS2=8 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT
-D_LARGEFILE64_SOURCE conftest.c
conftest.c:9: ac_nonexistent.h: No such file or directory
configure:4302: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:4465: Configuring PCRE regular expression library
...
configure:5538: checking for stdint.h
configure:5554: gcc -c -g -O2 -pthreads -DSOLARIS2=8
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE conftest.c >&5
conftest.c:52: stdint.h: No such file or directory
configure:5560: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| /* end confdefs.h. */
| #include <stdio.h>
| #if HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #if HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #if STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # if HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #if HAVE_STRING_H
| # if !STDC_HEADERS && HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #if HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #if HAVE_INTTYPES_H
| # include <inttypes.h>
| #else
| # if HAVE_STDINT_H
| # include <stdint.h>
| # endif
| #endif
| #if HAVE_UNISTD_H
| # include <unistd.h>
| #endif
|
| #include <stdint.h>
configure:5584: result: no
...
configure:5606: checking minix/config.h usability
configure:5618: gcc -c -g -O2 -pthreads -DSOLARIS2=8
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE conftest.c >&5
conftest.c:52: minix/config.h: No such file or directory
configure:5624: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h. */
| #include <stdio.h>
| #if HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #if HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #if STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # if HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #if HAVE_STRING_H
| # if !STDC_HEADERS && HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #if HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #if HAVE_INTTYPES_H
| # include <inttypes.h>
| #else
| # if HAVE_STDINT_H
| # include <stdint.h>
| # endif
| #endif
| #if HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <minix/config.h>
configure:5647: result: no
configure:5651: checking minix/config.h presence
configure:5661: gcc -E -DSOLARIS2=8 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT
-D_LARGEFILE64_SOURCE conftest.c
conftest.c:18: minix/config.h: No such file or directory
configure:5667: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h. */
| #include <minix/config.h>
...
configure:6108: checking sys/prctl.h usability
configure:6120: gcc -c -g -O2 -pthreads -DSOLARIS2=8
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE conftest.c >&5
conftest.c:60: sys/prctl.h: No such file or directory
configure:6126: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_STRING_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_PWD_H 1
| #define HAVE_GRP_H 1
| #define HAVE_STRINGS_H 1
| /* end confdefs.h. */
| #include <stdio.h>
| #if HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #if HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #if STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # if HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #if HAVE_STRING_H
| # if !STDC_HEADERS && HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #if HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #if HAVE_INTTYPES_H
| # include <inttypes.h>
| #else
| # if HAVE_STDINT_H
| # include <stdint.h>
| # endif
| #endif
| #if HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <sys/prctl.h>
configure:6149: result: no
configure:6153: checking sys/prctl.h presence
configure:6163: gcc -E -DSOLARIS2=8 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT
-D_LARGEFILE64_SOURCE conftest.c
conftest.c:26: sys/prctl.h: No such file or directory
configure:6169: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_STRING_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_PWD_H 1
| #define HAVE_GRP_H 1
| #define HAVE_STRINGS_H 1
| /* end confdefs.h. */
| #include <sys/prctl.h>
...
configure:6425: checking for library containing sqrt
configure:6455: gcc -o conftest -g -O2 -pthreads -DSOLARIS2=8
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE -L/a
pp/software/iplanetldap/ldapcsdk51-08-SunOS58-OPT/lib
-L/app/software/apache/httpd-2.2.2/srclib/apr-util/xml/expat/lib conftest.c
>
&5
conftest.c:36: warning: conflicting types for built-in function `sqrt'
Undefined first referenced
symbol in file
sqrt /var/tmp/cc5BHvXc.o
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure:6461: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_STRING_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_PWD_H 1
| #define HAVE_GRP_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_PROCESSOR_H 1
| #define HAVE_SYS_SEM_H 1
| #define HAVE_SYS_WAIT_H 1
| /* end confdefs.h. */
|
| /* Override any gcc2 internal prototype to avoid an error. */ #ifdef
| __cplusplus extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
| builtin and then its argument prototype would still apply. */ char
| sqrt (); int main () { sqrt ();
| ;
| return 0;
| }
configure:6510: gcc -o conftest -g -O2 -pthreads -DSOLARIS2=8
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE -L/a
pp/software/iplanetldap/ldapcsdk51-08-SunOS58-OPT/lib
-L/app/software/apache/httpd-2.2.2/srclib/apr-util/xml/expat/lib conftest.c
-l
m >&5
conftest.c:36: warning: conflicting types for built-in function `sqrt'
...
configure:6569: checking for bindprocessor
configure:6626: gcc -o conftest -g -O2 -pthreads -DSOLARIS2=8
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE -L/a
pp/software/iplanetldap/ldapcsdk51-08-SunOS58-OPT/lib
-L/app/software/apache/httpd-2.2.2/srclib/apr-util/xml/expat/lib conftest.c
-l m >&5
Undefined first referenced
symbol in file
bindprocessor /var/tmp/ccEt8aXk.o
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure:6632: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_STRING_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_PWD_H 1
| #define HAVE_GRP_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_PROCESSOR_H 1
| #define HAVE_SYS_SEM_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_GETPWNAM 1
| #define HAVE_GETGRNAM 1
| #define HAVE_INITGROUPS 1
| /* end confdefs.h. */
| /* Define bindprocessor to an innocuous variant, in case <limits.h>
declares bindprocessor.
| For example, HP-UX 11i <limits.h> declares gettimeofday. */
| #define bindprocessor innocuous_bindprocessor
|
| /* System header to define __stub macros and hopefully few prototypes,
| which can conflict with char bindprocessor (); below.
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
| <limits.h> exists even on freestanding compilers. */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef bindprocessor
|
| /* Override any gcc2 internal prototype to avoid an error. */ #ifdef
| __cplusplus extern "C"
| {
| #endif
| /* We use char because int might match the return type of a gcc2
| builtin and then its argument prototype would still apply. */ char
| bindprocessor ();
| /* The GNU C library defines this for functions which it implements
| to always fail with ENOSYS. Some functions are actually named
| something starting with __ and the normal name is an alias. */
| #if defined (__stub_bindprocessor) || defined (__stub___bindprocessor)
| choke me #else char (*f) () = bindprocessor; #endif #ifdef __cplusplus
| } #endif
|
| int
| main ()
| {
| return f != bindprocessor;
| ;
| return 0;
| }
configure:6657: result: no
configure:6569: checking for prctl
configure:6626: gcc -o conftest -g -O2 -pthreads -DSOLARIS2=8
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE -L/a
pp/software/iplanetldap/ldapcsdk51-08-SunOS58-OPT/lib
-L/app/software/apache/httpd-2.2.2/srclib/apr-util/xml/expat/lib conftest.c
-l m >&5
Undefined first referenced
symbol in file
prctl /var/tmp/ccjdKd7x.o
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure:6632: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_STRING_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_PWD_H 1
| #define HAVE_GRP_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_PROCESSOR_H 1
| #define HAVE_SYS_SEM_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_GETPWNAM 1
| #define HAVE_GETGRNAM 1
| #define HAVE_INITGROUPS 1
| /* end confdefs.h. */
| /* Define prctl to an innocuous variant, in case <limits.h> declares
prctl.
| For example, HP-UX 11i <limits.h> declares gettimeofday. */
| #define prctl innocuous_prctl
|
| /* System header to define __stub macros and hopefully few prototypes,
| which can conflict with char prctl (); below.
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
| <limits.h> exists even on freestanding compilers. */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef prctl
|
| /* Override any gcc2 internal prototype to avoid an error. */ #ifdef
| __cplusplus extern "C"
| {
| #endif
| /* We use char because int might match the return type of a gcc2
| builtin and then its argument prototype would still apply. */ char
| prctl ();
| /* The GNU C library defines this for functions which it implements
| to always fail with ENOSYS. Some functions are actually named
| something starting with __ and the normal name is an alias. */
| #if defined (__stub_prctl) || defined (__stub___prctl) choke me #else
| char (*f) () = prctl; #endif #ifdef __cplusplus } #endif
|
| int
| main ()
| {
| return f != prctl;
| ;
| return 0;
| }
configure:6657: result: no
configure:6569: checking for timegm
configure:6626: gcc -o conftest -g -O2 -pthreads -DSOLARIS2=8
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE -L/a
pp/software/iplanetldap/ldapcsdk51-08-SunOS58-OPT/lib
-L/app/software/apache/httpd-2.2.2/srclib/apr-util/xml/expat/lib conftest.c
-l m >&5
Undefined first referenced
symbol in file
timegm /var/tmp/cc9lUEnf.o
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure:6632: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_STRING_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_PWD_H 1
| #define HAVE_GRP_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_PROCESSOR_H 1
| #define HAVE_SYS_SEM_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_GETPWNAM 1
| #define HAVE_GETGRNAM 1
| #define HAVE_INITGROUPS 1
| /* end confdefs.h. */
| /* Define timegm to an innocuous variant, in case <limits.h> declares
timegm.
| For example, HP-UX 11i <limits.h> declares gettimeofday. */
| #define timegm innocuous_timegm
|
| /* System header to define __stub macros and hopefully few prototypes,
| which can conflict with char timegm (); below.
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
| <limits.h> exists even on freestanding compilers. */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef timegm
|
| /* Override any gcc2 internal prototype to avoid an error. */ #ifdef
| __cplusplus extern "C"
| {
| #endif
| /* We use char because int might match the return type of a gcc2
| builtin and then its argument prototype would still apply. */ char
| timegm ();
| /* The GNU C library defines this for functions which it implements
| to always fail with ENOSYS. Some functions are actually named
| something starting with __ and the normal name is an alias. */
| #if defined (__stub_timegm) || defined (__stub___timegm) choke me
| #else char (*f) () = timegm; #endif #ifdef __cplusplus } #endif
|
| int
| main ()
| {
| return f != timegm;
| ;
| return 0;
| }
configure:6657: result: no
configure:6670: checking for void pointer length
configure:6691: gcc -o conftest -g -O2 -pthreads -DSOLARIS2=8
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE -L/a
pp/software/iplanetldap/ldapcsdk51-08-SunOS58-OPT/lib
-L/app/software/apache/httpd-2.2.2/srclib/apr-util/xml/expat/lib conftest.c
-l m >&5
configure:6694: $? = 0
configure:6696: ./conftest
configure:6699: $? = 0
configure:6713: result: no
configure:6723: checking for tm_gmtoff in struct tm
configure:6745: gcc -c -g -O2 -pthreads -DSOLARIS2=8
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE conftest.c >&5
conftest.c: In function `main':
conftest.c:37: structure has no member named `tm_gmtoff'
configure:6751: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_STRING_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_PWD_H 1
| #define HAVE_GRP_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_PROCESSOR_H 1
| #define HAVE_SYS_SEM_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_GETPWNAM 1
| #define HAVE_GETGRNAM 1
| #define HAVE_INITGROUPS 1
| /* end confdefs.h. */
| #include <sys/types.h>
| #include <time.h>
| int
| main ()
| {
| struct tm tm; tm.tm_gmtoff;
| ;
| return 0;
| }
...
configure:14207: checking for SSL_set_cert_store
configure:14264: gcc -o conftest -g -O2 -pthreads -DSOLARIS2=8
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE -L/
app/software/iplanetldap/ldapcsdk51-08-SunOS58-OPT/lib
-L/app/software/apache/httpd-2.2.2/srclib/apr-util/xml/expat/lib
-L/usr/local
/ssl/lib conftest.c -lssl -lcrypto -lm -lrt -lsocket -lnsl -lpthread -ldl
>&5
Undefined first referenced
symbol in file
SSL_set_cert_store /var/tmp/ccXX1PcQ.o
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure:14270: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_STRING_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_PWD_H 1
| #define HAVE_GRP_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_PROCESSOR_H 1
| #define HAVE_SYS_SEM_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_GETPWNAM 1
| #define HAVE_GETGRNAM 1
| #define HAVE_INITGROUPS 1
| #define AP_ENABLE_V4_MAPPED 1
| #define HAVE_OPENSSL_OPENSSLV_H 1
| #define HAVE_OPENSSL_SSL_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_LIBCRYPTO 1
| #define HAVE_LIBSSL 1
| #define HAVE_ENGINE_INIT 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| /* end confdefs.h. */
| /* Define SSL_set_cert_store to an innocuous variant, in case <limits.h>
declares SSL_set_cert_store.
| For example, HP-UX 11i <limits.h> declares gettimeofday. */
| #define SSL_set_cert_store innocuous_SSL_set_cert_store
|
| /* System header to define __stub macros and hopefully few prototypes,
| which can conflict with char SSL_set_cert_store (); below.
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
| <limits.h> exists even on freestanding compilers. */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef SSL_set_cert_store
|
| /* Override any gcc2 internal prototype to avoid an error. */ #ifdef
| __cplusplus extern "C"
| {
| #endif
| /* We use char because int might match the return type of a gcc2
| builtin and then its argument prototype would still apply. */ char
| SSL_set_cert_store ();
| /* The GNU C library defines this for functions which it implements
| to always fail with ENOSYS. Some functions are actually named
| something starting with __ and the normal name is an alias. */
| #if defined (__stub_SSL_set_cert_store) || defined
| (__stub___SSL_set_cert_store) choke me #else char (*f) () =
| SSL_set_cert_store; #endif #ifdef __cplusplus } #endif
|
| int
| main ()
| {
| return f != SSL_set_cert_store;
| ;
| return 0;
| }
...
configure:15733: checking bstring.h usability
configure:15745: gcc -c -g -O2 -pthreads -DSOLARIS2=8
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE conftest.c >&5
conftest.c:81: bstring.h: No such file or directory
configure:15751: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_STRING_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_PWD_H 1
| #define HAVE_GRP_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_PROCESSOR_H 1
| #define HAVE_SYS_SEM_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_GETPWNAM 1
| #define HAVE_GETGRNAM 1
| #define HAVE_INITGROUPS 1
| #define AP_ENABLE_V4_MAPPED 1
| #define HAVE_OPENSSL_OPENSSLV_H 1
| #define HAVE_OPENSSL_SSL_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_LIBCRYPTO 1
| #define HAVE_LIBSSL 1
| #define HAVE_ENGINE_INIT 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 #define HAVE_OPENSSL 1
| #define HAVE_SYS_TIME_H 1 #define HAVE_SYS_RESOURCE_H 1 #define
| HAVE_SYS_SEM_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SETSID 1
| #define HAVE_KILLPG 1
| /* end confdefs.h. */
| #include <stdio.h>
| #if HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #if HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #if STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # if HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #if HAVE_STRING_H
| # if !STDC_HEADERS && HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #if HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #if HAVE_INTTYPES_H
| # include <inttypes.h>
| #else
| # if HAVE_STDINT_H
| # include <stdint.h>
| # endif
| #endif
| #if HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <bstring.h>
configure:15774: result: no
configure:15778: checking bstring.h presence
configure:15788: gcc -E -DSOLARIS2=8 -D_POSIX_PTHREAD_SEMANTICS
-D_REENTRANT -D_LARGEFILE64_SOURCE conftest.c
conftest.c:47: bstring.h: No such file or directory
configure:15794: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_STRING_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_PWD_H 1
| #define HAVE_GRP_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_PROCESSOR_H 1
| #define HAVE_SYS_SEM_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_GETPWNAM 1
| #define HAVE_GETGRNAM 1
| #define HAVE_INITGROUPS 1
| #define AP_ENABLE_V4_MAPPED 1
| #define HAVE_OPENSSL_OPENSSLV_H 1
| #define HAVE_OPENSSL_SSL_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_LIBCRYPTO 1
| #define HAVE_LIBSSL 1
| #define HAVE_ENGINE_INIT 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 #define HAVE_OPENSSL 1
| #define HAVE_SYS_TIME_H 1 #define HAVE_SYS_RESOURCE_H 1 #define
| HAVE_SYS_SEM_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SETSID 1
| #define HAVE_KILLPG 1
| /* end confdefs.h. */
| #include <bstring.h>
-----Mensaje original-----
De: Graham Leggett [mailto:minfrin@sharp.fm]
Enviado el: lunes, 03 de julio de 2006 10:29
Para: packagers@httpd.apache.org
Asunto: Re: Warning in configure ldap_ssl.h with apache 2.2.2
Cesar Jorge Martinez Mata wrote:
> checking ldap_ssl.h usability... no
>
> checking ldap_ssl.h presence... yes
Check the config.log file that is created for the full details of how
the configure test got to this. The real error message that resulted in
"ldap_ssl.h usability... no" will be logged there.
Regards,
Graham
--
Re: Warning in configure ldap_ssl.h with apache 2.2.2
Posted by Graham Leggett <mi...@sharp.fm>.
Cesar Jorge Martinez Mata wrote:
> checking ldap_ssl.h usability... no
>
> checking ldap_ssl.h presence... yes
Check the config.log file that is created for the full details of how
the configure test got to this. The real error message that resulted in
"ldap_ssl.h usability... no" will be logged there.
Regards,
Graham
--