[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Building lilypond
From: |
Werner LEMBERG |
Subject: |
Re: Building lilypond |
Date: |
Fri, 20 Sep 2024 14:39:11 +0000 (UTC) |
> I'm trying to build lilypond and it fails I think while building the
> documentation [...]
>
> ERROR: In procedure apply-smob/1:
> In procedure module-lookup: Unbound variable: default-optimization-level
No idea what's causing this, sorry.
> Configured with
> PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig/guile-2.2.pc
Hmm, I haven't compiled with guile 2.x since a longer time so I don't
know whether it still works (theoretically yes, I believe).
> Oh, also: guile 3 doesn't seem to come with a .pc file, is this normal?
> Or did I fail to install its matching dev file? I tried apt-get install
> guile-devel, but it didn't do anything useful
IIRC, the `.pc` file is not correct if you want static linking.
Attached is the one I'm using for my self-compiled 3.0.9 guile library
that has been configured with
```
./configure --prefix=/usr/local/opt \
--disable-shared \
--without-threads \
--disable-networking
```
Werner
prefix=/usr/local/opt
exec_prefix=/usr/local/opt
bindir=/usr/local/opt/bin
libdir=/usr/local/opt/lib64
includedir=/usr/local/opt/include
datarootdir=/usr/local/opt/share
datadir=/usr/local/opt/share
pkgdatadir=/usr/local/opt/share/guile
pkgincludedir=/usr/local/opt/include/guile
sitedir=/usr/local/opt/share/guile/site/3.0
extensiondir=/usr/local/opt/lib64/guile/3.0/extensions
siteccachedir=/usr/local/opt/lib64/guile/3.0/site-ccache
libguileinterface=7:0:6
# Actual name of the 'guile' and 'guild' programs. This is
# particularly useful when '--program-transform-name' or similar has
# been used.
guild=${bindir}/guild
guile=${bindir}/guile
Name: GNU Guile
Description: GNU's Ubiquitous Intelligent Language for Extension
Version: 3.0.9
Libs: -L${libdir} -lguile-3.0 -lgc \
-lgmp -lffi \
-lunistring -lcrypt -ldl -lm
Cflags: -I${pkgincludedir}/3.0