unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* bug#26183: patch for guile-2.2.0 on FreeBSD 11.0
@ 2017-03-20  1:39 Matt Wette
  2017-04-19 14:20 ` Andy Wingo
  0 siblings, 1 reply; 3+ messages in thread
From: Matt Wette @ 2017-03-20  1:39 UTC (permalink / raw)
  To: 26183

[-- Attachment #1: Type: text/plain, Size: 332 bytes --]

Attached is a patch to apply to guile-2.2.0 to compile on FreeBSD 11.0
Changes
1) updated README to indicate which extra FreeBSD packages need to be installed
2) minor change to configure.ac (implies autoconf needs to run) to use bdw-gc-threaded instead of bdw-gc
With this, I had successful configure, gmake, and gmake check.

[-- Attachment #2: freebsd.patch --]
[-- Type: application/octet-stream, Size: 953 bytes --]

--- README-orig	2017-03-19 17:28:06.000000000 -0700
+++ README	2017-03-19 17:35:32.000000000 -0700
@@ -124,7 +124,11 @@
 treatment.  If you can send us fixes for these problems, we'd be
 grateful.
 
-   <none yet listed>
+FreeBSD 11.0
+  Please `pkg install' the following
+  - pkgconf : provides pkg-config
+  - gmake : /usr/bin/make does not work
+  - boehm-gc-threaded : needed for threaded support
 
 Guile specific flags Accepted by Configure =================================
 
--- configure.ac-orig	2017-03-19 17:14:46.000000000 -0700
+++ configure.ac	2017-03-19 17:22:47.000000000 -0700
@@ -1332,7 +1332,10 @@
 # Boehm's GC library
 #
 #--------------------------------------------------------------------
-PKG_CHECK_MODULES([BDW_GC], [bdw-gc >= 7.2])
+case $host in
+*-*-freebsd*) PKG_CHECK_MODULES([BDW_GC], [bdw-gc-threaded >= 7.2]) ;;
+*) PKG_CHECK_MODULES([BDW_GC], [bdw-gc >= 7.2]) ;;
+esac
 
 save_LIBS="$LIBS"
 LIBS="$BDW_GC_LIBS $LIBS"

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#26183: patch for guile-2.2.0 on FreeBSD 11.0
  2017-03-20  1:39 bug#26183: patch for guile-2.2.0 on FreeBSD 11.0 Matt Wette
@ 2017-04-19 14:20 ` Andy Wingo
  2017-04-25 13:04   ` Matt Wette
  0 siblings, 1 reply; 3+ messages in thread
From: Andy Wingo @ 2017-04-19 14:20 UTC (permalink / raw)
  To: Matt Wette; +Cc: 26183-done

On Mon 20 Mar 2017 02:39, Matt Wette <matt.wette@gmail.com> writes:

> Attached is a patch to apply to guile-2.2.0 to compile on FreeBSD 11.0
> Changes
> 1) updated README to indicate which extra FreeBSD packages need to be installed
> 2) minor change to configure.ac (implies autoconf needs to run) to use bdw-gc-threaded instead of bdw-gc
> With this, I had successful configure, gmake, and gmake check.

Applied with some adaptations.  Please see git master and test.  Thanks!

Andy





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#26183: patch for guile-2.2.0 on FreeBSD 11.0
  2017-04-19 14:20 ` Andy Wingo
@ 2017-04-25 13:04   ` Matt Wette
  0 siblings, 0 replies; 3+ messages in thread
From: Matt Wette @ 2017-04-25 13:04 UTC (permalink / raw)
  To: Andy Wingo; +Cc: 26183-done

[-- Attachment #1: Type: text/plain, Size: 728 bytes --]


> On Apr 19, 2017, at 7:20 AM, Andy Wingo <wingo@igalia.com> wrote:
> 
> On Mon 20 Mar 2017 02:39, Matt Wette <matt.wette@gmail.com> writes:
> 
>> Attached is a patch to apply to guile-2.2.0 to compile on FreeBSD 11.0
>> Changes
>> 1) updated README to indicate which extra FreeBSD packages need to be installed
>> 2) minor change to configure.ac (implies autoconf needs to run) to use bdw-gc-threaded instead of bdw-gc
>> With this, I had successful configure, gmake, and gmake check.
> 
> Applied with some adaptations.  Please see git master and test.  Thanks!
> 
> Andy

Attached is patch file with suggested changes: the README was not quite correct, and “pkg install texinfo” also required.

Matt


[-- Attachment #2: README.diff --]
[-- Type: application/octet-stream, Size: 1003 bytes --]

diff --git a/README b/README
index cffee2253..20a56fc92 100644
--- a/README
+++ b/README
@@ -125,20 +125,22 @@ treatment.  If you can send us fixes for these problems, we'd be
 grateful.
 
 FreeBSD 11.0:
-  For a build supporting threads, please `pkg install' the following
+  Please `pkg install' the following:
     - pkgconf : provides pkg-config
+    - texinfo : provides makeinfo
     - gmake : /usr/bin/make does not work
-    - boehm-gc-threaded : needed for threaded support
 
-  Configure as:
+  If you want a Guile with threads, then install boehm-gc-threaded and
+  configure as:
 
     ./configure --with-bdw-gc=bdw-gc-threaded
 
-  Alternately if you want a Guile without threads, then install boehm-gc
+  Alternately if you want a Guile without threads, then install boehm-gc 
   and configure as:
 
     ./configure --without-threads
 
+
 Guile specific flags Accepted by Configure =================================
 
 If you run the configure script with no arguments, it should examine

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-04-25 13:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-20  1:39 bug#26183: patch for guile-2.2.0 on FreeBSD 11.0 Matt Wette
2017-04-19 14:20 ` Andy Wingo
2017-04-25 13:04   ` Matt Wette

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).