Mantis - Resin
Viewing Issue Advanced Details
182 minor always 05-17-05 00:00 11-30-05 14:44
user73  
 
high  
closed 3.0.13  
3.0.13 fixed  
none    
none 3.0.14  
0000182: configure fails to use specified openssl
RSN-182
Please note that it uses the include directory from the specified openssl install directory but finds the libs in the system location. The logic in the configure script seems wrong to me as the system locations always appear to override whatever is specified on the command line.

% configure --with-openssl=/Users/forrestg/p4/3pwebedge/mainline/export/openssl
checking build system type... powerpc-apple-darwin7.9.0
checking host system type... powerpc-apple-darwin7.9.0
checking target system type... powerpc-apple-darwin7.9.0
checking for a BSD-compatible install... /Users/forrestg/p4/tools/mainline/expor
t/bin/install -c
checking whether build environment is sane... yes
checking for gawk... /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking for gcc... cc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of cc... none
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking how to run the C preprocessor... cc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -p
checking for a sed that does not truncate output... /usr/bin/sed
checking whether ln -s works... yes
checking how to recognise dependent libraries... file_magic Mach-O dynamically l
inked shared library
checking command to parse /usr/bin/nm -p output... ok
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... /usr/bin/ranlib
checking for strip... strip
checking for objdir... .libs
checking for cc option to produce PIC... -fno-common
checking if cc PIC flag -fno-common works... yes
checking if cc static flag -static works... no
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.lo... yes
checking if cc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... unsupported
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... darwin7.9.0 dyld
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... yes
creating libtool
Using shared library flags from /usr/sbin/apxs
checking for JAVA_HOME... /System/Library/Frameworks/JavaVM.framework/HOME
checking if Java is 64-bit... no
Using Apache CFLAGS: -DDARWIN -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -g -Os -pipe -DHARD_SERVER_LIMIT=2048 -DEAPI
checking for JNI in /System/Library/Frameworks/JavaVM.framework/HOME/include ...
 found
Using openssl include in ... /Users/forrestg/p4/3pwebedge/mainline/export/openssl/include
Using openssl lib in ... /usr/lib
Using openssl libraries in ... -lcrypto -lssl

Darwin ridgeway 7.9.0 Darwin Kernel Version 7.9.0: Wed Mar 30 20:11:17 PST 2005; root:xnu/xnu-517.12.7.obj~1/RELEASE_PPC Power Macintosh powerpc


Notes
(0000212)
ferg   
05-17-05 00:00   
--with-openssl wasn't properly setting OPENSSL_LIB and OPENSSL_INCLUDE.