[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: devel on OSX

From: Matthias Neeracher
Subject: Re: devel on OSX
Date: Tue, 27 Jul 2004 15:16:04 -0700

the two guile related environment variables set up for proper use of guile 1.6 (the python and bison variables may be less essential, the python one is just to ensure a consistent build and the latter to avoid unfortunate interactions with the fink bison package).

I'm a bit confused, though. In debian, I do "apt-get install guile-1.6-dev" (or something like that), and then I can compile stuff that needs guile-config. In fink, I need to export a GUILE_CONFIG variable? Is that something inherent in Apple's BSD layer, or just a quirk of fink's guile package?

It's a FEATURE of fink's guile package :-)

Basically, fink wants you to have the option of having multiple versions of guile installed simultaneously (which makes sense, if you think of many packages, each depending on a different version of guile).

Please let me know if other build issues crop up

After satisfying all the ./configure issues, I began "make all". Shortly after that, I got this:

g++ -shared -o out/ out/midi.lo -L/sw/lib -L/sw/lib -lguile -lguile-ltdl -lm
g++: unrecognized option `-shared'

There are also parts of lilypond.patch that you'll need to apply. Specifically here the patch would be, I think:

--- lilypond-2.3.1-orig/stepmake/stepmake/compile-vars.make 2004-05-16 01:36:11.000000000 -0700 +++ lilypond-2.3.1/stepmake/stepmake/compile-vars.make 2004-05-16 01:36:33.000000000 -0700
@@ -3,7 +3,7 @@

 PIC_FLAGS = -fpic -fPIC
-SHARED_FLAGS = -shared
+SHARED_FLAGS = -bundle -flat_namespace -undefined suppress

 o-dep-out = $(outdir)/$(subst .o,.dep,$(notdir $@))#
DO_O_DEP = rm -f $(o-dep-out); DEPENDENCIES_OUTPUT="$(o-dep-out) $(outdir)/$(notdir $@)"


reply via email to

[Prev in Thread] Current Thread [Next in Thread]