I am having trouble building lilypond on a FreeBSD-3.0 host.  The
first problem is link errors.  All the missing symbols are in the
guile libraries.  I did not use --enable-guile in the configure step,
so I didn't expect to need this library.  I got around this by
reconfiguring using --enable-guile and adding -lguile to config.make
after the configure. 

First question: is guile really optional?  From my experience (and
doing a bunch of greps on the source code) guile is required with or
without the --enable-guile option.  In fact, I am not sure the option
has any effect at all.

OK, so I get past the link error using the above workaround.  On some
files, lilypond crashes with a floating point exception.  For
instance, running on gallina.ly, this is my observed stack trace:

Preprocessing elements... (no debugging symbols found)...(no debugging 
symbols found)...
Program received signal SIGFPE, Arithmetic exception.
0x8111324 in free ()
(gdb) where
#0  0x8111324 in free ()
#1  0x84dfa00 in ?? ()
#2  0x8111431 in free ()
#3  0x8111a15 in free ()
#4  0x80f0650 in free ()
#5  0x80f0597 in free ()
#6  0x80f0597 in free ()
#7  0x80f0597 in free ()
#8  0x80f05fb in free ()
#9  0x80f0597 in free ()
#10 0x80f0597 in free ()
#11 0x80f05fb in free ()
#12 0x80f05fb in free ()
#13 0x80f0597 in free ()
#14 0x80f0597 in free ()
#15 0x811263c in free ()
#16 0x80d7aaf in free ()
#17 0x80f509f in free ()
#18 0x80f51ea in free ()
#19 0x80f6a1d in free ()
#20 0x80f6e9d in free ()
#21 0x80ae1d8 in free ()
#22 0x281ece47 in gh_launch_pad ()
#23 0x281eefbe in invoke_main_func ()
#24 0x28211a23 in scm_internal_lazy_catch ()
#25 0x281eef7a in scm_boot_guile_1 ()
#26 0x281eed31 in scm_boot_guile ()
#27 0x281ece75 in gh_enter ()
#28 0x80aef54 in free ()
#29 0x804966d in free ()

I don't really know what this means, but all those free() calls can't
be right.  Also, it looks like the problem is still with guile.

So what does guile do for us, anyway?  Is it something that users can
take advantage of, or is used internally only?

Well, I am stuck back at version 1.0.17 because I haven't been able to 
compile anything since then due to a variety of problems, not all of
which are lilypond's (some have been the compiler and the new FreeBSD ELF
format...)  I am totally looking forward to the new features as soon
as I can figure out what is going on here.  Thanks to all contributers 
for the great program!

John

-- 
John Galbraith                    email: [EMAIL PROTECTED]
University of Arizona,            home phone: (520) 327-6074
Los Alamos National Laboratory    work phone: (520) 626-6277
                                  home page: www.ece.arizona.edu:/~john

"As had been true historically, Gates' concern was not making great
 products, but keeping the world locked into using his products."
    --- Wendy Goldman Rohm, The Microsoft File

Reply via email to