Re: Cannot compile colord-1.4.7

"John Burrell" ([email protected] via blfs-dev Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.beyond.devel
Message-ID <CAFF0JKMEr7xKajdXw_+FQnTXQKTbyLgavpzAw+pZ6A286NAGxw@mail.gmail.com>
On Mon, 23 Jun 2025 at 16:02, Xi Ruoyao <[email protected]>
wrote:

> On Mon, 2025-06-23 at 14:47 +0100, John Burrell wrote:
> > When I try to compile colord 1.4.7 I get the following:
> >
> > [222/268] Generating lib/colorhug/Colorhug-1.0...a custom command
> > (wrapped by meson to set env)
> > FAILED: lib/colorhug/Colorhug-1.0.gir
> >
> > Then the long list of what it is currently trying to compile which
> > ends with:
> >
> > Couldn't find include 'Json-1.0.gir' (search path: '['/usr/share/gir-
> > 1.0', '/usr/src/sysutils/colord/colord-1.4.7/build/lib/colord',
> > '/usr/src/sysutils/colord/.local/share/gir-1.0', '/usr/share/gir-1.0',
> > '/usr/share/gir-1.0', '/usr/share/gir-1.0', '/usr/share/gir-1.0']')
> > [235/268] Compiling C object src/cd-self-test.p/cd-profile.c.o
> > ninja: build stopped: subcommand failed.
> >
> > Which package includes Json-1.0.gir? It isn't in the colord-1.4.7
> > directory and it isn't present on my system so I'm a bit lost.
>
> json-glib.
>
> Note that producing the gir file would require gobject-introspection and
> we've declared it as recommended in the json-glib page.
>
> --
> Thanks Xi. I didn’t notice that when I installed json-glib it didn’t
> finish cleanly. Reinstalling fixed the problem.

    Please notice that the sed in pst/cups-filters    needs sed -i or the
-i before the target, as you see fit.

Regards

jb.

>

-- 
http://lists.linuxfromscratch.org/sympa/info/blfs-dev
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.