On Wed, Jul 12, 2000 at 10:42:53PM +0100, Bernard Michael Hurley wrote:
> Hi all,
> 
> I've just updated from cvs and I get the following error when I try to "make":
> 
> g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I../../images -I./../ -I../.. -I../.. 
>-isystem/usr/X11R6/include -g -O -fno-rtti -fno-exceptions -ansi -W -Wall 
>-Wno-return-type -Wp,-MD,.deps/formula.pp -c formula.C -o formula.o
> In file included from formula.C:34:
> ../../src/minibuffer.h:5: forms.h: No such file or directory
> 
> 
> Looks to me like -isystem should be -I. And assume the error is buried in the 
>configure script somewhere.  Maybe someone who knows about config scripts etc could 
>correct it.
> 
> Thanks,
> 
> Bernard

Apply the following patch to configure.in and it should work:

Index: configure.in
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/configure.in,v
retrieving revision 1.35
diff -u -r1.35 configure.in
--- configure.in        2000/07/10 14:17:35     1.35
+++ configure.in        2000/07/12 22:06:18
@@ -135,7 +135,7 @@
 # but since at least gcc 2.6.x supports it and it is still too old for
 # us, it seems we are safe.
 if test -n "$GXX" ; then
-  X_CFLAGS=`echo ${X_CFLAGS} | sed -e 's/-I/-isystem/'`
+  X_CFLAGS=`echo ${X_CFLAGS} | sed -e 's/-I/-isystem /'`
 fi
 CPPFLAGS="$CPPFLAGS $X_CFLAGS"


-- 
Kayvan A. Sylvan                   | Proud husband of      | Father to my kids:
Sylvan Associates, Inc.            | Laura Isabella Sylvan | Katherine Yelena
http://www.successlinks.com/kayvan | Reach your goals now! | Robin Gregory

Reply via email to