bug-textutils
[Top][All Lists]
Advanced

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

Re: problems building textutils 2.0.11 on cygwin


From: Jim Meyering
Subject: Re: problems building textutils 2.0.11 on cygwin
Date: 07 Feb 2001 16:00:26 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.98

Based on the copy of lib/Makefile that you included (compare it to
lib/Makefile.in), I have to conclude that you or some tool have made
substantial changes to the Makefile.in that comes with textutils-2.0.11.
Large sections are missing from your Makefile, and some rules are
different -- which makes me think there's a deeper problem.
Part of it may be that you're using a different version of automake.

Maybe there's a problem with the way gcc is installed on your system?

"Matthew Smith" <address@hidden> wrote:
| To whom it may concern:
|
|     I'm the textutils maintainer for cygwin (http://www.cygwin.com).  I just
| grabbed the most recent version (2.0.11) to build under cygwin.  I ran into
| some problems, whereas 2.0 compiled for me out of the box with no problems.
| I am using the latest build of cygwin, version 1.1.7.  The gcc version is
| 2.95.2.
|
| The first problem:
|
| getdate.y:866: parse error before `)'
| getdate.y: In function `yyerror':
| getdate.y:866: parse error before `)'
| make[2]: *** [getdate_.o] Error 1
| make[2]: Leaving directory `/home/matts/textutils-2.0.11/lib'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/home/matts/textutils-2.0.11'
| make: *** [all-recursive-am] Error 2
|
| cygwin doesn't like the ATTRIBUTE_UNUSED stuff.  I changed this line to:
| yyerror (char *s), and compiling continued.
|
| Next problem:
|
| ./savedir.c: In function `savedir':
| ./savedir.c:79: `DIR' undeclared (first use in this function)
| ./savedir.c:79: (Each undeclared identifier is reported only once
| ./savedir.c:79: for each function it appears in.)
| ./savedir.c:79: `dirp' undeclared (first use in this function)
| ./savedir.c:80: parse error before `struct'
| ./savedir.c:94: `allocated' undeclared (first use in this function)
| ./savedir.c:97: `name_space' undeclared (first use in this function)
| ./savedir.c:100: `dp' undeclared (first use in this function)
| ./savedir.c:108: `used' undeclared (first use in this function)
| ./savedir.c:127: `save_errno' undeclared (first use in this function)
| make[2]: *** [savedir_.o] Error 1
| make[2]: Leaving directory `/home/matts/textutils-2.0.11/lib'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/home/matts/textutils-2.0.11'
| make: *** [all-recursive-am] Error 2
|
| dirent.h does exist, and defines the DIR structure.  The location of
| dirent.h is /usr/include/sys.  If I force HAVE_DIRENT_H to be defined,
| compiling will continue.
|
| Final problem (so far):
|
| make[2]: *** No rule to make target `fileblocks.exe', needed by
| `libfetish.a'.
| Stop.
|
| Attached is the Makefile and config.log.



reply via email to

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