Sujet : Re: Build from source, get terrible fonts
De : heller (at) *nospam* deepsoft.com (Robert Heller)
Groupes : comp.lang.tclDate : 22. Jun 2024, 19:50:28
Autres entêtes
Organisation : Deepwoods Software
Message-ID : <dHudnUk0wbNpger7nZ2dnZfqn_GdnZ2d@giganews.com>
References : 1 2 3 4 5 6
User-Agent : TkNews 3.0 (1.2.18)
At Sat, 22 Jun 2024 16:49:13 -0000 (UTC) Rich <
rich@example.invalid> wrote:
Luc <luc@sep.invalid> wrote:
On Sat, 22 Jun 2024 12:05:01 +0200, Joerg Mertens wrote:
What does the configure output look like? Was it still unable to
find the missing libraries?
It looks bad. It says "xft is unusable." I don't understand that at all.
That is why it is not linking to xft, which implies there are still one
or more *-dev packs missing.
I don't know C. I don't understand compiling.
Look at Robert Heller's post under this message id:
<z5acnQ0TVobmduv7nZ2dnZfqn_udnZ2d@giganews.com>
Then do what he suggests there. That may show which *-dev pack is
still missing, but is required.
I just grabed the Tk8.6 debian file for Debian Bookworm (what I am running on
my Raspberry Pi 5) and the revlevant info is:
from the control file:
Build-Depends: debhelper-compat (= 13), dpkg-dev (>= 1.16.1~), x11proto-core-dev,
libx11-dev, libxss-dev, libxext-dev, libxft-dev,
tcl8.6-dev (>= 8.6.8+dfsg-3~)
So Luc needs:
sudo apt install x11proto-core-dev libx11-dev libxss-dev libxext-dev libxft-dev
(probably only libxft-dev is actually needed)
He does not need debhelper-compat and dpkg-dev, since he is not building a
.deb file and does not need tcl8.6-dev, since he is building his own version
of tcl8.6 in a parallel directory and is alreaday accounting for that as
explained in the Tk source tree's README.
Then in rules:
override_dh_auto_configure:
TK_LIBRARY="/usr/share/tcltk/tk$(v)" \
CC="$(CC)" \
CFLAGS="$(CFLAGS)" \
CPPFLAGS="$(CPPFLAGS)" \
TK_SHLIB_LD_EXTRAS="-Wl,-soname,\$${TK_LIB_FILE}" \
dh_auto_configure -Dunix -- \
--includedir=/usr/include/tcl$(v) \
--with-tcl=/usr/lib/$(DEB_HOST_MULTIARCH)/tcl$(v) \
--enable-shared \
This tells him what extra args to pass to configure (probably nothing he is
not already doing). It looks like all he needs to do is install libxft-dev
and he should be good to go.
I suspect that all downstream Debian based distros (Ubuntu, etc.) don't
re-package Tcl/Tk, beyond just using the base Debian build files.
-- Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364Deepwoods Software -- Custom Software Serviceshttp://www.deepsoft.com/ -- Linux Administration Servicesheller@deepsoft.com -- Webhosting Services