bug-lilypond
[Top][All Lists]
Advanced

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

Issue 504 in lilypond: lilypond broken on osx 10.5


From: codesite-noreply
Subject: Issue 504 in lilypond: lilypond broken on osx 10.5
Date: Fri, 02 Nov 2007 04:12:19 -0700

Issue 504: lilypond broken on osx 10.5
http://code.google.com/p/lilypond/issues/detail?id=504

Comment #4 by nicolas.sceaux:
I've been able to compile lilypond on 10.5 by:
- using fink's gcc 4.2.2 instead of the one shipped with leopard (4.0.1), which seems to have the following
bug: <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28114>
- using fink's FlexLexer.h include instead of the one from /usr/include

I've run the configure script that way:

# find fontconfig, freetype and pango from fink
PKG_CONFIG_PATH=/sw/lib/fontconfig2/lib/pkgconfig/:/sw/lib/freetype219/lib/pkgconfig:/sw/lib/pango-
ft219/lib/pkgconfig
CXXFLAGS="-I/sw/lib/flex/include -I/usr/local/include -I/sw/include"
LDFLAGS="-L/usr/local/lib -L/sw/lib -lexpat"
# -shared flag does not work on mac os x
SHARED_FLAGS="-bundle -flat_namespace -undefined suppress"
# tell about fink's kpathsea:
KPATHSEA_FLAGS="--with-kpathsea-include=/sw/include --with-kpathsea-lib=/sw/lib"
# where New Century School Book .pfb files are located:
NCSB_DIR="/sw/share/ghostscript/fonts"
# Use GCC 4.2.2 from fink, instead of the one shipped with leopard
# (4.0.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28114)
CXX=/sw/bin/g++-4
CC=/sw/bin/gcc-4
./autogen.sh --noconf
rm -f config.cache
CC=$CC CXX=$CXX PKG_CONFIG_PATH="$PKG_CONFIG_PATH" SHARED_FLAGS="$SHARED_FLAGS"
CXXFLAGS="$CXXFLAGS" LDFLAGS="$LDFLAGS" ./configure --prefix=$(pwd) --
infodir=$(pwd)/out/share/info $KPATHSEA_FLAGS --with-ncsb-dir="$NCSB_DIR"

I cannot report on lilypond's dependencies installation issues, as they were installed before switching to 10.5:
- guile 1.8.1 with rational patch compiled from sources
- other dependencies from fink
I had to reinstall pango, though, because of a libexpat dynamic link issue.
I also had to add a /etc/fonts/fonts.conf file for fontconfig (it seems to have been deleted by 10.4->10.5
upgrade).





--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings




reply via email to

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