[Top][All Lists]

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

Re: [Bug-indent] indent 2.2.7: fails to compile in seperate build dir.

From: david ingamells
Subject: Re: [Bug-indent] indent 2.2.7: fails to compile in seperate build dir.
Date: Wed, 2 Jan 2002 21:32:29 +0100

Thats why the supplied makefile does a "-I.. -I../intl".
The instructions in the supplied INSTALL file, when followed, result
in a build that works. Why don't you just follow those instructions
instead of trying to invent a new way?


On Tuesday 01 January 2002 2:14 pm, Michael Deutschmann wrote:
> I've found the latest version of GNU indent, 2.2.7, does not compile
> correctly with seperate build and source directories
> (ie: "cd build; ../indent-2.2.7/configure; make").
> The trouble is a line "#include <intl/libgettext.h>" in src/indent.h.
> When building in a seperate directory, the compiler can't find
> libgettext.h, and a cascade of errors ensues.
> Just changing it to plain "<libgettext.h>" seems to fix it for me.  It
> should also be fixable by adding another "-I" argument to the compiler
> options.
> (On Linux 2.0.40pre3, glibc 2.1.3, GCC 2.95.3, i486-pc-linux-gnu.
> Not that I think this problem is architecture specific...)
> ---- Michael Deutschmann <address@hidden>
> _______________________________________________
> Bug-indent mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-indent

David Ingamells
(0031) +13 5093388     (home)
(0031) +13 065010947 (mobile)

reply via email to

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