>>>>> "m" == m  <[EMAIL PROTECTED]> writes:

m> Hi, trying to build lyx 1.3.0 on openbsd 3.1. Here is output. Will
m> provide any more information required.

m> Advice? I'm still running version 1.16.

m> Thanks for your time, -Marten

m> g++ -DHAVE_CONFIG_H -I. -I. -I../../../../src -I../../../../boost
m> -isystem /usr/X11R6/include -O -Wno-non-template-friend
m> -ftemplate-depth-30 -c cpp_regex_traits.cpp
m> -Wp,-MD,.deps/cpp_regex_traits.TPlo In file included from
m> ../../../../boost/boost/regex/config.hpp:142,

m> from cpp_regex_traits.cpp:26: /usr/include/g++/cwctype:6:

m> wctype.h: No such file or directory *** Error code 1

OK, it seems that the boost library has problems when one wants to
avoid wide chars. Let's proceed step by step.

Does the appended patch help? What is the next error? 

JMarc

Index: boost/boost/regex/config.hpp
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/boost/boost/regex/config.hpp,v
retrieving revision 1.3
diff -u -p -r1.3 config.hpp
--- boost/boost/regex/config.hpp	15 Oct 2002 17:51:39 -0000	1.3
+++ boost/boost/regex/config.hpp	10 Feb 2003 17:32:20 -0000
@@ -125,8 +125,10 @@
 // If there isn't good enough wide character support then there will
 // be no wide character regular expressions:
 //
-#if (defined(BOOST_NO_CWCHAR) || defined(BOOST_NO_CWCTYPE) || defined(BOOST_NO_STD_WSTRING)) && !defined(BOOST_NO_WREGEX)
-#  define BOOST_NO_WREGEX
+#if defined(BOOST_NO_CWCHAR) || defined(BOOST_NO_CWCTYPE) || defined(BOOST_NO_STD_WSTRING)
+#  ifndef BOOST_NO_WREGEX
+#    define BOOST_NO_WREGEX
+#  endif
 #else
 #  if defined(__sgi) && defined(__SGI_STL_PORT)
       // STLPort on IRIX is misconfigured: <cwctype> does not compile

Reply via email to