[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: |
Christian Anthon |
Subject: |
Re: [Bug-gnubg] Problem compiling gnubg in RHEL 5 |
Date: |
Thu, 16 Oct 2008 13:55:20 +0200 |
Hi Stelios,
sorry to not respond faster. It seems like something is amiss on your
system, or perhaps your copy of gnubg isn't clean for some reason.
I still have the feeling that it is the first part. Do you have a file called:
/usr/share/aclocal/pkg.m4
You could also download a clean copy to an empty directory using cvs:
cvs -z3 -d:pserver:address@hidden:/sources/gnubg co gnubg
Christian.
On Fri, Oct 10, 2008 at 1:16 AM, Stelios Togias <address@hidden> wrote:
> 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.
>>
>> Christian.
>>
>
> 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...
>
> thanks
> stelios
>