[Top][All Lists]

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

Re: [Bug-gnubg] Problem compiling gnubg in RHEL 5

From: Stelios Togias
Subject: Re: [Bug-gnubg] Problem compiling gnubg in RHEL 5
Date: Fri, 10 Oct 2008 01:16:40 +0200
User-agent: Thunderbird (Windows/20080914)

Christian Anthon wrote:
+ autoconf
configure.in:101: error: possibly undefined macro: AC_MSG_ERROR
    If this token and others are legitimate, please use m4_pattern_allow.
    See the Autoconf documentation.
configure.in:102: error: possibly undefined macro: AC_MSG_WARN

Can you suggest a good tutorial to start understanding the build process?
this "It might be that the files are in an inconsistent state" is confusing
to me...

I could, but autoconf/automake is not really something you want to
learn unless you have to. What I meant was that you might have a
configure built with different versions of the tools.

a) do you have pkg-config installed
b) If that is the case: Could you try to remove the [] around the
AC_MSG_ERROR and AC_MSG_WARN statements in line 101, 102 of
configure.in and around the other calls to PKG_CHECK_MODULES and see
if that helps.

I do have pkg-config installed. version: 0.21

I removed the [] from the PKG_CHECK_MODULES,
well from around AC_MSG_ERROR, AC_MSG_WARN
there were no other type of messages anyway (are these macros?)

anyway now ./autogen.sh passes
but ./configure gives error:
./configure: line 12198: syntax error near unexpected token `GLIB,'
./configure: line 12198: `PKG_CHECK_MODULES(GLIB, glib-2.0 >= 2.6.0, , { { $as_echo "$as_me:$LINENO: error: \"You need to have glib2 to compile GNU backgammon\"" >&5'

btw I've trying with this version as well: gnubg-0.9.0-1.tar.gz
but same behaviour...

well apart from learning a specific tool, learning in general the building process
in linux would help. now I don't even now what/where to look for...


reply via email to

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