bug-gnubg
[Top][All Lists]
Advanced

[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: Thu, 16 Oct 2008 21:50:39 +0200
User-agent: Thunderbird 2.0.0.17 (Windows/20080914)

Christian Anthon wrote:
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.
Hi Cristian,

I'm pretty much convinced something is missing from my system as well.
I check the

/usr/share/aclocal/pkg.m4

and it is there.

I donwloaded a new version from CVS and still have the same error:(

Finally I've run:
address@hidden gnubg]# autoconf -v -d
autoconf: running /usr/local/bin/autom4te -v -d --language=autoconf --output=configure configure.in autom4te: formatting traces for `/tmp/am4tO12149/dependencies': include, m4_include
autom4te: up_to_date (autom4te.cache/traces.1): up to date
autom4te: the trace request object is:
autom4te: $VAR1 = bless( [
autom4te:                  '1',
autom4te:                  1,
autom4te:                  [
autom4te:                    '/usr/local/share/autoconf'
autom4te:                  ],
autom4te:                  [
autom4te: '/usr/local/share/autoconf/autoconf/autoconf.m4f',
autom4te:                    'aclocal.m4',
autom4te:                    'configure.in'
autom4te:                  ],
autom4te:                  {
autom4te:                    'AM_PROG_F77_C_O' => 1,
autom4te:                    '_LT_AC_TAGCONFIG' => 1,
autom4te:                    'm4_pattern_forbid' => 1,
autom4te:                    'AC_INIT' => 1,
autom4te:                    'AC_CANONICAL_TARGET' => 1,
autom4te:                    '_AM_COND_IF' => 1,
autom4te:                    'AC_CONFIG_LIBOBJ_DIR' => 1,
autom4te:                    'AC_SUBST' => 1,
autom4te:                    'AC_CANONICAL_HOST' => 1,
autom4te:                    'AC_FC_SRCEXT' => 1,
autom4te:                    'AC_PROG_LIBTOOL' => 1,
autom4te:                    'AM_INIT_AUTOMAKE' => 1,
autom4te:                    'AC_CONFIG_SUBDIRS' => 1,
autom4te:                    'AM_AUTOMAKE_VERSION' => 1,
autom4te:                    'LT_CONFIG_LTDL_DIR' => 1,
autom4te:                    'AC_CONFIG_LINKS' => 1,
autom4te:                    'AC_REQUIRE_AUX_FILE' => 1,
autom4te:                    'LT_SUPPORTED_TAG' => 1,
autom4te:                    'm4_sinclude' => 1,
autom4te:                    'AM_MAINTAINER_MODE' => 1,
autom4te:                    'AM_GNU_GETTEXT_INTL_SUBDIR' => 1,
autom4te:                    '_m4_warn' => 1,
autom4te:                    'AM_PROG_CXX_C_O' => 1,
autom4te:                    '_AM_COND_ENDIF' => 1,
autom4te:                    'AM_ENABLE_MULTILIB' => 1,
autom4te:                    'AC_CONFIG_FILES' => 1,
autom4te:                    'include' => 1,
autom4te:                    'LT_INIT' => 1,
autom4te:                    'AM_GNU_GETTEXT' => 1,
autom4te:                    'AC_LIBSOURCE' => 1,
autom4te:                    'AM_PROG_FC_C_O' => 1,
autom4te:                    'AC_CANONICAL_BUILD' => 1,
autom4te:                    'AC_FC_FREEFORM' => 1,
autom4te:                    'AH_OUTPUT' => 1,
autom4te:                    'AC_CONFIG_AUX_DIR' => 1,
autom4te:                    '_AM_SUBST_NOTMAKE' => 1,
autom4te:                    'm4_pattern_allow' => 1,
autom4te:                    'AM_PROG_CC_C_O' => 1,
autom4te:                    'sinclude' => 1,
autom4te:                    'AM_CONDITIONAL' => 1,
autom4te:                    'AC_CANONICAL_SYSTEM' => 1,
autom4te:                    'AC_CONFIG_HEADERS' => 1,
autom4te:                    'AC_DEFINE_TRACE_LITERAL' => 1,
autom4te:                    'm4_include' => 1,
autom4te:                    '_AM_COND_ELSE' => 1,
autom4te:                    'AC_SUBST_TRACE' => 1
autom4te:                  }
autom4te:                ], 'Autom4te::Request' );
autom4te: formatting traces for `/tmp/am4tO12149/warnings': _m4_warn
autom4te: reading /tmp/am4tO12149/warnings

I've observed there is no AC_MSG_ERROR or AC_MSG_WARN in this trace...Not sure if that means much. I'm thinking or reinstalling the system (adding more libraries this time upon installation) and trying again.
Just to be sure, the "normal" procedure to install GNUBG is
autoconf ./configure
make
make install

   OR

./autogen.sh
.....

what's the difference anyway?

Thanks for your efforts.
Stelios
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






reply via email to

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