Hello.
El 18:17 27/01/2004, eric escribió:
Hi,
> I use a Slackware 8.1 version with libgcrypt installed. When
I try
> to compile with:
>
> /autogen.sh --prefix=/usr/local/dctc
...
> checking for gcc option to accept ANSI C... none needed
> checking whether make sets ${MAKE}... (cached) yes
> checking for a BSD-compatible install... /usr/bin/ginstall -c
> checking GCC version... 2.95.3
> checking for libgcrypt-config... yes
> checking gcrypt version... 1.1.91
> ./configure: line 8560: syntax error near unexpected token
> `PKG_CHECK_MODULES(GLIB,'
> ./configure: line 8560: ` PKG_CHECK_MODULES(GLIB, glib-2.0
> gthread-2.0)'
>
> What can I do?
You have to install pkg-config and probably glib2.
I have installed pkg-config 0.15 (pkg-config --version returns
0.15.0) and glib2.3.2. If I execute :
pkg-config --list-all
gmodule-2.0 GModule - Dynamic module loader for GLib
libxml-2.0 libXML - libXML library version2.
libpng libpng12 - Loads and saves PNG files
glib-2.0 GLib - C Utility Library
gobject-2.0 GObject - GLib Type, Object, Parameter and Signal Library
gthread-2.0 GThread - Thread support for GLib
libpng12 libpng12 - Loads and saves PNG files
However, even with this, I
cannot confirm it will be enough because your gcc is very very very old. DCTC
never has been compiled on gcc < 3.0.
I have updated gcc also to 3.3.2 version, and with the same results: