I tried this, but it turns out to be quite difficult to compile
lilypond static...
Even impossible. The configure script ignores the CPP flag -static and
when providing it during the make process, the compilation breaks down
with
cp -p /Users/maurits/Development/Lilypond/lilypond-2.11.36/config.hh
out/config.hh
rm -f ./out/midi.dep; DEPENDENCIES_OUTPUT="./out/midi.dep ./out/
midi.lo" gcc -c -DPy_BUILD_CORE -Wall -static -I/System/Library/
Frameworks/Python.framework/Versions/2.5/include/python2.5 -
DHAVE_CONFIG_H -DNDEBUG -I./include -I./out -I../flower/include -I../
flower/./out -O2 -finline-functions -g -pipe -I/opt/local/include -
D_THREAD_SAFE -I/opt/local/include/freetype2 -I/opt/local/include -
I/opt/local/include/pango-1.0 -I/opt/local/include -I/opt/local/
include/freetype2 -I/opt/local/include/glib-2.0 -I/opt/local/lib/
glib-2.0/include -fpic -fPIC -o out/midi.lo midi.c
{standard input}:9845:FATAL:incompatible feature used: section type
symbol_stubs (must specify "-dynamic" to be used)
make[1]: *** [out/midi.lo] Error 1
make: *** [all] Error 2
regards
Maurits
Op 18 dec 2007, om 01:24 heeft Nick Bailey het volgende geschreven:
If the .a is there, there is at least the possibility of a
statically linked version?
On 18 Dec 2007, at 12:10 am, Maurits Lamers wrote:
Hi,
It turns out Lilypond is not working as it should. Running Lilypond
with correct paths errors with the following message:
/opt/local/share/guile/1.8/srfi/srfi-1.scm:223:1: In procedure
dynamic-link in expression (load-extension "libguile-srfi-srfi-1-
v-3" "scm_init_srfi_1"):
/opt/local/share/guile/1.8/srfi/srfi-1.scm:223:1: file: "libguile-
srfi-srfi-1-v-3", message: "dlopen(libguile-srfi-srfi-1-v-3.so, 9):
image not found"
After inspecting the library directory, the reason for the error is
all to clear: there is no file libguile-srfi-srfi-1-v-3.so
There are other library types (.a, .la, .dylib), but no .so and
using a symbolic link to the .a or .dylib won't change the error
message.
Any idea to solve this?
Some extra information for the other subscribers:
I try to compile Lilypond on Leopard using macports for all
dependencies.
Configure is run as follows:
CPPFLAGS="-I/opt/local/include" LDFLAGS="-L/opt/local/lib" sudo ./
configure --disable-documentation --disable-gui
CPP and LD flags to include the macports builds...
regards
Maurits
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user