Re: GtkSourceView autogen.sh problem



On 2019-07-22 8:08 a.m., Joachim Person wrote:
Yes:
$ pkg-config --version
0.29.1

Den mån 22 juli 2019 kl 00:05 skrev Matthew Brush <mbrush codebrainz ca>:

On 2019-07-21 11:43 a.m., Joachim Person via gnome-devtools wrote:
Hi,

I am trying to get GtkSourceView (
https://wiki.gnome.org/Projects/GtkSourceView) working, but I cannot
even
get autogen to run:

$ ./autogen.sh
*** WARNING: I am going to run 'configure' with no arguments.
*** If you wish to pass any to it, please specify them on the
*** './autogen.sh' command line.

autoreconf: Entering directory `.'
autoreconf: running: autopoint --force
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
autoreconf: running: /usr/bin/autoconf --force
configure.ac:83: error: possibly undefined macro: PKG_PROG_PKG_CONFIG
        If this token and others are legitimate, please use
m4_pattern_allow.
        See the Autoconf documentation.
configure.ac:84: error: possibly undefined macro: PKG_INSTALLDIR
configure.ac:221: error: possibly undefined macro: PKG_CHECK_VAR
autoreconf: /usr/bin/autoconf failed with exit status: 1

Google give only a few hits (

https://www.google.com/search?ei=Ia00XeHBHseIrwTswIlo&q=%22error%3A+possibly+undefined+macro%3A+PKG_PROG_PKG_CONFIG%22+-windows&oq=%22error%3A+possibly+undefined+macro%3A+PKG_PROG_PKG_CONFIG%22+-windows&gs_l=psy-ab.3...4521.6614..7194...0.0..0.209.1250.2j6j1......0....1..gws-wiz.......35i302i39.uLXM-7Jm_ZI&ved=0ahUKEwih1pG20MbjAhVHxIsKHWxgAg0Q4dUDCAo&uact=5
)
on this and none of them seems to be related to my problem.
How can this be solved?


Do you have pkg-config installed?


Maybe try a recent version. Looking at Git, the project isn't even using Autotools anymore.

Regards,
Matthew Brush



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]