all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* PKG_CONFIG_PATH
@ 2013-03-03 19:51 Andreas Enge
  2013-03-03 21:19 ` PKG_CONFIG_PATH Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Andreas Enge @ 2013-03-03 19:51 UTC (permalink / raw)
  To: bug-guix

Concerning x.org, I am making some progress: The files missing on ftp are 
actually available on the http servers, as found out through #xorg-devel.

Now I am trying to compile a few packages and need to add some 
dependencies. The following happens for xlsatoms during the configure 
phase:

Package xorg-macros was not found in the pkg-config search path.
Perhaps you should add the directory containing `xorg-macros.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xorg-macros' found

The file xorg-macros.pc is contained in the input util-macros, but not 
referenced in PKG_CONFIG_PATH:
export PKG_CONFIG_PATH="/nix/store/ps4d74mwhawnlcbn95lbnwcvz0mc1892-
libxcb-1.8.1/lib/pkgconfig:/nix/store/bq361v58rl2p7dv0npf7hdsnhjlbk2p8-
xz-5.0.4/lib/pkgconfig"

This is because it is not contained in a subdirectory lib/pkgconfig, but in 
share/pkgconfig. Should we add "share/pkgconfig" to the lines
  (set-path-environment-variable "PKG_CONFIG_PATH"
                                 '("lib/pkgconfig" "lib64/pkgconfig")
in guix/build/gnu-build-system.scm in the core-updates branch?

Andreas

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: PKG_CONFIG_PATH
  2013-03-03 19:51 PKG_CONFIG_PATH Andreas Enge
@ 2013-03-03 21:19 ` Ludovic Courtès
  2013-03-04 12:55   ` PKG_CONFIG_PATH Andreas Enge
  0 siblings, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2013-03-03 21:19 UTC (permalink / raw)
  To: Andreas Enge; +Cc: bug-guix

Andreas Enge <andreas@enge.fr> skribis:

> This is because it is not contained in a subdirectory lib/pkgconfig, but in 
> share/pkgconfig. Should we add "share/pkgconfig" to the lines
>   (set-path-environment-variable "PKG_CONFIG_PATH"
>                                  '("lib/pkgconfig" "lib64/pkgconfig")
> in guix/build/gnu-build-system.scm in the core-updates branch?

Yes, it’s non-conventional, but it won’t hurt to add it.

Ludo’.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: PKG_CONFIG_PATH
  2013-03-03 21:19 ` PKG_CONFIG_PATH Ludovic Courtès
@ 2013-03-04 12:55   ` Andreas Enge
  2013-03-04 21:41     ` PKG_CONFIG_PATH Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Andreas Enge @ 2013-03-04 12:55 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: bug-guix

Am Sonntag, 3. März 2013 schrieb Ludovic Courtès:
> Andreas Enge <andreas@enge.fr> skribis:
> > This is because it is not contained in a subdirectory lib/pkgconfig,
> > but in share/pkgconfig. Should we add "share/pkgconfig" to the lines
> Yes, it’s non-conventional, but it won’t hurt to add it.

Done; it seems to be the convention with the xorg packages.

This leaves me in a slight mess with my xorg branch, which was based on 
master, and which now needs core-updates. So the xorg branch contains 
modifications in master that are not in core-updates, and simply rebasing 
it on core-updates does not work. Shall we merge master into core-updates 
again? Will we merge back core-updates any time soon?

Andreas

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: PKG_CONFIG_PATH
  2013-03-04 12:55   ` PKG_CONFIG_PATH Andreas Enge
@ 2013-03-04 21:41     ` Ludovic Courtès
  0 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2013-03-04 21:41 UTC (permalink / raw)
  To: Andreas Enge; +Cc: bug-guix

Andreas Enge <andreas@enge.fr> skribis:

> Am Sonntag, 3. März 2013 schrieb Ludovic Courtès:
>> Andreas Enge <andreas@enge.fr> skribis:
>> > This is because it is not contained in a subdirectory lib/pkgconfig,
>> > but in share/pkgconfig. Should we add "share/pkgconfig" to the lines
>> Yes, it’s non-conventional, but it won’t hurt to add it.
>
> Done; it seems to be the convention with the xorg packages.

Thanks.

> This leaves me in a slight mess with my xorg branch, which was based on 
> master, and which now needs core-updates. So the xorg branch contains 
> modifications in master that are not in core-updates, and simply rebasing 
> it on core-updates does not work. Shall we merge master into core-updates 
> again?

Yes.  Feel free to do it, if you want.

> Will we merge back core-updates any time soon?

There are a few things to address IMO before we can do that: install
glibc’s timezone and locales, add a few things to (guix build utils)
from TODO, and perhaps add cross-compilation support.  That could take
two or three weeks.

What about making an xorg branch on top of current core-updates?  You
could regularly merge from core-updates as you see fit, without being
disturbed by unrelated changes there.

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-03-04 21:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-03 19:51 PKG_CONFIG_PATH Andreas Enge
2013-03-03 21:19 ` PKG_CONFIG_PATH Ludovic Courtès
2013-03-04 12:55   ` PKG_CONFIG_PATH Andreas Enge
2013-03-04 21:41     ` PKG_CONFIG_PATH Ludovic Courtès

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.