pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: libreoffice build error



On Sun, Dec 15, 2019 at 06:17:14PM +0530, Mayuresh wrote:
> CHECK_BUILTIN.freetype2:=       yes
> .include "../../graphics/freetype2/builtin.mk"
> CHECK_BUILTIN.freetype2:=       no
> .if !empty(USE_BUILTIN.freetype2:M[Yy][Ee][Ss]) && \
>         !empty(BUILTIN_VERSION.freetype2:M2.10.0)
> CFLAGS+=                        -D_FT_CONST=
> .else
> CFLAGS+=                        -D_FT_CONST=const
> .endif

Don't know the right way, but by retaining the lines that force use of pkg
freetype2 it went past this till it hit the following error:

/usr/bin/ld: warning: libstdc++.so.8, needed by
/usr/pkgsrc/misc/libreoffice/work/.buildlink/lib/libboost_s
ystem.so, may conflict with libstdc++.so.7
/usr/pkgsrc/misc/libreoffice/work/libreoffice-6.3.3.2/instdir/program/libutllo.so:
undefined reference to `
boost::locale::generator::add_messages_domain(std::__cxx11::basic_string<char,
std::char_traits<char>, std:
:allocator<char> > const&)'
/usr/pkgsrc/misc/libreoffice/work/libreoffice-6.3.3.2/instdir/program/libutllo.so:
undefined reference to `
boost::locale::generator::generate(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<
char> > const&) const'
/usr/pkgsrc/misc/libreoffice/work/libreoffice-6.3.3.2/instdir/program/libutllo.so:
undefined reference to `
boost::locale::generator::add_messages_path(std::__cxx11::basic_string<char,
std::char_traits<char>, std::a
llocator<char> > const&)'
/usr/pkgsrc/misc/libreoffice/work/libreoffice-6.3.3.2/instdir/program/libsfxlo.so:
undefined reference to `
orcus::json::document_tree::load(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<ch
ar> > const&, orcus::json_config const&)'
collect2: error: ld returned 1 exit status
gmake[1]: ***
[/usr/pkgsrc/misc/libreoffice/work/libreoffice-6.3.3.2/svx/Executable_gengal.mk:20:
/usr/pkgs
rc/misc/libreoffice/work/libreoffice-6.3.3.2/instdir/program/gengal.bin]
Error 1
gmake: *** [Makefile:167: Executable_gengal] Error 2
*** Error code 2


Mayuresh


Home | Main Index | Thread Index | Old Index