* shepherd: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
@ 2024-09-14 21:45 Attila Lendvai
2024-09-17 1:37 ` Felix Lechner via Development of GNU Guix and the GNU System distribution.
2024-09-26 13:25 ` Ludovic Courtès
0 siblings, 2 replies; 3+ messages in thread
From: Attila Lendvai @ 2024-09-14 21:45 UTC (permalink / raw)
To: guix-devel
i've pulled and reconfigured into the recently merged core-updates changes, and then i tried to compile shepherd from a git checkout of the devel branch.
$ ./configure
[...]
./configure: line 7268: PKG_PROG_PKG_CONFIG: command not found
configure: error: pkg-config is missing, please install it
$ pkg-config --version
0.29.2
then i tried to autoconf it:
$ autoconf
configure.ac:52: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
aclocal.m4:49: GUILE_PKG is expanded from...
configure.ac:52: the top level
the referenced line is this: GUILE_PKG([3.0])
i.e. guile seems to be involved somehow.
any ideas?
--
• attila lendvai
• PGP: 963F 5D5F 45C7 DFCD 0A39
--
“The very possibility of conflict over a resource renders it scarce, giving rise to the need for ethical rules to govern its use. Thus, the fundamental social and ethical function of property rights is to prevent interpersonal conflict over scarce resources.”
— Stephan Kinsella (1965–), 'Against Intellectual Property' (2008)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: shepherd: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
2024-09-14 21:45 shepherd: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd Attila Lendvai
@ 2024-09-17 1:37 ` Felix Lechner via Development of GNU Guix and the GNU System distribution.
2024-09-26 13:25 ` Ludovic Courtès
1 sibling, 0 replies; 3+ messages in thread
From: Felix Lechner via Development of GNU Guix and the GNU System distribution. @ 2024-09-17 1:37 UTC (permalink / raw)
To: Attila Lendvai, guix-devel
Hi Attila,
On Sat, Sep 14 2024, Attila Lendvai wrote:
> configure.ac:52: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
> aclocal.m4:49: GUILE_PKG is expanded from...
> configure.ac:52: the top level
I haven't seen that error, but my Guile installation requires several m4
files from gnulib to be present in order to work correctly. [1]
Kind regards
Felix
[1] https://codeberg.org/lechner/guile-pam/src/commit/91e22649baa0c7d4cbbcdf157f8ad24437d6fcb2/guix.scm#L113
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: shepherd: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
2024-09-14 21:45 shepherd: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd Attila Lendvai
2024-09-17 1:37 ` Felix Lechner via Development of GNU Guix and the GNU System distribution.
@ 2024-09-26 13:25 ` Ludovic Courtès
1 sibling, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2024-09-26 13:25 UTC (permalink / raw)
To: Attila Lendvai; +Cc: guix-devel
Hi,
Attila Lendvai <attila@lendvai.name> skribis:
> $ ./configure
> [...]
> ./configure: line 7268: PKG_PROG_PKG_CONFIG: command not found
> configure: error: pkg-config is missing, please install it
> $ pkg-config --version
> 0.29.2
>
>
> then i tried to autoconf it:
>
>
> $ autoconf
> configure.ac:52: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
> aclocal.m4:49: GUILE_PKG is expanded from...
> configure.ac:52: the top level
>
> the referenced line is this: GUILE_PKG([3.0])
You need both ‘pkg.m4’ and ‘guile.m4’ in $ACLOCAL_PATH when running
‘autoconf’ (this is done automatically if you use ‘guix shell’).
Commit d69163a37f5cffc08d37c3c8f363400e284c2772 adds a couple of
patterns that let ‘autoconf’ diagnose lack of ‘pkg.m4’ upfront instead
of what you describe above.
HTH,
Ludo’.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-09-26 19:25 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-14 21:45 shepherd: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd Attila Lendvai
2024-09-17 1:37 ` Felix Lechner via Development of GNU Guix and the GNU System distribution.
2024-09-26 13:25 ` 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.