I am trying to compile ldapc++ library distributed with openldap-2.4.26 and getting following error during make:
../src/LDAPAsynConnection.h: In function ‘int main(int, char**)’: ../src/LDAPAsynConnection.h:310: error: ‘LDAPAsynConnection::LDAPAsynConnection(const LDAPAsynConnection&)’ is private startTls.cpp:43: error: within this context make[1]: *** [startTls.o] Error 1 make[1]: Leaving directory `/opt/source/openldap-2.4.26/contrib/ldapc++/examples' make: *** [all-recursive] Error 1 I am attaching my config log as well, is there anything which I am missing here? Another thing, I would like to know does this library have Referral Chasing capability during bind, also is it thread safe or its caller's responsibility to make it thread safe? Thanks for the help, I appreciate it very much.
This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by ldapcpplib configure , which was generated by GNU Autoconf 2.65. Invocation command line was $ ./configure --prefix=/opt/source/openldap-2.4.26/ldapc++ --with-libldap=/opt/openldap-2.4.26/lib --with-ldap-includes=/opt/openldap-2.4.26/include --enable-debug ## --------- ## ## Platform. ## ## --------- ## hostname = 100x103.filemaker.com uname -m = x86_64 uname -r = 2.6.18-164.el5 uname -s = Linux uname -v = #1 SMP Thu Sep 3 03:28:30 EDT 2009 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = x86_64 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/kerberos/sbin PATH: /usr/kerberos/bin PATH: . PATH: /usr/bin PATH: /usr/sbin PATH: /bin PATH: /sbin PATH: /opt/openldap-2.4.25/libexec ## ----------- ## ## Core tests. ## ## ----------- ## configure:2579: checking for a BSD-compatible install configure:2647: result: /usr/bin/install -c configure:2658: checking whether build environment is sane configure:2695: result: yes configure:2720: checking for a thread-safe mkdir -p configure:2759: result: /bin/mkdir -p configure:2772: checking for gawk configure:2788: found /usr/bin/gawk configure:2799: result: gawk configure:2810: checking whether make sets $(MAKE) configure:2832: result: yes configure:3085: checking for g++ configure:3101: found /usr/bin/g++ configure:3112: result: g++ configure:3139: checking for C++ compiler version configure:3148: g++ --version >&5 g++ (GCC) 4.1.2 20080704 (Red Hat 4.1.2-48) Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:3159: $? = 0 configure:3148: g++ -v >&5 Using built-in specs. Target: x86_64-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=x86_64-redhat-linux Thread model: posix gcc version 4.1.2 20080704 (Red Hat 4.1.2-48) configure:3159: $? = 0 configure:3148: g++ -V >&5 g++: '-V' option must have argument configure:3159: $? = 1 configure:3148: g++ -qversion >&5 g++: unrecognized option '-qversion' g++: no input files configure:3159: $? = 1 configure:3179: checking whether the C++ compiler works configure:3201: g++ -I/opt/bdb-4.8.30/include -I/opt/openssl-1.0.0/include -I/opt/cyrus-sasl-2.1.23/include -L/opt/bdb-4.8.30/lib -L/opt/openssl-1.0.0/lib -L/opt/cyrus-sasl-2.1.23/lib conftest.cpp -lgcc_s >&5 configure:3205: $? = 0 configure:3254: result: yes configure:3257: checking for C++ compiler default output file name configure:3259: result: a.out configure:3265: checking for suffix of executables configure:3272: g++ -o conftest -I/opt/bdb-4.8.30/include -I/opt/openssl-1.0.0/include -I/opt/cyrus-sasl-2.1.23/include -L/opt/bdb-4.8.30/lib -L/opt/openssl-1.0.0/lib -L/opt/cyrus-sasl-2.1.23/lib conftest.cpp -lgcc_s >&5 configure:3276: $? = 0 configure:3298: result: configure:3320: checking whether we are cross compiling configure:3328: g++ -o conftest -I/opt/bdb-4.8.30/include -I/opt/openssl-1.0.0/include -I/opt/cyrus-sasl-2.1.23/include -L/opt/bdb-4.8.30/lib -L/opt/openssl-1.0.0/lib -L/opt/cyrus-sasl-2.1.23/lib conftest.cpp -lgcc_s >&5 configure:3332: $? = 0 configure:3339: ./conftest configure:3343: $? = 0 configure:3358: result: no configure:3363: checking for suffix of object files configure:3385: g++ -c -I/opt/bdb-4.8.30/include -I/opt/openssl-1.0.0/include -I/opt/cyrus-sasl-2.1.23/include conftest.cpp >&5 configure:3389: $? = 0 configure:3410: result: o configure:3414: checking whether we are using the GNU C++ compiler configure:3433: g++ -c -I/opt/bdb-4.8.30/include -I/opt/openssl-1.0.0/include -I/opt/cyrus-sasl-2.1.23/include conftest.cpp >&5 configure:3433: $? = 0 configure:3442: result: yes configure:3451: checking whether g++ accepts -g configure:3471: g++ -c -g -I/opt/bdb-4.8.30/include -I/opt/openssl-1.0.0/include -I/opt/cyrus-sasl-2.1.23/include conftest.cpp >&5 configure:3471: $? = 0 configure:3512: result: yes configure:3546: checking for style of include used by make configure:3574: result: GNU configure:3599: checking dependency style of g++ configure:3690: result: gcc3 configure:3781: checking build system type configure:3795: result: x86_64-unknown-linux configure:3815: checking host system type configure:3828: result: x86_64-unknown-linux configure:3896: checking for gcc configure:3912: found /usr/bin/gcc configure:3923: result: gcc configure:4152: checking for C compiler version configure:4161: gcc --version >&5 gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-48) Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:4172: $? = 0 configure:4161: gcc -v >&5 Using built-in specs. Target: x86_64-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=x86_64-redhat-linux Thread model: posix gcc version 4.1.2 20080704 (Red Hat 4.1.2-48) configure:4172: $? = 0 configure:4161: gcc -V >&5 gcc: '-V' option must have argument configure:4172: $? = 1 configure:4161: gcc -qversion >&5 gcc: unrecognized option '-qversion' gcc: no input files configure:4172: $? = 1 configure:4176: checking whether we are using the GNU C compiler configure:4195: gcc -c -I/opt/bdb-4.8.30/include -I/opt/openssl-1.0.0/include -I/opt/cyrus-sasl-2.1.23/include conftest.c >&5 configure:4195: $? = 0 configure:4204: result: yes configure:4213: checking whether gcc accepts -g configure:4233: gcc -c -g -I/opt/bdb-4.8.30/include -I/opt/openssl-1.0.0/include -I/opt/cyrus-sasl-2.1.23/include conftest.c >&5 configure:4233: $? = 0 configure:4274: result: yes configure:4291: checking for gcc option to accept ISO C89 configure:4355: gcc -c -g -O2 -I/opt/bdb-4.8.30/include -I/opt/openssl-1.0.0/include -I/opt/cyrus-sasl-2.1.23/include conftest.c >&5 configure:4355: $? = 0 configure:4368: result: none needed configure:4390: checking dependency style of gcc configure:4481: result: gcc3 configure:4496: checking for a sed that does not truncate output configure:4552: result: /bin/sed configure:4555: checking for grep that handles long lines and -e configure:4613: result: /bin/grep configure:4618: checking for egrep configure:4680: result: /bin/grep -E configure:4696: checking for ld used by gcc configure:4763: result: /usr/bin/ld configure:4770: checking if the linker (/usr/bin/ld) is GNU ld configure:4785: result: yes configure:4790: checking for /usr/bin/ld option to reload object files configure:4797: result: -r configure:4815: checking for BSD-compatible nm configure:4864: result: /usr/bin/nm -B configure:4868: checking whether ln -s works configure:4872: result: yes configure:4879: checking how to recognize dependent libraries configure:5065: result: pass_all configure:5154: gcc -c -g -O2 -I/opt/bdb-4.8.30/include -I/opt/openssl-1.0.0/include -I/opt/cyrus-sasl-2.1.23/include conftest.c >&5 configure:5157: $? = 0 configure:5285: checking how to run the C preprocessor configure:5316: gcc -E -I/opt/bdb-4.8.30/include -I/opt/openssl-1.0.0/include -I/opt/cyrus-sasl-2.1.23/include conftest.c configure:5316: $? = 0 configure:5330: gcc -E -I/opt/bdb-4.8.30/include -I/opt/openssl-1.0.0/include -I/opt/cyrus-sasl-2.1.23/include conftest.c conftest.c:11:28: error: ac_nonexistent.h: No such file or directory configure:5330: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "ldapcpplib" | #define PACKAGE_TARNAME "ldapcpplib" | #define PACKAGE_VERSION " " | #define PACKAGE_STRING "ldapcpplib " | #define PACKAGE_BUGREPORT "http://www.openldap.org/its/ " | #define PACKAGE_URL "" | #define PACKAGE "ldapcpplib" | #define VERSION " " | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:5355: result: gcc -E configure:5375: gcc -E -I/opt/bdb-4.8.30/include -I/opt/openssl-1.0.0/include -I/opt/cyrus-sasl-2.1.23/include conftest.c configure:5375: $? = 0 configure:5389: gcc -E -I/opt/bdb-4.8.30/include -I/opt/openssl-1.0.0/include -I/opt/cyrus-sasl-2.1.23/include conftest.c conftest.c:11:28: error: ac_nonexistent.h: No such file or directory configure:5389: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "ldapcpplib" | #define PACKAGE_TARNAME "ldapcpplib" | #define PACKAGE_VERSION " " | #define PACKAGE_STRING "ldapcpplib " | #define PACKAGE_BUGREPORT "http://www.openldap.org/its/ " | #define PACKAGE_URL "" | #define PACKAGE "ldapcpplib" | #define VERSION " " | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:5418: checking for ANSI C header files configure:5438: gcc -c -g -O2 -I/opt/bdb-4.8.30/include -I/opt/openssl-1.0.0/include -I/opt/cyrus-sasl-2.1.23/include conftest.c >&5 configure:5438: $? = 0 configure:5511: gcc -o conftest -g -O2 -I/opt/bdb-4.8.30/include -I/opt/openssl-1.0.0/include -I/opt/cyrus-sasl-2.1.23/include -L/opt/bdb-4.8.30/lib -L/opt/openssl-1.0.0/lib -L/opt/cyrus-sasl-2.1.23/lib conftest.c -lgcc_s >&5 configure:5511: $? = 0 configure:5511: ./conftest configure:5511: $? = 0 configure:5522: result: yes configure:5535: checking for sys/types.h configure:5535: gcc -c -g -O2 -I/opt/bdb-4.8.30/include -I/opt/openssl-1.0.0/include -I/opt/cyrus-sasl-2.1.23/include conftest.c >&5 configure:5535: $? = 0 configure:5535: result: yes configure:5535: checking for sys/stat.h configure:5535: gcc -c -g -O2 -I/opt/bdb-4.8.30/include -I/opt/openssl-1.0.0/include -I/opt/cyrus-sasl-2.1.23/include conftest.c >&5 configure:5535: $? = 0 configure:5535: result: yes configure:5535: checking for stdlib.h configure:5535: gcc -c -g -O2 -I/opt/bdb-4.8.30/include -I/opt/openssl-1.0.0/include -I/opt/cyrus-sasl-2.1.23/include conftest.c >&5 configure:5535: $? = 0 configure:5535: result: yes configure:5535: checking for string.h configure:5535: gcc -c -g -O2 -I/opt/bdb-4.8.30/include -I/opt/openssl-1.0.0/include -I/opt/cyrus-sasl-2.1.23/include conftest.c >&5 configure:5535: $? = 0 configure:5535: result: yes configure:5535: checking for memory.h configure:5535: gcc -c -g -O2 -I/opt/bdb-4.8.30/include -I/opt/openssl-1.0.0/include -I/opt/cyrus-sasl-2.1.23/include conftest.c >&5 configure:5535: $? = 0 configure:5535: result: yes configure:5535: checking for strings.h configure:5535: gcc -c -g -O2 -I/opt/bdb-4.8.30/include -I/opt/openssl-1.0.0/include -I/opt/cyrus-sasl-2.1.23/include conftest.c >&5 configure:5535: $? = 0 configure:5535: result: yes configure:5535: checking for inttypes.h configure:5535: gcc -c -g -O2 -I/opt/bdb-4.8.30/include -I/opt/openssl-1.0.0/include -I/opt/cyrus-sasl-2.1.23/include conftest.c >&5 configure:5535: $? = 0 configure:5535: result: yes configure:5535: checking for stdint.h configure:5535: gcc -c -g -O2 -I/opt/bdb-4.8.30/include -I/opt/openssl-1.0.0/include -I/opt/cyrus-sasl-2.1.23/include conftest.c >&5 configure:5535: $? = 0 configure:5535: result: yes configure:5535: checking for unistd.h configure:5535: gcc -c -g -O2 -I/opt/bdb-4.8.30/include -I/opt/openssl-1.0.0/include -I/opt/cyrus-sasl-2.1.23/include conftest.c >&5 configure:5535: $? = 0 configure:5535: result: yes configure:5550: checking dlfcn.h usability configure:5550: gcc -c -g -O2 -I/opt/bdb-4.8.30/include -I/opt/openssl-1.0.0/include -I/opt/cyrus-sasl-2.1.23/include conftest.c >&5 configure:5550: $? = 0 configure:5550: result: yes configure:5550: checking dlfcn.h presence configure:5550: gcc -E -I/opt/bdb-4.8.30/include -I/opt/openssl-1.0.0/include -I/opt/cyrus-sasl-2.1.23/include conftest.c configure:5550: $? = 0 configure:5550: result: yes configure:5550: checking for dlfcn.h configure:5550: result: yes configure:5570: checking how to run the C++ preprocessor configure:5597: g++ -E -I/opt/bdb-4.8.30/include -I/opt/openssl-1.0.0/include -I/opt/cyrus-sasl-2.1.23/include conftest.cpp configure:5597: $? = 0 configure:5611: g++ -E -I/opt/bdb-4.8.30/include -I/opt/openssl-1.0.0/include -I/opt/cyrus-sasl-2.1.23/include conftest.cpp conftest.cpp:22:28: error: ac_nonexistent.h: No such file or directory configure:5611: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "ldapcpplib" | #define PACKAGE_TARNAME "ldapcpplib" | #define PACKAGE_VERSION " " | #define PACKAGE_STRING "ldapcpplib " | #define PACKAGE_BUGREPORT "http://www.openldap.org/its/ " | #define PACKAGE_URL "" | #define PACKAGE "ldapcpplib" | #define VERSION " " | #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_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:5636: result: g++ -E configure:5656: g++ -E -I/opt/bdb-4.8.30/include -I/opt/openssl-1.0.0/include -I/opt/cyrus-sasl-2.1.23/include conftest.cpp configure:5656: $? = 0 configure:5670: g++ -E -I/opt/bdb-4.8.30/include -I/opt/openssl-1.0.0/include -I/opt/cyrus-sasl-2.1.23/include conftest.cpp conftest.cpp:22:28: error: ac_nonexistent.h: No such file or directory configure:5670: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "ldapcpplib" | #define PACKAGE_TARNAME "ldapcpplib" | #define PACKAGE_VERSION " " | #define PACKAGE_STRING "ldapcpplib " | #define PACKAGE_BUGREPORT "http://www.openldap.org/its/ " | #define PACKAGE_URL "" | #define PACKAGE "ldapcpplib" | #define VERSION " " | #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_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:5754: checking for g77 configure:5784: result: no configure:5754: checking for xlf configure:5784: result: no configure:5754: checking for f77 configure:5784: result: no configure:5754: checking for frt configure:5784: result: no configure:5754: checking for pgf77 configure:5784: result: no configure:5754: checking for cf77 configure:5784: result: no configure:5754: checking for fort77 configure:5784: result: no configure:5754: checking for fl32 configure:5784: result: no configure:5754: checking for af77 configure:5784: result: no configure:5754: checking for xlf90 configure:5784: result: no configure:5754: checking for f90 configure:5784: result: no configure:5754: checking for pgf90 configure:5784: result: no configure:5754: checking for pghpf configure:5784: result: no configure:5754: checking for epcf90 configure:5784: result: no configure:5754: checking for gfortran configure:5784: result: no configure:5754: checking for g95 configure:5784: result: no configure:5754: checking for xlf95 configure:5784: result: no configure:5754: checking for f95 configure:5784: result: no configure:5754: checking for fort configure:5784: result: no configure:5754: checking for ifort configure:5784: result: no configure:5754: checking for ifc configure:5784: result: no configure:5754: checking for efc configure:5784: result: no configure:5754: checking for pgf95 configure:5784: result: no configure:5754: checking for lf95 configure:5784: result: no configure:5754: checking for ftn configure:5784: result: no configure:5807: checking for Fortran 77 compiler version configure:5816: --version >&5 ./configure: line 5818: --version: command not found configure:5827: $? = 127 configure:5816: -v >&5 ./configure: line 5818: -v: command not found configure:5827: $? = 127 configure:5816: -V >&5 ./configure: line 5818: -V: command not found configure:5827: $? = 127 configure:5816: -qversion >&5 ./configure: line 5818: -qversion: command not found configure:5827: $? = 127 configure:5836: checking whether we are using the GNU Fortran 77 compiler configure:5849: -c conftest.F >&5 ./configure: line 2119: -c: command not found configure:5849: $? = 127 configure: failed program was: | program main | #ifndef __GNUC__ | choke me | #endif | | end configure:5858: result: no configure:5864: checking whether accepts -g configure:5875: -c -g conftest.f >&5 ./configure: line 2119: -c: command not found configure:5875: $? = 127 configure: failed program was: | program main | | end configure:5883: result: no configure:5916: checking the maximum length of command line arguments configure:6028: result: 98304 configure:6040: checking command to parse /usr/bin/nm -B output from gcc object configure:6145: gcc -c -g -O2 -I/opt/bdb-4.8.30/include -I/opt/openssl-1.0.0/include -I/opt/cyrus-sasl-2.1.23/include conftest.c >&5 configure:6148: $? = 0 configure:6152: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' \> conftest.nm configure:6155: $? = 0 configure:6207: gcc -o conftest -g -O2 -I/opt/bdb-4.8.30/include -I/opt/openssl-1.0.0/include -I/opt/cyrus-sasl-2.1.23/include -L/opt/bdb-4.8.30/lib -L/opt/openssl-1.0.0/lib -L/opt/cyrus-sasl-2.1.23/lib conftest.c conftstm.o >&5 configure:6210: $? = 0 configure:6248: result: ok configure:6252: checking for objdir configure:6267: result: .libs configure:6359: checking for ar configure:6375: found /usr/bin/ar configure:6386: result: ar configure:6451: checking for ranlib configure:6467: found /usr/bin/ranlib configure:6478: result: ranlib configure:6543: checking for strip configure:6559: found /usr/bin/strip configure:6570: result: strip configure:7131: checking if gcc supports -fno-rtti -fno-exceptions configure:7149: gcc -c -g -O2 -I/opt/bdb-4.8.30/include -I/opt/openssl-1.0.0/include -I/opt/cyrus-sasl-2.1.23/include -fno-rtti -fno-exceptions conftest.c >&5 cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C configure:7153: $? = 0 configure:7166: result: no configure:7181: checking for gcc option to produce PIC configure:7413: result: -fPIC configure:7421: checking if gcc PIC flag -fPIC works configure:7439: gcc -c -g -O2 -I/opt/bdb-4.8.30/include -I/opt/openssl-1.0.0/include -I/opt/cyrus-sasl-2.1.23/include -fPIC -DPIC conftest.c >&5 configure:7443: $? = 0 configure:7456: result: yes configure:7484: checking if gcc static flag -static works configure:7512: result: no configure:7522: checking if gcc supports -c -o file.o configure:7543: gcc -c -g -O2 -I/opt/bdb-4.8.30/include -I/opt/openssl-1.0.0/include -I/opt/cyrus-sasl-2.1.23/include -o out/conftest2.o conftest.c >&5 configure:7547: $? = 0 configure:7569: result: yes configure:7595: checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries configure:8522: result: yes configure:8543: checking whether -lc should be explicitly linked in configure:8548: gcc -c -g -O2 -I/opt/bdb-4.8.30/include -I/opt/openssl-1.0.0/include -I/opt/cyrus-sasl-2.1.23/include conftest.c >&5 configure:8551: $? = 0 configure:8566: gcc -shared conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| grep -lc \>/dev/null 2\>\&1 configure:8569: $? = 0 configure:8581: result: no configure:8589: checking dynamic linker characteristics configure:9203: result: GNU/Linux ld.so configure:9227: checking how to hardcode library paths into programs configure:9252: result: immediate configure:9266: checking whether stripping libraries is possible configure:9271: result: yes configure:9788: checking if libtool supports shared libraries configure:9790: result: yes configure:9793: checking whether to build shared libraries configure:9814: result: yes configure:9817: checking whether to build static libraries configure:9821: result: yes configure:9915: creating libtool configure:10504: checking for ld used by g++ configure:10571: result: /usr/bin/ld -m elf_x86_64 configure:10578: checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld configure:10593: result: yes configure:10644: checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries configure:11536: result: yes configure:11553: g++ -c -g -O2 -I/opt/bdb-4.8.30/include -I/opt/openssl-1.0.0/include -I/opt/cyrus-sasl-2.1.23/include conftest.cpp >&5 configure:11556: $? = 0 configure:11712: checking for g++ option to produce PIC configure:11996: result: -fPIC configure:12004: checking if g++ PIC flag -fPIC works configure:12022: g++ -c -g -O2 -I/opt/bdb-4.8.30/include -I/opt/openssl-1.0.0/include -I/opt/cyrus-sasl-2.1.23/include -fPIC -DPIC conftest.cpp >&5 configure:12026: $? = 0 configure:12039: result: yes configure:12067: checking if g++ static flag -static works configure:12095: result: no configure:12105: checking if g++ supports -c -o file.o configure:12126: g++ -c -g -O2 -I/opt/bdb-4.8.30/include -I/opt/openssl-1.0.0/include -I/opt/cyrus-sasl-2.1.23/include -o out/conftest2.o conftest.cpp >&5 configure:12130: $? = 0 configure:12152: result: yes configure:12178: checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries configure:12207: result: yes configure:12274: checking dynamic linker characteristics configure:12836: result: GNU/Linux ld.so configure:12860: checking how to hardcode library paths into programs configure:12885: result: immediate configure:19066: checking for main in -lresolv configure:19085: gcc -o conftest -g -O2 -I/opt/openldap-2.4.26/include -I/opt/bdb-4.8.30/include -I/opt/openssl-1.0.0/include -I/opt/cyrus-sasl-2.1.23/include -L/opt/bdb-4.8.30/lib -L/opt/openssl-1.0.0/lib -L/opt/cyrus-sasl-2.1.23/lib conftest.c -lresolv -L/opt/openldap-2.4.26/lib -lgcc_s >&5 configure:19085: $? = 0 configure:19094: result: yes configure:19105: checking for ber_strdup in -llber configure:19130: gcc -o conftest -g -O2 -I/opt/openldap-2.4.26/include -I/opt/bdb-4.8.30/include -I/opt/openssl-1.0.0/include -I/opt/cyrus-sasl-2.1.23/include -L/opt/bdb-4.8.30/lib -L/opt/openssl-1.0.0/lib -L/opt/cyrus-sasl-2.1.23/lib conftest.c -llber -lresolv -L/opt/openldap-2.4.26/lib -lgcc_s >&5 configure:19130: $? = 0 configure:19139: result: yes configure:19154: checking for ldap_add_ext in -lldap configure:19181: gcc -o conftest -g -O2 -I/opt/openldap-2.4.26/include -I/opt/bdb-4.8.30/include -I/opt/openssl-1.0.0/include -I/opt/cyrus-sasl-2.1.23/include -L/opt/bdb-4.8.30/lib -L/opt/openssl-1.0.0/lib -L/opt/cyrus-sasl-2.1.23/lib conftest.c -lldap -llber -lresolv -L/opt/openldap-2.4.26/lib -lgcc_s >&5 configure:19181: $? = 0 configure:19190: result: yes configure:19205: checking whether time.h and sys/time.h may both be included configure:19225: gcc -c -g -O2 -I/opt/openldap-2.4.26/include -I/opt/bdb-4.8.30/include -I/opt/openssl-1.0.0/include -I/opt/cyrus-sasl-2.1.23/include conftest.c >&5 configure:19225: $? = 0 configure:19232: result: yes configure:19243: checking termios.h usability configure:19243: gcc -c -g -O2 -I/opt/openldap-2.4.26/include -I/opt/bdb-4.8.30/include -I/opt/openssl-1.0.0/include -I/opt/cyrus-sasl-2.1.23/include conftest.c >&5 configure:19243: $? = 0 configure:19243: result: yes configure:19243: checking termios.h presence configure:19243: gcc -E -I/opt/openldap-2.4.26/include -I/opt/bdb-4.8.30/include -I/opt/openssl-1.0.0/include -I/opt/cyrus-sasl-2.1.23/include conftest.c configure:19243: $? = 0 configure:19243: result: yes configure:19243: checking for termios.h configure:19243: result: yes configure:19243: checking ldap.h usability configure:19243: gcc -c -g -O2 -I/opt/openldap-2.4.26/include -I/opt/bdb-4.8.30/include -I/opt/openssl-1.0.0/include -I/opt/cyrus-sasl-2.1.23/include conftest.c >&5 configure:19243: $? = 0 configure:19243: result: yes configure:19243: checking ldap.h presence configure:19243: gcc -E -I/opt/openldap-2.4.26/include -I/opt/bdb-4.8.30/include -I/opt/openssl-1.0.0/include -I/opt/cyrus-sasl-2.1.23/include conftest.c configure:19243: $? = 0 configure:19243: result: yes configure:19243: checking for ldap.h configure:19243: result: yes configure:19274: checking lber.h usability configure:19274: gcc -c -g -O2 -I/opt/openldap-2.4.26/include -I/opt/bdb-4.8.30/include -I/opt/openssl-1.0.0/include -I/opt/cyrus-sasl-2.1.23/include conftest.c >&5 configure:19274: $? = 0 configure:19274: result: yes configure:19274: checking lber.h presence configure:19274: gcc -E -I/opt/openldap-2.4.26/include -I/opt/bdb-4.8.30/include -I/opt/openssl-1.0.0/include -I/opt/cyrus-sasl-2.1.23/include conftest.c configure:19274: $? = 0 configure:19274: result: yes configure:19274: checking for lber.h configure:19274: result: yes configure:19419: creating ./config.status ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by ldapcpplib config.status , which was generated by GNU Autoconf 2.65. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status on 100x103.filemaker.com config.status:883: creating Makefile config.status:883: creating src/Makefile config.status:883: creating examples/Makefile config.status:883: creating src/config.h config.status:1103: executing depfiles commands ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=x86_64-unknown-linux ac_cv_c_compiler_gnu=yes ac_cv_cxx_compiler_gnu=yes ac_cv_env_CCC_set= ac_cv_env_CCC_value= ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set= ac_cv_env_CFLAGS_value= ac_cv_env_CPPFLAGS_set=set ac_cv_env_CPPFLAGS_value='-I/opt/bdb-4.8.30/include -I/opt/openssl-1.0.0/include -I/opt/cyrus-sasl-2.1.23/include' ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_CXXCPP_set= ac_cv_env_CXXCPP_value= ac_cv_env_CXXFLAGS_set= ac_cv_env_CXXFLAGS_value= ac_cv_env_CXX_set= ac_cv_env_CXX_value= ac_cv_env_F77_set= ac_cv_env_F77_value= ac_cv_env_FFLAGS_set= ac_cv_env_FFLAGS_value= ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value='-L/opt/bdb-4.8.30/lib -L/opt/openssl-1.0.0/lib -L/opt/cyrus-sasl-2.1.23/lib' ac_cv_env_LIBS_set=set ac_cv_env_LIBS_value=-lgcc_s ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_f77_compiler_gnu=no ac_cv_header_dlfcn_h=yes ac_cv_header_inttypes_h=yes ac_cv_header_lber_h=yes ac_cv_header_ldap_h=yes ac_cv_header_memory_h=yes ac_cv_header_stdc=yes ac_cv_header_stdint_h=yes ac_cv_header_stdlib_h=yes ac_cv_header_string_h=yes ac_cv_header_strings_h=yes ac_cv_header_sys_stat_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_termios_h=yes ac_cv_header_time=yes ac_cv_header_unistd_h=yes ac_cv_host=x86_64-unknown-linux ac_cv_lib_lber_ber_strdup=yes ac_cv_lib_ldap_ldap_add_ext=yes ac_cv_lib_resolv_main=yes ac_cv_objext=o ac_cv_path_EGREP='/bin/grep -E' ac_cv_path_GREP=/bin/grep ac_cv_path_install='/usr/bin/install -c' ac_cv_path_mkdir=/bin/mkdir ac_cv_prog_AWK=gawk ac_cv_prog_CPP='gcc -E' ac_cv_prog_CXXCPP='g++ -E' ac_cv_prog_ac_ct_AR=ar ac_cv_prog_ac_ct_CC=gcc ac_cv_prog_ac_ct_CXX=g++ ac_cv_prog_ac_ct_RANLIB=ranlib ac_cv_prog_ac_ct_STRIP=strip ac_cv_prog_cc_c89= ac_cv_prog_cc_g=yes ac_cv_prog_cxx_g=yes ac_cv_prog_f77_g=no ac_cv_prog_make_make_set=yes am_cv_CC_dependencies_compiler_type=gcc3 am_cv_CXX_dependencies_compiler_type=gcc3 lt_cv_deplibs_check_method=pass_all lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_test_file= lt_cv_ld_reload_flag=-r lt_cv_objdir=.libs lt_cv_path_LD=/usr/bin/ld lt_cv_path_LDCXX='/usr/bin/ld -m elf_x86_64' lt_cv_path_NM='/usr/bin/nm -B' lt_cv_path_SED=/bin/sed lt_cv_prog_compiler_c_o=yes lt_cv_prog_compiler_c_o_CXX=yes lt_cv_prog_compiler_pic_works=yes lt_cv_prog_compiler_pic_works_CXX=yes lt_cv_prog_compiler_rtti_exceptions=no lt_cv_prog_compiler_static_works=no lt_cv_prog_compiler_static_works_CXX=no lt_cv_prog_gnu_ld=yes lt_cv_prog_gnu_ldcxx=yes lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\''' lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST] \([^ ]*\) \([^ ]*\)$/ {"\2", (lt_ptr) \&\2},/p'\''' lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^. .* \(.*\)$/extern int \1;/p'\''' lt_cv_sys_lib_dlsearch_path_spec='/lib /usr/lib /opt/bdb-4.8.30/lib /opt/cyrus-sasl-2.1.23/lib /opt/openldap-2.4.25/lib /opt/cumulus/lib /usr/lib64/qt-3.3/lib ' lt_cv_sys_lib_search_path_spec='/usr/lib/gcc/x86_64-redhat-linux/4.1.2 /usr/lib64 /lib64' lt_cv_sys_max_cmd_len=98304 lt_lt_cv_prog_compiler_c_o='"yes"' lt_lt_cv_prog_compiler_c_o_CXX='"yes"' lt_lt_cv_sys_global_symbol_pipe='"sed -n -e '\''s/^.*[ ]\\([ABCDGIRSTW][ABCDGIRSTW]*\\)[ ][ ]*\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 \\2 \\2/p'\''"' lt_lt_cv_sys_global_symbol_to_c_name_address='"sed -n -e '\''s/^: \\([^ ]*\\) \$/ {\\\"\\1\\\", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST] \\([^ ]*\\) \\([^ ]*\\)\$/ {\"\\2\", (lt_ptr) \\&\\2},/p'\''"' lt_lt_cv_sys_global_symbol_to_cdecl='"sed -n -e '\''s/^. .* \\(.*\\)\$/extern int \\1;/p'\''"' ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /opt/source/openldap-2.4.26/contrib/ldapc++/missing --run aclocal-1.10' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='${SHELL} /opt/source/openldap-2.4.26/contrib/ldapc++/missing --run tar' AR='ar' AUTOCONF='${SHELL} /opt/source/openldap-2.4.26/contrib/ldapc++/missing --run autoconf' AUTOHEADER='${SHELL} /opt/source/openldap-2.4.26/contrib/ldapc++/missing --run autoheader' AUTOMAKE='${SHELL} /opt/source/openldap-2.4.26/contrib/ldapc++/missing --run automake-1.10' AWK='gawk' CC='gcc' CCDEPMODE='depmode=gcc3' CFLAGS='-g -O2' CPP='gcc -E' CPPFLAGS='-I/opt/openldap-2.4.26/include -I/opt/bdb-4.8.30/include -I/opt/openssl-1.0.0/include -I/opt/cyrus-sasl-2.1.23/include ' CXX='g++' CXXCPP='g++ -E' CXXDEPMODE='depmode=gcc3' CXXFLAGS='-g -O0 -Wall' CYGPATH_W='echo' DEFS='-DHAVE_CONFIG_H' DEPDIR='.deps' DSYMUTIL='' ECHO='echo' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/bin/grep -E' EXEEXT='' F77='' FFLAGS='' GREP='/bin/grep' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' LDFLAGS='-L/opt/bdb-4.8.30/lib -L/opt/openssl-1.0.0/lib -L/opt/cyrus-sasl-2.1.23/lib' LIBOBJS='' LIBS='-lresolv -L/opt/openldap-2.4.26/lib -lgcc_s ' LIBTOOL='$(SHELL) $(top_builddir)/libtool' LN_S='ln -s' LTLIBOBJS='' MAKEINFO='${SHELL} /opt/source/openldap-2.4.26/contrib/ldapc++/missing --run makeinfo' MKDIR_P='/bin/mkdir -p' NMEDIT='' OBJEXT='o' OPENLDAP_CPP_API_VERSION='0:0:0' PACKAGE='ldapcpplib' PACKAGE_BUGREPORT='http://www.openldap.org/its/ ' PACKAGE_NAME='ldapcpplib' PACKAGE_STRING='ldapcpplib ' PACKAGE_TARNAME='ldapcpplib' PACKAGE_URL='' PACKAGE_VERSION=' ' PATH_SEPARATOR=':' RANLIB='ranlib' SED='/bin/sed' SET_MAKE='' SHELL='/bin/sh' STRIP='strip' VERSION='0.0.0' ac_ct_CC='gcc' ac_ct_CXX='g++' ac_ct_F77='' am__fastdepCC_FALSE='#' am__fastdepCC_TRUE='' am__fastdepCXX_FALSE='#' am__fastdepCXX_TRUE='' am__include='include' am__isrc='' am__leading_dot='.' am__quote='' am__tar='${AMTAR} chof - "$$tardir"' am__untar='${AMTAR} xf -' bindir='${exec_prefix}/bin' build='x86_64-unknown-linux' build_alias='' build_cpu='x86_64' build_os='linux' build_vendor='unknown' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='${prefix}' host='x86_64-unknown-linux' host_alias='' host_cpu='x86_64' host_os='linux' host_vendor='unknown' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='$(SHELL) /opt/source/openldap-2.4.26/contrib/ldapc++/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' mkdir_p='/bin/mkdir -p' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/opt/source/openldap-2.4.26/ldapc++' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "ldapcpplib" #define PACKAGE_TARNAME "ldapcpplib" #define PACKAGE_VERSION " " #define PACKAGE_STRING "ldapcpplib " #define PACKAGE_BUGREPORT "http://www.openldap.org/its/ " #define PACKAGE_URL "" #define PACKAGE "ldapcpplib" #define VERSION " " #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_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_DLFCN_H 1 #define WITH_DEBUG /**/ #define HAVE_LIBRESOLV 1 #define TIME_WITH_SYS_TIME 1 #define HAVE_TERMIOS_H 1 #define HAVE_LDAP_H 1 configure: exit 0