Hi! On Sun, Dec 7, 2008 at 5:52 PM, Trent W. Buck <[EMAIL PROTECTED]> wrote: > What failure does this indicate? > > $ dist/build/darcs/darcs pull > darcs: user error (URL.request_url: there is no curl or libwww!) > > darcs failed: Not a repository: http://darcs.net (thread blocked > indefinitely) > > I'm getting it even though 'cabal configure --verbose' includes > > $ cabal configure --verbose -f'curses terminfo -haskeline external-zlib > -libwww' > [...] > Flags chosen: base3=True, color=True, type-witnesses=False, > curses=True, terminfo=True, haskeline=False, external-zlib=True, > external-bytestring=True, http=True, libwww=False, > curl-pipelining=False, curl=True > [...] > > I cabal cleaned before the cabal configure, and cabal build succeeded. > Curl is installed: > > $ pkg-config --modversion libcurl > 7.18.2 > > $ aptitude -F %p%v search ~i~ncurl > curl 7.18.2-5 > libcurl3 7.18.2-5 > libcurl3-gnutls 7.18.2-5 > libcurl4-openssl-dev 7.18.2-5
Error in URL.request_url indicates that there is no support for curl, libwww or network-http compiled (error message says only about curl and libwww, that is not accurate). But in this case Darcs.External should use wget. Looks like we have a bug in build configuration - "have_libwww || have_libcurl || have_HTTP" is true, but HAVE_LIBWWW, HAVE_CURL and HAVE_HTTP macros are not defined. That should never happen. I suspect this is cabal specific. Can you try building with ./configure && make and check? Regards, Dmitry > > _______________________________________________ > darcs-users mailing list > [email protected] > http://lists.osuosl.org/mailman/listinfo/darcs-users > _______________________________________________ darcs-users mailing list [email protected] http://lists.osuosl.org/mailman/listinfo/darcs-users
