curl-library
building on solaris
Date: Mon, 7 Nov 2005 18:40:38 -0800
I have a feeling more curl-library folks will know what's up here, so
even though this isn't strictly about the library, I'm posting there.
I just grabbed the latest code from cvs and tried to build it on my
solaris machine (SunOS 5.8). After getting the right versions of
automake/autoconf/libtool installed, buildconf, configure and make all
work fine. There are a few warnings, along the lines of:
source='mprintf.c' object='mprintf.lo' libtool=yes \
DEPDIR=.deps depmode=gcc /bin/bash ../depcomp \
/bin/bash ../libtool --mode=compile --tag=CC gcc -DHAVE_CONFIG_H
-I../include -I../lib -I../lib -DCURLDEBUG -g -g -W -Wall
-Wwrite-strings -pedantic -Wpointer-arith -Wnested-externs -Winline
-Wmissing-prototypes -Wmissing-declarations -c -o mprintf.lo mprintf.c
gcc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -DCURLDEBUG -g -g -W
-Wall -Wwrite-strings -pedantic -Wpointer-arith -Wnested-externs
-Winline -Wmissing-prototypes -Wmissing-declarations -c mprintf.c
-Wp,-MD,.deps/mprintf.TPlo -o mprintf.o
mprintf.c:145: warning: ANSI C does not support `long long'
mprintf.c: In function `dprintf_formatf':
mprintf.c:638: warning: ANSI C does not support `long long'
mprintf.c:964: warning: ANSI C does not support `long long'
mprintf.c:964: warning: ANSI C does not support `long long'
I haven't looked deeper into this yet, but maybe someone else knows
what's going on here?
I tried:
make dist
to see what would happen.
With the source directory configured as the build directory, I got an
error that roffit wasn't found. A quick google for roffit shows that
it's one of Daniel's packages so I grabbed it, included it in my path,
and got a bit farther. Is there a more helpful error message, or some
way to include roffit with curl, or something? Or is the idea that most
folks don't run make dist?
With roffit, make dist goes all the way through, but complains that I
don't have groff. I'm sure I can twist my sysadmin's arm and he'll
install it for me, and everything will work.
make distcheck (again with the source directory configured as the build
directory) ends up running the testsuite, which has a couple of failures
for me. Here are the results:
srcdir=../../tests /usr/bin/perl -I../../tests ../../tests/runtests.pl
-s -a
********* System characteristics ********
* curl 7.15.1-CVS (sparc-sun-solaris2.8)
* libcurl/7.15.1-CVS zlib/1.1.4
* Features: IPv6 Largefile libz
* Host: <my host>
* System: SunOS <my host> 5.8 Generic_108528-17 sun4u sparc
SUNW,Ultra-Enterprise
* Server SSL: OFF
* libcurl SSL: OFF
* libcurl debug: OFF
* valgrind: OFF
* HTTP IPv6 ON
* FTP IPv6 ON
* HTTP port: 8990
* FTP port: 8992
* FTP port 2: 8995
* HTTP IPv6 port: 8994
* FTP IPv6 port: 8996
* TFTP port: 8997
TESTDONE: 251 tests out of 252 reported OK: 99%
TESTFAIL: These test cases failed: 521
TESTDONE: 301 tests were considered during 239 seconds.
TESTINFO: 49 tests were skipped due to these restraints:
TESTINFO: "curl lacks netrc_debug support" 6 times (130, 131, 132, 133,
134, 257)
TESTINFO: "curl lacks SSL support" 12 times (94, 183, 184, 185, 300,
301, 302, 303, 304, 305, 306, 509)
TESTINFO: "failed starting FTP-ipv6 server" 4 times (252, 253, 254, 255)
TESTINFO: "curl lacks idn support" 1 times (165)
TESTINFO: "curl lacks NTLM support" 21 times (67, 68, 69, 70, 81, 89,
90, 91, 150, 155, 159, 162, 169, 170, 176, 209, 213, 239, 243, 265, 267)
TESTINFO: "rlimit problems" 1 times (518)
TESTINFO: "failed starting IPv6 HTTP server" 4 times (240, 241, 242,
263)
make distcheck stops here because of the failure. When I run the
testsuite "manually" with make test in the tests directory, my results
are slightly different:
********* System characteristics ********
* curl 7.15.1-CVS (sparc-sun-solaris2.8)
* libcurl/7.15.1-CVS zlib/1.1.4
* Features: Debug IPv6 Largefile libz
* Host: accra.kivera-dc.com
* System: SunOS accra.kivera-dc.com 5.8 Generic_108528-17 sun4u sparc
SUNW,Ultra-Enterprise
* Server SSL: OFF
* libcurl SSL: OFF
* libcurl debug: ON
* valgrind: OFF
* HTTP IPv6 ON
* FTP IPv6 ON
* HTTP port: 8990
* FTP port: 8992
* FTP port 2: 8995
* HTTP IPv6 port: 8994
* FTP IPv6 port: 8996
* TFTP port: 8997
*****************************************
TESTDONE: 258 tests out of 258 reported OK: 100%
TESTDONE: 301 tests were considered during 212 seconds.
TESTINFO: 43 tests were skipped due to these restraints:
TESTINFO: "curl lacks SSL support" 12 times (94, 183, 184, 185, 300,
301, 302, 303, 304, 305, 306, 509)
TESTINFO: "failed starting FTP-ipv6 server" 4 times (252, 253, 254, 255)
TESTINFO: "curl lacks idn support" 1 times (165)
TESTINFO: "curl lacks NTLM support" 21 times (67, 68, 69, 70, 81, 89,
90, 91, 150, 155, 159, 162, 169, 170, 176, 209, 213, 239, 243, 265, 267)
TESTINFO: "rlimit problems" 1 times (518)
TESTINFO: "failed starting IPv6 HTTP server" 4 times (240, 241, 242,
263)
How does distcheck work for other folks out there?
Thanks for your help.
-DB
Received on 2005-11-08