curl-users
Re: Compile problem
Date: Wed, 15 Nov 2000 12:50:38 -0000
[snip]
> What is important, is did configure find both the crypto and ssl libs
> properly? Did it correctly find 6 openssl include files?
>
> Show us those lines of the configure output instead.
OK ... BTW it's OpenSSL 0.9.6.
BTW, sorry about the long message. I'm now starting to think that it may
be an OpenSSL problem because whatever directory I specify on the
./configure command line makes no difference to the output here. I have
therefore appended a directory listing of /usr/local/ssl (with the man
files omitted for brevity).
I also tried LDFLAGS=-L/usr/local/ssl/lib but this made no difference.
./configure messages:
--8<--
root_at_titan:/usr/src/curl-7.4.1# ./configure --with-ssl=/usr/local/ssl
loading cache ./config.cache
checking for a BSD compatible install... (cached) /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking host system type... i586-pc-linux-gnu
checking build system type... i586-pc-linux-gnu
checking for ranlib... (cached) ranlib
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for ld used by GCC... (cached) /usr/i386-slackware-linux/bin/ld
checking if the linker (/usr/i386-slackware-linux/bin/ld) is GNU ld...
(cached) yes
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking whether ln -s works... (cached) yes
loading cache ./config.cache within ltconfig
checking for object suffix... o
checking for executable suffix... (cached) no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... yes
checking if gcc static flag -static works... -static
checking if the linker (/usr/i386-slackware-linux/bin/ld) is GNU ld...
yes
checking whether the linker (/usr/i386-slackware-linux/bin/ld) supports
shared libraries... yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/i386-slackware-linux/bin/ld option to reload object
files... -r
checking dynamic linker characteristics... Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
loading cache ./config.cache
checking host system type... i586-pc-linux-gnu
checking target system type... i586-pc-linux-gnu
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -g -O2 ) works... yes
checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for AIX... no
checking for special C compiler options needed for large files...
(cached) no
checking for _FILE_OFFSET_BITS value needed for large files... (cached)
64
checking for _LARGEFILE_SOURCE value needed for large files... (cached)
no
checking for _LARGE_FILES value needed for large files... (cached) no
checking whether make sets ${MAKE}... (cached) yes
checking for gethostbyname... (cached) yes
checking for strcasecmp... (cached) yes
checking for connect... (cached) yes
checking for gethostname... (cached) yes
checking for dlopen... (cached) no
checking for dlopen in -ldl... (cached) yes
checking if Kerberos4 support is requested... no
checking where to look for SSL... /usr/local/ssl
checking for CRYPTO_lock in -lcrypto... (cached) no
checking for RAND_status... (cached) no
checking for RAND_screen... (cached) no
checking for gethostbyname_r... (cached) yes
checking if gethostbyname_r takes 3 arguments... no
checking if gethostbyname_r with -D_REENTRANT takes 3 arguments... no
checking if gethostbyname_r takes 5 arguments... no
checking if gethostbyname_r takes 6 arguments... yes
checking for gethostbyaddr_r... (cached) yes
checking if gethostbyaddr_r takes 5 arguments... no
checking if gethostbyaddr_r with -D_REENTRANT takes 5 arguments... no
checking if gethostbyaddr_r takes 7 arguments... no
checking if gethostbyaddr_r takes 8 arguments... yes
checking for inet_ntoa_r... (cached) no
checking for localtime_r... (cached) yes
checking whether localtime_r is declared... yes
checking for ANSI C header files... (cached) yes
checking for unistd.h... (cached) yes
checking for malloc.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for arpa/inet.h... (cached) yes
checking for net/if.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for netinet/if_ether.h... (cached) yes
checking for netdb.h... (cached) yes
checking for sys/select.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for sys/sockio.h... (cached) no
checking for sys/stat.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for getopt.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for termios.h... (cached) yes
checking for termio.h... (cached) yes
checking for sgtty.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for dlfcn.h... (cached) yes
checking for alloca.h... (cached) yes
checking for winsock.h... (cached) no
checking for time.h... (cached) yes
checking for io.h... (cached) no
checking for working const... (cached) yes
checking for size_t... (cached) yes
checking whether time.h and sys/time.h may both be included... (cached)
yes
checking size of long double... (cached) 12
checking size of long long... (cached) 8
checking host system type... i586-pc-linux-gnu
checking return type of signal handlers... (cached) void
checking for socket... (cached) yes
checking for select... (cached) yes
checking for strdup... (cached) yes
checking for strstr... (cached) yes
checking for strftime... (cached) yes
checking for uname... (cached) yes
checking for strcasecmp... (cached) yes
checking for stricmp... (cached) no
checking for strcmpi... (cached) no
checking for gethostname... (cached) yes
checking for gethostbyaddr... (cached) yes
checking for getservbyname... (cached) yes
checking for gettimeofday... (cached) yes
checking for inet_addr... (cached) yes
checking for inet_ntoa... (cached) yes
checking for tcsetattr... (cached) yes
checking for tcgetattr... (cached) yes
checking for perror... (cached) yes
checking for getpass... (cached) yes
checking for closesocket... (cached) no
checking for setvbuf... (cached) yes
checking for perl... (cached) /usr/bin/perl
checking for gnroff... (cached) /usr/bin/gnroff
checking for bison... (cached) bison -y
creating ./config.status
creating Makefile
creating curl.spec
creating curl-ssl.spec
creating docs/Makefile
creating include/Makefile
creating include/curl/Makefile
creating src/Makefile
creating lib/Makefile
creating config.h
config.h is unchanged
creating src/config.h
src/config.h is unchanged
root_at_titan:/usr/src/curl-7.4.1#
--8<--
--8<--
root_at_titan:/usr/src/curl-7.4.1# ls -pR /usr/local/ssl
/usr/local/ssl:
bin/ certs/ include/ lib/ man/ misc/ openssl.cnf private/
/usr/local/ssl/bin:
c_rehash openssl
/usr/local/ssl/certs:
/usr/local/ssl/include:
openssl/
/usr/local/ssl/include/openssl:
asn1.h cast.h dh.h engine.h md2.h
asn1_mac.h comp.h dsa.h err.h md4.h
bio.h conf.h dso.h evp.h md5.h
blowfish.h conf_api.h e_os.h hmac.h mdc2.h
bn.h crypto.h e_os2.h idea.h obj_mac.h
buffer.h des.h ebcdic.h lhash.h objects.h
opensslconf.h rand.h safestack.h stack.h x509_vfy.h
opensslv.h rc2.h sha.h symhacks.h x509v3.h
pem.h rc4.h ssl.h tls1.h
pem2.h rc5.h ssl2.h tmdiff.h
pkcs12.h ripemd.h ssl23.h txt_db.h
pkcs7.h rsa.h ssl3.h x509.h
/usr/local/ssl/lib:
libcrypto.a libssl.a
/usr/local/ssl/man:
[snip]
/usr/local/ssl/misc:
CA.pl CA.sh c_hash c_info c_issuer c_name der_chop
/usr/local/ssl/private:
root_at_titan:/usr/src/curl-7.4.1#
--8<--
Cheers,
Kingsley.
Received on 2000-11-15