Date: Mon, 23 Jul 2012 14:02:18 -0400 From: Jung-uk Kim <jkim@FreeBSD.org> To: freebsd-office@freebsd.org Cc: freebsd-ports@freebsd.org Subject: [RFC] LibreOffice build issues Message-ID: <500D91AA.70502@FreeBSD.org>
next in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Over the weekend, I have tried various environments to build LibreOffice. Basically, it is really tricky to do the right thing in 7 and 8 branches. devel/boost-libs in ports tree (1.48) is newer than bundled one (1.44). Unfortunately, Boost 1.48 has various issues in C++98 mode. That's why LibreOffice had to be built with C++11 mode in the first place. Alas, C++11 support for libstdc++ in the base system doesn't exist and 7 & 8 is worse than 9, I think. The only way to build it cleanly for me on 7.4 and 8.2 was with bundled Boost + base GCC in default mode[1] (but I believe you may experience run-time problems). llvm/clang/binutils combo from ports may be able to build it[2] but I don't think we can guarantee its correctness. So, I am stuck here. What do we do now? :-( Jung-uk Kim [1] devel/boost-libs had to be removed first because it is *always* picked up first with "-I/usr/local/include" in the CXXFLAGS. FYI, you may try the port from here: http://people.freebsd.org/~jkim/libreoffice-20120723.tar.bz2 I must warn: your mileage may vary. [2] As usual, you need the following patch for lang/clang to work around the notorious build crash: http://people.freebsd.org/~jkim/patch-tools_clang_lib_Sema_SemaDeclCXX.cpp -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlANkaoACgkQmlay1b9qnVN5iACfcGY+geBA34AZJdL6XJd4HGn6 mcUAn2/1fIP8ibxcUvQtxuz+3PGTaPsc =IBY4 -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?500D91AA.70502>