>>>>> "Jean-Marc" == Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:

Bennett> This patch enables lyx to compile, but the result crashes on
Bennett> launch. Here's the gdb output:

Jean-Marc> Let's see if we can get this one going.

Jean-Marc> Bennett, could you retry with the following patch (on a
Jean-Marc> clean tree)? Please do a "make clean" before compiling.

Of course, it is better with the patch. Here it is.

JMarc

Index: boost/boost/config/user.hpp
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/boost/boost/config/user.hpp,v
retrieving revision 1.6.2.2
diff -u -p -r1.6.2.2 user.hpp
--- boost/boost/config/user.hpp	20 Oct 2003 15:07:45 -0000	1.6.2.2
+++ boost/boost/config/user.hpp	8 Sep 2005 12:23:25 -0000
@@ -73,3 +73,6 @@
 #if defined(__APPLE__) && defined(__GNUC__) && __GNUC__ == 2
 #define BOOST_REGEX_NARROW_INSTANTIATE
 #endif
+
+// Include the main config file
+#include <config.h>
Index: src/mathed/textpainter.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/mathed/textpainter.C,v
retrieving revision 1.5.2.1
diff -u -p -r1.5.2.1 textpainter.C
--- src/mathed/textpainter.C	7 Dec 2004 10:50:07 -0000	1.5.2.1
+++ src/mathed/textpainter.C	8 Sep 2005 12:23:25 -0000
@@ -1,3 +1,5 @@
+#include <config.h>
+
 #include "textpainter.h"
 #include "support/LOstream.h"
 

Reply via email to