cURL / Mailing Lists / curl-library / Single Mail

curl-library

first-tests with 7.15.2-CVS

From: Alexander Lazic <al-curllibrary_at_none.at>
Date: Thu, 5 Jan 2006 18:00:15 +0100

Hi,

build and tested on:

./configure --enable-ares --disable-ipv6 --prefix=$HOME/progs/curl CFLAGS=-DHAVE_CURL_MULTI_SOCKET

---
********* System characteristics ******** 
* curl 7.15.2-CVS (i686-redhat-linux-gnu) 
* libcurl/7.15.2-CVS OpenSSL/0.9.7f zlib/1.2.2.2 c-ares/1.3.1 \
libidn/0.5.15
* Features: AsynchDNS IDN Largefile NTLM SSL libz 
* Host: home
* System: Linux al1.user.lan.at 2.6.14-1.1637_FC4 #1 Wed Nov 9 18:19:37 \
EST 2005 i686 i686 i386 GNU/Linux
* Server SSL:     ON
* libcurl SSL:    ON
* libcurl debug:  OFF
* valgrind:       OFF
* HTTP IPv6       OFF
* FTP IPv6        OFF
* HTTP port:      8990
* FTP port:       8992
* FTP port 2:     8995
* HTTPS port:     8991
* TFTP port:      8997
* SSL library:    OpenSSL
.
.
TESTDONE: 285 tests out of 285 reported OK: 100%
TESTDONE: 301 tests were considered during 139 seconds.
TESTINFO: 16 tests were skipped due to these restraints:
TESTINFO: "curl lacks ipv6 support" 9 times (212, 240, 241, 242, 252, \
253, 254, 255, 263)
TESTINFO: "rlimit problems" 1 times (518)
TESTINFO: "curl lacks netrc_debug support" 6 times (130, 131, 132, 133, \
134, 257)
---
Now with CURL_MULTIEASY:
./configure --enable-ares --disable-ipv6 --prefix=$HOME/progs/curl CFLAGS='-DHAVE_CURL_MULTI_SOCKET -DCURL_MULTIEASY'
.
.
TESTDONE: 278 tests out of 285 reported OK: 97%
TESTFAIL: These test cases failed: 227 230 231 232 236 505 506 
TESTDONE: 301 tests were considered during 151 seconds.
TESTINFO: 16 tests were skipped due to these restraints:
TESTINFO: "curl lacks ipv6 support" 9 times (212, 240, 241, 242, 252, 253, 254, 255, 263)
TESTINFO: "rlimit problems" 1 times (518)
TESTINFO: "curl lacks netrc_debug support" 6 times (130, 131, 132, 133, 134, 257)
The ftp-test are know errors as i know.
---
After cvs co && patch < hiper-5.patch i have run the ./buildconf.
I have called the ./buildconf in ares file separately how about to
change the last part:
---
if test -d ares; then
  cd ares
  echo "buildconf: running ares/libtoolize"
$libtoolize --copy --automake --force || die "The libtoolize command failed"
  echo "buildconf: running ares/aclocal"
  ${ACLOCAL:-aclocal} $ACLOCAL_FLAGS || die "The ares aclocal command failed"
  echo "buildconf: running ares/autoconf"
  ${AUTOCONF:-autoconf}     || die "The ares autoconf command failed"
  cd ..
fi
---
to
---
if test -d ares; then
  cd ares
  echo "buildconf: running in ares"
  ./buildconf
  cd ..
fi
---
The Problem ist that the Makefile.in was not created.
After that the libcares isn't build before the link state:
---
.
.
.
gcc -shared  .libs/file.o .libs/timeval.o .libs/base64.o .libs/hostip.o .libs/progress.o .libs/formdata.o .libs/cookie.o .libs/http.o .libs/sendf.o .libs/ftp.o .libs/url.o .libs/dict.o .libs/if2ip.o .libs/speedcheck.o .libs/ldap.o .libs/ssluse.o .libs/version.o .libs/getenv.o .libs/escape.o .libs/mprintf.o .libs/telnet.o .libs/netrc.o .libs/getinfo.o .libs/transfer.o .libs/strequal.o .libs/easy.o .libs/security.o .libs/krb4.o .libs/memdebug.o .libs/http_chunks.o .libs/strtok.o .libs/connect.o .libs/llist.o .libs/hash.o .libs/multi.o .libs/content_encoding.o .libs/share.o .libs/http_digest.o .libs/md5.o .libs/http_negotiate.o .libs/http_ntlm.o .libs/inet_pton.o .libs/strtoofft.o .libs/strerror.o .libs/hostares.o .libs/hostasyn.o .libs/hostip4.o .libs/hostip6.o .libs/hostsyn.o .libs/hostthre.o .libs/inet_ntop.o .libs/parsedate.o .libs/select.o .libs/gtls.o .libs/sslgen.o .libs/tftp.o .libs/splay.o  -L/usr/kerberos/lib -Lcurl_cvs_20060105/ares -lcares /usr/lib/libidn.so -lssl -!
 lcrypto -lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -lresolv -ldl -lz  -Wl,-soname -Wl,libcurl.so.3 -o .libs/libcurl.so.3.0.0
/usr/bin/ld: cannot find -lcares
collect2: ld returned 1 exit status
make[2]: *** [libcurl.la] Fehler 1
make[2]: Leaving directory `curl_cvs_20060105/lib'
make[1]: *** [all] Fehler 2
make[1]: Leaving directory `curl_cvs_20060105/lib'
make: *** [all-recursive] Fehler 1
home Thu 05 Jan 2006 16:43 curl_cvs_20060105 $ cd ares/
home Thu 05 Jan 2006 16:43 curl_cvs_20060105/ares $ make
---
@Freebsd: i try it this weekend again but there is a error with the
A*LIBTOOL command. Tell you the full error this weekend.
Greetings and hth
Aleks
Received on 2006-01-05