#7 compiling on linux with guile 3

Stängd
öppnade 4 år sedan av tch70 · 3 kommentarer
tch70 kommenterad 4 år sedan

The module doesn't compile on linux with guile 3 without modifications, right? I'm attaching my kludge for the problem:

The module doesn't compile on linux with guile 3 without modifications, right? I'm attaching my kludge for the problem:
tch70 kommenterad 4 år sedan
Skapare

What can I upload, then? Here's the patch inline, then (accessible from editing/source view):

--- configure.ac.prev ^2020-05-23 13:23:29.000000000 +0300 +++ configure.ac ^2020-09-24 22:51:46.250648180 +0300 @@ -27,6 +27,14 @@ LIBGCRYPT_LIBDIR="no" LIBGCRYPT_PREFIX="no" . +if test "x$GUILD" = "x"; then

  • GUILD="pkg-config guile-3.0 --variable=guild"
  • if test "x$GUILD" = "x"; then
  • AC_MSG_ERROR(['guild' binary not found; please check your Guile installation.])
  • fi
  • AC_SUBST([GUILD]) +fi + AC_ARG_WITH([libgcrypt-prefix], [AS_HELP_STRING([--with-libgcrypt-prefix=DIR], [search for GNU libgcrypt in DIR])], [case "$withval" in
What can I upload, then? Here's the patch inline, then (accessible from editing/source view): --- configure.ac.prev ^2020-05-23 13:23:29.000000000 +0300 +++ configure.ac ^2020-09-24 22:51:46.250648180 +0300 @@ -27,6 +27,14 @@ LIBGCRYPT_LIBDIR="no" LIBGCRYPT_PREFIX="no" . +if test "x$GUILD" = "x"; then + GUILD="`pkg-config guile-3.0 --variable=guild`" + if test "x$GUILD" = "x"; then + AC_MSG_ERROR(['guild' binary not found; please check your Guile installation.]) + fi + AC_SUBST([GUILD]) +fi + AC_ARG_WITH([libgcrypt-prefix], [AS_HELP_STRING([--with-libgcrypt-prefix=DIR], [search for GNU libgcrypt in DIR])], [case "$withval" in
civodul kommenterad 2 år sedan
Deltagare

Hi @tch70 and apologies for the delay.

Guile-Gcrypt 0.3.x definitely builds with Guile 3.0 so I'm not sure what problem you encountered. Could you check if it still applies and describe the issue itself?

Hi @tch70 and apologies for the delay. Guile-Gcrypt 0.3.x definitely builds with Guile 3.0 so I'm not sure what problem you encountered. Could you check if it still applies and describe the issue itself?
tch70 kommenterad 2 år sedan
Skapare

I don't remember why that AC fragment happened to be needed 2 years ago and more, how this fragment helped. The 2-years old build dir remains and config.log shows there was .nix-profile sitting first in the path. Maybe that was the cause. I don't have that .nix-profile anymore, so can't check.

On my today's system (updated, no nix stuff) both 0.3.0 and 0.4.0 build okay. Let's consider the issue resolved.

I don't remember why that AC fragment happened to be needed 2 years ago and more, how this fragment helped. The 2-years old build dir remains and config.log shows there was .nix-profile sitting first in the path. Maybe that was the cause. I don't have that .nix-profile anymore, so can't check. On my today's system (updated, no nix stuff) both 0.3.0 and 0.4.0 build okay. Let's consider the issue resolved.
Logga in för att delta i denna konversation.
Ingen Etikett
Ingen Milsten
Ingen förvärvare
2 Deltagare
Laddar...
Avbryt
Spara
Det finns inget innehåll än.