On Jul 17, 2008, at 6:50 PM, Mei-Hui Su wrote:
Hi,
Building on solaris 2.9 using source installer tar ball,
Trying the workaround from
http://dev.globus.org/wiki/C_Security:_Vendor_OpenSSL#Known_Issues_and_Workarounds
I can see that the environment variables did make it into configure
but
it was not used during the testing.
(at gt4.2.0-all-source-installer/source-trees/gsi/openssl/source)
configure:1810: checking whether make sets $(MAKE)
configure:1830: result: yes
configure:2010: checking OpenSSL CFLAGS
configure:2017: result: using ''
configure:2021: checking OpenSSL INCLUDES
configure:2030: result: using '-I/local/openssl-0.9.8a/include'
configure:2045: checking for style of include used by make
configure:2073: result: GNU
configure:2144: checking for gcc
configure:2170: result: /tools/gcc-3.1/bin/gcc
and,
configure:2895: $? = 1
configure: failed program was:
| #ifndef __cplusplus
| choke me
| #endif
configure:3030: checking dependency style of /tools/gcc-3.1/bin/gcc
configure:3120: result: none
configure:3154: /tools/gcc-3.1/bin/gcc -c -g -m32 -Wall -I/home/
meihuisu/GLOBUS/BUI
LD/include -I/home/meihuisu/GLOBUS/BUILD/include/gcc32dbg conftest.c
>&5
conftest.c:9:25: openssl/ssl.h: No such file or directory
conftest.c: In function `main':
conftest.c:13: warning: implicit declaration of function
`SSL_library_init'
configure:3160: $? = 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 <openssl/ssl.h>
| int
| main ()
| {
| SSL_library_init();
| ;
| return 0;
| }
configure:3180: error: Unable to compile with SSL
and the file is there,
dataportal% ls /local/openssl-0.9.8a/include/*/ssl.h
/local/openssl-0.9.8a/include/openssl/ssl.h
thanks
mei
Try sticking it in OPENSSL_CFLAGS. Looks like there's a bug in the
configure script for the cpp flags.
Joe