bug-indent
[Top][All Lists]
Advanced

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

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


From: Michael Deutschmann
Subject: [Bug-indent] indent 2.2.7: fails to compile in seperate build dir.
Date: Tue, 1 Jan 2002 05:14:12 -0800 (PST)

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>



reply via email to

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