[Pvfs2-developers] configure fails on ppc64

Sam Lang slang at mcs.anl.gov
Tue Sep 19 14:40:50 EDT 2006


Hi Kyle, this error was caused by the openssl checks I just recently 
added.  The LIBS var was getting -lssl even if the configure checks 
couldn't find it.  I just committed a fix for this, so update and let me 
know if solves your configure problem.

-sam


Kyle Schochenmaier wrote:
> I'm using ppc64 cross-compiling, and the cvs-head no longer finishes the 
> configure script with my architecture.  I dont have this problem with 
> x86_64 machines.
> I see openssl causes problems here, is this now required?
> 
> p5l6:/usr/src/pvfs2-CVS# LDFLAGS='-m64' CFLAGS='-m64' ./configure 
> --libdir=/usr/local/lib64 --disable-server --with-openib=/usr/local && make
> 
> checking build system type... powerpc64-unknown-linux-gnu
> checking host system type... powerpc64-unknown-linux-gnu
> checking for gcc... gcc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> <snip>
> checking for find... yes
> checking for bison... yes
> checking for flex... yes
> checking for client library thread safety support... yes
> checking for openssl library... configure: WARNING: No openssl headers 
> found.
> configure: WARNING: No openssl headers found.
> checking openssl/evp.h usability... no
> checking openssl/evp.h presence... no
> checking for openssl/evp.h... no
> checking openssl/crypto.h usability... no
> checking openssl/crypto.h presence... no
> checking for openssl/crypto.h... no
> checking for pkg-config... no
> checking whether byte ordering is bigendian... yes
> checking for void *... yes
> checking size of void *... configure: error: cannot compute sizeof (void 
> *), 77
> See `config.log' for more details.
> 
> 
> config.log:
> configure:5340: found /usr/bin/flex
> configure:5351: result: yes
> configure:5406: checking for client library thread safety support
> configure:5420: result: yes
> configure:5853: checking for openssl library
> configure:5861: gcc -c -m64  conftest.c >&5
> conftest.c:1:25: error: openssl/bio.h: No such file or directory
> configure:5867: $? = 1
> configure: failed program was:
> | #include "openssl/bio.h"
> configure:5886: WARNING: No openssl headers found.
> configure:5907: gcc -o conftest -m64  -m64 conftest.c  -lcrypt -lssl >&5
> conftest.c:28:25: error: openssl/bio.h: No such file or directory
> conftest.c: In function 'main':
> conftest.c:32: error: 'BIO' undeclared (first use in this function)
> conftest.c:32: error: (Each undeclared identifier is reported only once
> conftest.c:32: error: for each function it appears in.)
> conftest.c:32: error: 'b' undeclared (first use in this function)
> configure:5913: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> <snip>
> configure:5939: WARNING: No openssl headers found.
> configure:5959: checking openssl/evp.h usability
> configure:5971: gcc -c -m64  conftest.c >&5
> conftest.c:62:25: error: openssl/evp.h: No such file or directory
> configure:5977: $? = 1
> <snip -- more openssl failures -->
> configure:6760: $? = 0
> configure:6763: test -s conftest.o
> configure:6766: $? = 0
> configure:6777: result: yes
> configure:6780: checking size of void *
> configure:7092: gcc -o conftest -m64  -m64 conftest.c  -lcrypt -lssl >&5
> /usr/bin/ld: cannot find -lssl
> collect2: ld returned 1 exit status
> configure:7095: $? = 1
> configure: program exited with status 1
> configure: failed program was:
> 
>    -- Kyle
> 


More information about the Pvfs2-developers mailing list