Re: libxft2 and 0.92 compile: version problem
[email protected] Tue, 6 Dec 2005 11:46:07 -0500
| Newsgroups | gmane.compw.window-managers.windowmaker.user |
|---|---|
| Message-ID | <20051206114607.71548d06@amorphous> |
On Tue, 06 Dec 2005 09:46:28 -0600 Norman Finlay <[email protected]> wrote: > Thanks Soren: > > You are correct. I have run the dpkg -l command and the output is below: > ~$ dpkg -l | grep -i xft > ii latex-xft-fonts 0.1-5 > Xft-compatible versions of some LaTeX fonts > ii libxft-dev 2.1.7-1 > FreeType-based font drawing library for X (devel > ii libxft2 2.1.7-1 > FreeType-based font drawing library for X > > Looks like the same versions that your post showed. Can you compile > from source? I was not clear in my original post, I had run apt-get > install libxft2 and the reply was that that package was the latest > available. So it would tell me the package version is ok, but compile > does not agree. > > Can anyone advize me on the solution? The problem is due to the RegEx in aclocal.m4 for WM_CHECK_XFT_VERSION, it seems it doesn't take into account the package revision in the debian versioning system. I'm not versatile in regular expressions but my guess would be that the addition of another grouping which grabs the hyphened package revision in the micro_version would allow the C macro to function correctly. > > Thanks, > Norm > > > Søren Boll Overgaard wrote: > > On Mon, Dec 05, 2005 at 01:46:55PM -0600, Norman Finlay wrote: > > > >> checking whether libXft is at least version 2.1.0... no > >> > >> ERROR!!! libXft on this system is an old version. > >> Please consider upgrading to at least version 2.1.0. > >> > >>I am using debain sid (kanotix) and here is the version info on the xft > >>libraries present: > >> $ apt-cache show libxft2 says: Version: 2.1.7-1 > >> $ apt-cache show libxft-dev says: Version: 2.1.7-1 > >> > >>As I read it, the version on the system meets the version requirements, > > > > > > apt-cache show <package> only shows the version available in the archives > > specified in sources.list. > > You should use dpkg -l to determine the installed version, like this: > > > > [boll@andariel ~]$ dpkg -l|grep -i xft > > ii latex-xft-fonts 0.1-5 > > Xft-compatible versions of some LaTeX fonts > > ii libxft-dev 2.1.7-1 > > FreeType-based font drawing library for X (d > > ii libxft2 2.1.7-1 > > FreeType-based font drawing library for X > > [boll@andariel ~]$ > > > > > _______________________________________________ > INFO: https://windowmaker.org/lists/listinfo/wm-user > ARCHIVE: https://windowmaker.org/lists/archive/wm-user/ > FAQ: http://windowmaker.org/faq.html _______________________________________________ INFO: https://windowmaker.org/lists/listinfo/wm-user ARCHIVE: https://windowmaker.org/lists/archive/wm-user/ FAQ: http://windowmaker.org/faq.html