[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnubg] Compilation problems
From: |
Joern Thyssen |
Subject: |
Re: [Bug-gnubg] Compilation problems |
Date: |
Wed, 10 Sep 2003 15:17:48 +0000 |
User-agent: |
Mutt/1.4.1i |
On Tue, Sep 09, 2003 at 08:57:38PM +0200, Nis Jorgensen wrote
> I cannot compile on a linux-box, from a clean CVS checkout. I am running
>
> ./configure --without-python
> make
>
> I get
>
>
> gcc -DHAVE_CONFIG_H -I. -I. -I. -I./lib -I/usr/include/libxml2
> -I./intl -DLOCALEDIR=\"/usr/local/share/locale\" -lpng -lz -g -O2
> -c `test -f 'play.c' || echo './'`play.c
> In file included from play.c:41:
> backgammon.h:356: `PATH_MAX' undeclared here (not in a function)
> backgammon.h:358: `PATH_MAX' undeclared here (not in a function)
Can you check where PATH_MAX is defined, e.g.,
grep -l PATH_MAX /usr/include/*.h
Check if that particular file is included in backgamon.h or play.c
>
> Also, I am experiencing error messages from aclocal almost everytime I
> try to do a cvs update && make. If someone could advice me on how to
> avoid this, please tell me.
run "./autogen.sh" before running make to avoid re-generation of
autoconf stuff (aclocal, autoconf, automake).
Jørn
pgpOdGNJf48yt.pgp
Description: PGP signature