dctc-general
[Top][All Lists]
Advanced

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

Re: [Dctc-general] Problems compiling dctc-0.85.9


From: Joshue Martin
Subject: Re: [Dctc-general] Problems compiling dctc-0.85.9
Date: Wed, 28 Jan 2004 13:31:50 +0100

        Hello to myself :)

El 11:03 28/01/2004, Joshue Martin escribió:
        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:

        I have updated autoconf (from 2.5.3 to 2.5.9) with the same results.

I have updated automake (from 1.5 to 1.8) and now I can compile it. The configure script warns me about some .m4 files but it compiles. The "make install" shows me:

make install

Making install in src
make[1]: Entering directory `/usr/local/src/dctc-0.85.9/src'
make[2]: Entering directory `/usr/local/src/dctc-0.85.9/src'
/usr/local/dctc/bin
make[2]: /usr/local/dctc/bin: Command not found
make[2]: *** [install-binPROGRAMS] Error 127
make[2]: Leaving directory `/usr/local/src/dctc-0.85.9/src'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/usr/local/src/dctc-0.85.9/src'
make: *** [install-recursive] Error 1

but if I copy the executables from src and src_dc2k to the destination directory (and the man pages), it works :)

        Bye.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]