On Tuesday 11 September 2007 16:41:03 Andre Poenitz wrote:
>
> --enable-shared is for people that do not ask questions ;-)

  Don't worry I _will_ forget that rule. :-)

[...]
> > /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libboost_regex-mt.so:
> > undefined reference to `u_charType_3_7'
> > collect2: ld returned 1 exit status
>
> Do we use --without-included-boost regularily?

  I intend to. :-)

  OK, the above is a problem with Fedora implementation. The boost library 
there needs to be rebuilt against the latest icu(-3.8).

  Yet, I need the following patch to be able to compile lyx without an 
included boost.

  Any objection?

  The patch seems to be a good first step. Eventually, if we stay with 
autotools, we need something like:
http://viewmtn.angrygoats.net/revision/file/6eb785c496e3973605995ca5d5777cc1879d56da/m4/boost.m4

> Andre'
-- 
José Abílio
Index: src/tex2lyx/Makefile.am
===================================================================
--- src/tex2lyx/Makefile.am	(revision 20319)
+++ src/tex2lyx/Makefile.am	(working copy)
@@ -63,8 +63,7 @@
 
 tex2lyx_LDADD = \
 	$(top_builddir)/src/support/liblyxsupport.la \
-	$(top_builddir)/boost/liblyxboost.la \
-	$(LIBICONV) @LIBS@
+	$(LIBICONV) $(BOOST_LIBS) @LIBS@
 
 tex2lyx.1:
 	cp -p $(srcdir)/tex2lyx.man tex2lyx.1
Index: config/common.am
===================================================================
--- config/common.am	(revision 20319)
+++ config/common.am	(working copy)
@@ -37,6 +37,7 @@
 BOOST_REGEX = -lboost_regex
 BOOST_SIGNALS = -lboost_signals
 BOOST_IOSTREAMS = -lboost_iostreams
+BOOST_LIBS = $(BOOST_FILESYSTEM) $(BOOST_REGEX) $(BOOST_SIGNALS) $(BOOST_IOSTREAMS)
 endif
 
 LIBS =

Reply via email to