Date: Mon, 23 Jul 2012 15:19:22 -0400 From: Jung-uk Kim <jkim@FreeBSD.org> To: freebsd-office@freebsd.org Cc: freebsd-ports@freebsd.org Subject: Re: [RFC] LibreOffice build issues Message-ID: <500DA3BA.30604@FreeBSD.org> In-Reply-To: <500D91AA.70502@FreeBSD.org> References: <500D91AA.70502@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2012-07-23 14:02:18 -0400, Jung-uk Kim wrote: > 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. ... I found a solution for this specific problem. We can add CPPFLAGS to CONFIGURE_ENV, rather than directly define it in the port Makefile, not to pick up random files from ${LOCALBASE}/include or ${LOCALBASE}/lib. Jung-uk Kim -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlANo7oACgkQmlay1b9qnVMcuwCfdtN+qlxBXoErmV6zZXtCKkiz zzQAoJpEoilNl5QfIG1sIEqQRXplJ9ut =myCj -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?500DA3BA.30604>