On 08/16/2009 03:35 PM, Peter Kümmel wrote:
Rob Oakes wrote:
Dear LyX-Developers,

After taking a bit of a break from LyX development for summer projects
at work and vacations, I was rather eager to jump back in but have
encountered a bit of a problem.  When I checked out the most revision of
LyX, I am not able to compile it.  Instead, I get a slew of rather
bizarre errors when trying to compile/link filetools.cpp.

The offending culprit appears to be the boost/regex.hpp file.  However,
I'm not sure why I am getting these errors (I get them both when trying
to build from my existing SVN working copy and when I check out a
completely new working copy).  I checked the include statements, and
they appear to be fine.  I am also getting them on different
installations of Ubuntu 9.04.  (The relevant compiler output is below.)

I looked through the archives, but didn't see any recent reports of
similar problems (which makes me believe that it is probably just me).
Does anyone know how I can resolve the errors?  I've already checked
include statements, headers, completely reconfigured my build
environment, and installed the libboost packages from Ubuntu.  Nothing I
do seems to make the compiler happy.

Any guidance or feedback would be greatly appreciated.

Sincerely,

Rob Oakes


Have you checked if it links boost?
Do you link against the boost package or boost in the lyx tree?

Maybe you use the headers of one library but link against the other lib.

Peter

This is a known problem with gcc 4.4 and the included boost libraries. Install the boost-devel package and configure lyx --without-included-boost.

I think this only happens when you also configure with --enable-stdlib-debug, but I can't now remember. We had a long discussion about this a month and a half ago, or so.

Richard

Reply via email to