From: ludo@gnu.org (Ludovic Courtès)
To: Andreas Enge <andreas@enge.fr>
Cc: bug-guix@gnu.org
Subject: Re: Pango
Date: Sat, 15 Jun 2013 15:49:59 +0200 [thread overview]
Message-ID: <8738sj8ovs.fsf@gnu.org> (raw)
In-Reply-To: <201306151531.21416.andreas@enge.fr> (Andreas Enge's message of "Sat, 15 Jun 2013 15:31:21 +0200")
Andreas Enge <andreas@enge.fr> skribis:
> Am Samstag, 15. Juni 2013 schrieb Ludovic Courtès:
>> Here’s a fourth one: do not change anything. :-)
>> Normally pango-1.0.pc has -I.../include/pango-1.0 in its Cflags, doesn’t
>> it?
>>
>> That is a common convention for “parallel installability”, and it
>> requires users to use pkg-config to find out what the right -I flags
>> are.
>
> Maybe, but then guix also needs to use pkg-config to find out the right -I
> flags.
>
> Currently, when trying "guix build gtk", which has pango as input, the
> CPATH contains
> /nix/store/ac9zyl88qyp6gbidcyrzj8rdngbkqppr-pango-1.34.1/include ,
This one is not needed, but it doesn’t harm.
> whereas pango.pc contains the line
> Cflags: -I${includedir}/pango-1.0
> And compilation stops with the expected error:
> In file included from ../gdk/gdkscreen.h:32:0,
> from ../gdk/gdkapplaunchcontext.h:31,
> from ../gdk/gdk.h:32,
> from gtkaccelgroup.h:35,
> from gtkaccelgroup.c:31:
> ../gdk/gdktypes.h:37:25: fatal error: pango/pango.h: No such file or
> directory
Did you pass pkg-config as an input of GTK+?
Normally, if you do so, PKG_CONFIG_PATH gets defined appropriately, and
then I would expect the build system of GTK+ to use ‘pkg-config pango
--cflags’ in its CFLAGS.
Ludo’.
next prev parent reply other threads:[~2013-06-15 13:55 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-13 21:19 Demain Andreas Enge
2013-06-13 21:37 ` Demain Andreas Enge
2013-06-13 23:49 ` Demain Cyril Roelandt
2013-06-14 7:52 ` Demain Andreas Enge
2013-06-14 12:29 ` Demain Ludovic Courtès
2013-06-14 21:25 ` Pango Andreas Enge
2013-06-14 21:34 ` Pango Andreas Enge
2013-06-15 8:12 ` Pango Andreas Enge
2013-06-15 8:29 ` Pango Andreas Enge
2013-06-15 13:17 ` Pango Ludovic Courtès
2013-06-15 13:31 ` Pango Andreas Enge
2013-06-15 13:49 ` Ludovic Courtès [this message]
2013-06-15 14:07 ` Pango Andreas Enge
[not found] ` <87sj0j3yzh.fsf@gnu.org>
2013-06-15 20:55 ` Pango Andreas Enge
2013-06-15 12:57 ` Pango Ludovic Courtès
2013-06-15 1:58 ` Pango Cyril Roelandt
2013-06-15 7:13 ` Pango Andreas Enge
2013-06-15 13:14 ` Pango Ludovic Courtès
2013-06-15 12:56 ` Pango Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8738sj8ovs.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=andreas@enge.fr \
--cc=bug-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.