On Mon, Jan 4, 2021 at 4:07 AM Mike Gran <spk...@yahoo.com> wrote: > > On Mon, Jan 04, 2021 at 12:42:34PM +0100, Ricardo Wurmus wrote: > > > > Hi Mike, > > > > > On Mon, Jan 04, 2021 at 10:02:57AM +0100, Ricardo Wurmus wrote: > > >> > > >> Aleix Conchillo Flaqu� <aconchi...@gmail.com> writes: > > >> > > >> > I'm trying to add guile-curl to homebrew-guile but ran into > > >> > compilation issues in type.c using the tarball from your email. > > >> > > >> I can confirm this. (I just tried to upgrade the guile-curl package in > > >> Guix.) > > > > > > How embarassing. The tarball had a bit of unreverted commit. I've > > > regenerated the tarball, and the code in the repo is unchanged. > > > > > > The corrected tarball is > > > http://lonelycactus.com/tarball/guile_curl-0.7.tar.gz > > > > Thank you! > > > > Unfortunately, I'm getting test failures due to an undefined variable: > > Curious indeed. I can't reproduce, but, I think I know what it is > complaining about. Let me see what I can do. >
I actually have the same issue: scheme@(guile-user)> (use-modules (curl)) While compiling expression: Unbound variable: CURLOPT_HAPROXYPROTOCOL This is the output after a first try. On the first try I get: scheme@(guile-user)> (use-modules (curl)) ;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0 ;;; or pass the --no-auto-compile argument to disable. ;;; compiling /usr/local/share/guile/site/3.0/curl.scm ;;; /usr/local/share/guile/site/3.0/curl.scm:370:2: warning: possibly unbound variable `%curl-easy-init' ;;; /usr/local/share/guile/site/3.0/curl.scm:375:2: warning: possibly unbound variable `%curl-easy-handle?' ;;; /usr/local/share/guile/site/3.0/curl.scm:384:2: warning: possibly unbound variable `%curl-easy-cleanup' ;;; /usr/local/share/guile/site/3.0/curl.scm:392:2: warning: possibly unbound variable `%curl-easy-reset' ;;; /usr/local/share/guile/site/3.0/curl.scm:395:2: warning: possibly unbound variable `CURLOPT_VERBOSE' ..... ..... Note that GUILE_SYSTEM_EXTENSIONS_PATH is properly set and libguile-curl file are there. I don't recall if the warnings are an issue or not in other libraries, but I don't remember seeing them either. Aleix