Am 05.01.2012 um 20:50 schrieb sw...@lyx.org:

> Author: switt
> Date: Thu Jan  5 20:50:18 2012
> New Revision: 40573
> URL: http://www.lyx.org/trac/changeset/40573
> 
> Log:
> #7927 apply patch from mft to support posix packageing on Mac for the Gentoo 
> prefix project
> 
> Modified:
>   lyx-devel/trunk/config/lyxinclude.m4
> 
> Modified: lyx-devel/trunk/config/lyxinclude.m4
> ==============================================================================
> --- lyx-devel/trunk/config/lyxinclude.m4      Thu Jan  5 14:19:04 2012        
> (r40572)
> +++ lyx-devel/trunk/config/lyxinclude.m4      Thu Jan  5 20:50:18 2012        
> (r40573)
> @@ -521,6 +521,7 @@
>          default_prefix=$ac_default_prefix
>          case ${host} in
>          *cygwin*) lyx_install_cygwin=true ;;
> +             *apple-darwin*) lyx_install_macosx=true ;;
>          esac
>          lyx_install_posix=true ;;
>     *) LYX_ERROR([Unknown packaging type $lyx_use_packaging]) ;;

I want to verify if this change causes any problem on linux...
and tried make rpmdist...

This is the problem I've encountered:

make[3]: Entering directory 
`/macbook/stephan/Applications/BUILD/lyx-2.1.0svn/boost'
  CXX    c_regex_traits.o
libs/regex/src/c_regex_traits.cpp:24:25: error: internals.hpp: Datei oder 
Verzeichnis nicht gefunden
libs/regex/src/c_regex_traits.cpp: In static member function 'static uint32_t 
boost::c_regex_traits<char>::lookup_classname(const char*, const char*)':
libs/regex/src/c_regex_traits.cpp:116: error: 'char_class_alnum' was not 
declared in this scope
libs/regex/src/c_regex_traits.cpp:117: error: 'char_class_alpha' was not 
declared in this scope

Is rpmdist an outdated target? If not, I think the attached patch helps.

Stephan

Index: boost/Makefile.am
===================================================================
--- boost/Makefile.am   (Revision 40573)
+++ boost/Makefile.am   (Arbeitskopie)
@@ -26,6 +26,7 @@
 
 liblyxboost_a_SOURCES = \
        \
+       libs/regex/src/internals.hpp \
        libs/regex/src/c_regex_traits.cpp \
        libs/regex/src/cpp_regex_traits.cpp \
        libs/regex/src/cregex.cpp \

Reply via email to