cURL / Mailing Lists / curl-library / Single Mail

curl-library

building curl on solaris 2.6

From: Dylan Ellicott <dne_at_ca.stilo.com>
Date: 10 Oct 2003 11:41:29 -0400

Hello,

I am having problems building libcurl on solaris 2.6 here is the command
I used for configure
 ./configure --prefix=/public/SunSoftware?/curl-7.10.7
--with-ssl=/public/SunSoftware?/openssl-0.9.7c --without-zlib
--enable-shared

and here is the error message that I received:

checking for off_t... yes
checking size of off_t... configure: error: cannot compute sizeof
(off_t), 77
See `config.log' for more details.

config.log was not of much help either as this is what it contained (at
the error point)

#define TIME_WITH_SYS_TIME 1
#define VERSION "7.10.7"
#define _FILE_OFFSET_BITS 64
 
configure: exit 1

I also tried setting the C compiler and C++ compiler CXX=CC and CC=cc
but got the same result.

I am including the entire configure output and was hoping someone could
give me a suggestion as to how to work around this problem.

Any help would be appreciated
-Dylan

-- 
Dylan Ellicott <dne_at_ca.stilo.com>
Stilo Corporation

checking whether to enable maintainer-specific portions of Makefiles... no
checking for sed... /opt/local/bin/sed
checking for ar... /usr/ccs/bin/ar
checking for a BSD-compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking curl version... 7.10.7
checking build system type... sparc-sun-solaris2.6
checking host system type... sparc-sun-solaris2.6
checking for style of include used by make... GNU
checking for gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for AIX... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGE_FILES value needed for large files... no
checking for a sed that does not truncate output... /opt/local/bin/sed
checking for ld used by gcc... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking for /usr/ccs/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/ccs/bin/nm -p
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
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... no
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc
checking how to run the C++ preprocessor... g++ -E
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 262144
checking command to parse /usr/ccs/bin/nm -p output from gcc object... ok
checking for objdir... .libs
checking for ar... /usr/ccs/bin/ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
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 whether the gcc linker (/usr/ccs/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... solaris2.6 ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking whether the g++ linker (/usr/ccs/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/ccs/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... solaris2.6 ld.so
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/ccs/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... solaris2.6 ld.so
checking whether make sets $(MAKE)... (cached) yes
checking whether to support http... yes
checking whether to support ftp... yes
checking whether to support gopher... yes
checking whether to support file... yes
checking whether to support ldap... yes
checking whether to support dict... yes
checking whether to support telnet... yes
checking whether to enable ipv6... no
checking for gethostbyname... no
checking for gethostbyname in -lnsl... yes
checking for strcasecmp... yes
checking for connect... no
checking for connect in -lsocket... yes
checking for dlclose... no
checking for dlopen in -ldl... yes
checking whether to use libgcc... no
checking non-blocking sockets style... O_NONBLOCK
checking for "/dev/urandom"... yes
checking if argv can be written to... yes
checking if Kerberos4 support is requested... no
checking if GSSAPI support is requested... no
checking for pkg-config... no
checking for CRYPTO_lock in -lcrypto... yes
checking for CRYPTO_add_lock in -lcrypto... yes
checking for SSL_connect in -lssl... yes
checking openssl/x509.h usability... yes
checking openssl/x509.h presence... yes
checking for openssl/x509.h... yes
checking openssl/rsa.h usability... yes
checking openssl/rsa.h presence... yes
checking for openssl/rsa.h... yes
checking openssl/crypto.h usability... yes
checking openssl/crypto.h presence... yes
checking for openssl/crypto.h... yes
checking openssl/pem.h usability... yes
checking openssl/pem.h presence... yes
checking for openssl/pem.h... yes
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
checking openssl/err.h usability... yes
checking openssl/err.h presence... yes
checking for openssl/err.h... yes
checking for ENGINE_init... yes
checking openssl/engine.h usability... yes
checking openssl/engine.h presence... yes
checking for openssl/engine.h... yes
checking CA cert bundle install path... ${prefix}/share/curl/curl-ca-bundle.crt
checking for RAND_status... yes
checking for RAND_screen... no
checking for RAND_egd... yes
configure: WARNING: zlib disabled
checking AIX 4.3 or later... no
checking for gethostbyname_r... 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... yes
checking for gethostbyaddr_r... 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... yes
checking for inet_ntoa_r... yes
checking whether inet_ntoa_r is declared... no
checking whether inet_ntoa_r with -D_REENTRANT is declared... no
checking for localtime_r... yes
checking whether localtime_r is declared... no
checking whether localtime_r with -D_REENTRANT is declared... yes
checking for gmtime_r... yes
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/time.h... yes
checking for sys/select.h... yes
checking for sys/socket.h... yes
checking for unistd.h... (cached) yes
checking for malloc.h... yes
checking for stdlib.h... (cached) yes
checking for arpa/inet.h... yes
checking for net/if.h... yes
checking for netinet/in.h... yes
checking for netdb.h... yes
checking for sys/sockio.h... yes
checking for sys/stat.h... (cached) yes
checking for sys/param.h... yes
checking for termios.h... yes
checking for termio.h... yes
checking for sgtty.h... yes
checking for fcntl.h... yes
checking for dlfcn.h... (cached) yes
checking for alloca.h... yes
checking for winsock.h... no
checking for time.h... yes
checking for io.h... no
checking for pwd.h... yes
checking for utime.h... yes
checking for sys/utime.h... yes
checking for sys/poll.h... yes
checking for setjmp.h... yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for off_t... yes
checking size of off_t... configure: error: cannot compute sizeof (off_t), 77
See `config.log' for more details.

-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
Received on 2003-10-10