[Top][All Lists]

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

Re: [bug-mailutils] CVS checkout doesn't build

From: Helmut Leitner
Subject: Re: [bug-mailutils] CVS checkout doesn't build
Date: Tue, 24 Jan 2006 16:01:40 +0100
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

Sergey Poznyakoff wrote:
Helmut Leitner <address@hidden> wrote:

Using gcc 2.95.3 I get on "make":
 getpass.c: In function `gnu_getpass':
 getpass.c:90: `_Bool' undeclared (first use in this function)

Mailutils provides a replacement for stdbool.h which should be built if
the system does not have this header or it is unusable. Please check if
file mailbox/stdbool.h exists.

mailbox/stdbool.h exists

If it does, try manually modifying lib/Makefile as follows:
find the variable INCLUDES and append -I${top_builddir}/mailbox to it.
Then recompile the package.

Ok, I've done that but the error is not affected.

The makefile line

INCLUDES = -I${srcdir} -I${top_srcdir}/include -I${top_srcdir}/lib 
-I${top_builddir} -I${top_builddir}/include
-I${top_builddir}/include/mailutils/gnu -I${top_srcdir}/mailbox 

seems to resolve to with
  DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)

 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../include -I../lib -I.. -I../include 
-I../include/mailutils/gnu -I../mailbox
-I../mailbox -DSYSCONFDIR=\"/usr/local/etc\" -g -O2 -c getpass.c 
-Wp,-MD,.deps/getpass.TPlo  -fPIC -DPIC -o .libs/getpass.o

so the appended dirspec seems to change nothing with respect to the overall 
include environment.

Using gcc 3.4.5 or gcc 4.0.2 I get on "make":

 mailutils.texi:43: Unknown command `copying'.
 mailutils.texi:61: Unmatched address@hidden'.

You need to have latest texinfo (at least v. 4.7) to build the docs.

Installed is

the docs are not a concern, just run `make -k' and ignore any errors from
doc/ subdirectory.

I'd prefer to understand and solve this problem.

Helmut Leitner    address@hidden
Graz, Austria   www.hls-software.com

reply via email to

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