On Thursday, 19 November 1998, Mats Bengtsson writes:
> > I have noticed a couple consistent problems building lilypond on
> > FreeBSD.  Because I haven't seen other discussion on the matter, I
> > suspect it is only an issue on FreeBSD.
> 
> No, I recognize the problems from my Debian Linux.
> 
> > First, something is messed up with the guile library.  I just compiled 
> > the latest version (1.1.7) with egcs
> >  (gcc version egcs-2.91.57 19980901 (egcs-1.1 release)
> > and found that I had to change the LOADLIBES in executable-vars.make to:
> > 
> > LOADLIBES = $(MODULE_LIBES) $($(PACKAGE)_LIBES) $(EXTRA_LIBES) -lguile
> > 
> > Hopefully, there is a more elegant fix for this.  There is probably
> > some problem with the detection of guile.

Could you try the patch below (run autoconf after installing it), or see
if it's fixed when pl8 comes out?

> The "gs" macros are the gnu version of the 4.3 BSD "s" macros
> (what you get with 'troff -ms' on a traditional UNIX). As far as
> I can understand, the problem is that on some installations of
> groff, the "gs" macros are actually named "s". Tbe simple 
> work-around that I did was to find the file tmac.s
> (probably in /usr/share/groff/tmac/) and make a copy of it
> called tmac.gs. The better solution would be to fix yodl2ms
> so it calls 'troff -ms' instead of 'troff -mgs'. 
> 

Ah, at last someone sheds some light on this.  I'll have to release
another version of yodl!

Jan.

Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.xs4all.nl/~jantien/lilypond

Generated by (address unknown) using package-diff 0.62,
>From = lilypond-1.1.7, To = lilypond-1.1.7.jcn1

usage 

    cd lilypond-source-dir; patch -E -p1 < lilypond-1.1.7.jcn1.diff

Patches do not contain automatically generated files 
or (urg) empty directories, 
i.e., you should rerun autoconf, configure 
and possibly make outdirs.

--state
1.1.7
1.1.7.jcn1
++state
diff -urN ../lilypond-1.1.7/NEWS ./NEWS
--- ../lilypond-1.1.7/NEWS      Thu Nov 19 12:31:35 1998
+++ ./NEWS      Thu Nov 19 12:24:04 1998
@@ -1,3 +1,6 @@
+pl7.jcn1
+       - configure/guile fixes (still no check for 1.2/1.3)
+
 pl6.jcn5
        - repeatbars, volta-spanner work, alternative iteration still broken
        - volta symbol
diff -urN ../lilypond-1.1.7/VERSION ./VERSION
--- ../lilypond-1.1.7/VERSION   Thu Nov 19 12:31:35 1998
+++ ./VERSION   Thu Nov 19 12:24:04 1998
@@ -2,7 +2,7 @@
 MAJOR_VERSION=1
 MINOR_VERSION=1
 PATCH_LEVEL=7
-MY_PATCH_LEVEL=
+MY_PATCH_LEVEL=jcn1
 
 # use the above to send patches: MY_PATCH_LEVEL is always empty for a
 # released version.
diff -urN ../lilypond-1.1.7/aclocal.m4 ./aclocal.m4
--- ../lilypond-1.1.7/aclocal.m4        Thu Nov 19 12:31:35 1998
+++ ./aclocal.m4        Thu Nov 19 12:24:04 1998
@@ -156,10 +156,12 @@
 ])
 
 AC_DEFUN(AC_STEPMAKE_GUILE, [
+    # on some systems, -lguile succeeds for guile-1.3
+    # others need readline, dl (or even more)
     # urg, must check for different functions in libguile
     # to force new check iso reading from cache
     AC_CHECK_LIB(guile, scm_shell, \
-      LIBS="-lguile $LIBS" AC_DEFINE(HAVE_LIBGUILE), \
+      LIBS="-lguile $LIBS"; AC_DEFINE(HAVE_LIBGUILE), \
       AC_CHECK_LIB(readline, readline) \
       AC_CHECK_LIB(dl, dlopen) \
       AC_CHECK_LIB(socket, socket)\
@@ -167,6 +169,10 @@
       AC_CHECK_LIB(m, fabs)\
       AC_CHECK_LIB(guile, scm_boot_guile)\
     )
+    if test "$ac_cv_lib_guile_scm_shell" != yes -a \
+      "$ac_cv_lib_scm_boot_guile" != yes ; then
+           AC_STEPMAKE_WARN(You should install guile 1.3 or newer)
+    fi
 ])
 
 AC_DEFUN(AC_STEPMAKE_INIT, [
@@ -325,8 +331,8 @@
 
     AC_CHECK_PROGS(BISON, bison, error)
     AC_CHECK_PROGS(FLEX, flex, error)
-    AC_CHECK_SEARCH_RESULT($BISON, bison,  Please install Bison, 1.25 or better)
-    AC_CHECK_SEARCH_RESULT($FLEX,  flex, Please install Flex, 2.5 or better)
+    AC_CHECK_SEARCH_RESULT($BISON, bison,  Please install Bison, 1.25 or newer)
+    AC_CHECK_SEARCH_RESULT($FLEX,  flex, Please install Flex, 2.5 or newer)
 
     if test $BISON != "error"; then
        bison_version=`$BISON --version| sed 's/^.*version 1.//g' `
@@ -851,7 +857,7 @@
        echo "*** full path to gtk-config."
        echo "*** The gtkmm-config script was not available in GTK-- versions"
        echo "*** prior to 0.9.12. Perhaps you need to update your installed"
-       echo "*** version to 0.9.12 or later"
+       echo "*** version to 0.9.12 or newer"
      else
        if test -f conf.gtkmmtest ; then
         :
diff -urN ../lilypond-1.1.7/configure.in ./configure.in
--- ../lilypond-1.1.7/configure.in      Thu Nov 19 12:31:35 1998
+++ ./configure.in      Thu Nov 19 12:24:04 1998
@@ -54,7 +54,7 @@
 
 AC_CHECK_PROGS(MAKEINFO, makeinfo, error)
 AC_CHECK_SEARCH_RESULT($YODL2TEXINFO, yodl,  
-    You should install Yodl 1.30.2 or better)
+    You should install Yodl 1.30.2 or newer)
 
 AC_STEPMAKE_END
 
diff -urN ../lilypond-1.1.7/stepmake/aclocal.m4 ./stepmake/aclocal.m4
--- ../lilypond-1.1.7/stepmake/aclocal.m4       Thu Nov 19 12:34:48 1998
+++ ./stepmake/aclocal.m4       Thu Nov 19 12:26:30 1998
@@ -154,10 +154,12 @@
 ])
 
 AC_DEFUN(AC_STEPMAKE_GUILE, [
+    # on some systems, -lguile succeeds for guile-1.3
+    # others need readline, dl (or even more)
     # urg, must check for different functions in libguile
     # to force new check iso reading from cache
     AC_CHECK_LIB(guile, scm_shell, \
-      LIBS="-lguile $LIBS" AC_DEFINE(HAVE_LIBGUILE), \
+      LIBS="-lguile $LIBS"; AC_DEFINE(HAVE_LIBGUILE), \
       AC_CHECK_LIB(readline, readline) \
       AC_CHECK_LIB(dl, dlopen) \
       AC_CHECK_LIB(socket, socket)\
@@ -165,6 +167,10 @@
       AC_CHECK_LIB(m, fabs)\
       AC_CHECK_LIB(guile, scm_boot_guile)\
     )
+    if test "$ac_cv_lib_guile_scm_shell" != yes -a \
+      "$ac_cv_lib_scm_boot_guile" != yes ; then
+           AC_STEPMAKE_WARN(You should install guile 1.3 or newer)
+    fi
 ])
 
 AC_DEFUN(AC_STEPMAKE_INIT, [
@@ -323,8 +329,8 @@
 
     AC_CHECK_PROGS(BISON, bison, error)
     AC_CHECK_PROGS(FLEX, flex, error)
-    AC_CHECK_SEARCH_RESULT($BISON, bison,  Please install Bison, 1.25 or better)
-    AC_CHECK_SEARCH_RESULT($FLEX,  flex, Please install Flex, 2.5 or better)
+    AC_CHECK_SEARCH_RESULT($BISON, bison,  Please install Bison, 1.25 or newer)
+    AC_CHECK_SEARCH_RESULT($FLEX,  flex, Please install Flex, 2.5 or newer)
 
     if test $BISON != "error"; then
        bison_version=`$BISON --version| sed 's/^.*version 1.//g' `
@@ -849,7 +855,7 @@
        echo "*** full path to gtk-config."
        echo "*** The gtkmm-config script was not available in GTK-- versions"
        echo "*** prior to 0.9.12. Perhaps you need to update your installed"
-       echo "*** version to 0.9.12 or later"
+       echo "*** version to 0.9.12 or newer"
      else
        if test -f conf.gtkmmtest ; then
         :
diff -urN ../lilypond-1.1.7/stepmake/stepmake/package.make 
./stepmake/stepmake/package.make
--- ../lilypond-1.1.7/stepmake/stepmake/package.make    Thu Nov 19 12:35:03 1998
+++ ./stepmake/stepmake/package.make    Thu Nov 19 12:26:41 1998
@@ -17,8 +17,8 @@
          dpkg-buildpackage -b; \
        )'
 
-makeflags=$(patsubst %==, %, $(patsubst %----,%,$(MAKEFLAGS:%=--%)))
-# makeflags=$(patsubst %==, %, $(patsubst ----%,%,$($(MAKEFLAGS:%=--%):--unix=)))
+# makeflags=$(patsubst %==, %, $(patsubst %----,%,$(MAKEFLAGS:%=--%)))
+makeflags=$(patsubst %==, %, $(patsubst %----,%,$($(MAKEFLAGS:%=--%):--unix=)))
 
 diff:
        $(PYTHON) $(step-bindir)/package-diff.py --package=$(topdir) $(makeflags)

Reply via email to