Date: Thu, 18 Aug 2011 10:34:44 +0200 From: "Herbert J. Skuhra" <hskuhra@fastmail.fm> To: freebsd-questions@freebsd.org Subject: Re: Unable to build the print/lyx port Message-ID: <8739gzdsnv.wl%hskuhra@fastmail.fm> In-Reply-To: <1a08a251-1098-443a-8597-3deedfc1e245@email.android.com> References: <1a08a251-1098-443a-8597-3deedfc1e245@email.android.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 16 Aug 2011 11:55:42 -1000 Open Slate Project <osp@aloha.com> wrote: > I was unsuccessful in posting directly so I am forwarding from another account. Apologies for format. > > Gary Dunn <garydunnhi@gmail.com> wrote: > > >FreeBSD Questions <freebsd-questions@freebsd.org> > > > > > >Unable to build the print/lyx port. Generic kernal, fresh portsnap > >fetch / > >update cycle. > > > >$ uname -a > >FreeBSD my.host.name 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Fri Feb 18 > >02:24:46 > >UTC 2011 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC > >i386 > > > >portinstall lyx > >After long run, picking up output near end: > > > >... > >gmake[4]: Entering directory `/usr/ports/print/lyx/work/lyx-2.0.0/src' > > CXX Author.o > > CXX Bidi.o > > CXX boost.o > > CXX BranchList.o > > CXX Buffer.o > > CXX buffer_funcs.o > > CXX BufferList.o > > CXX BufferParams.o > > CXX BufferView.o > > CXX Bullet.o > > CXX Changes.o > > CXX Chktex.o > > CXX CmdDef.o > > CXX Color.o > > CXX ConverterCache.o > >ConverterCache.cpp:83: warning: 'lyx::FormatCache' has a field > >'lyx::FormatCache::cache' whose type uses the anonymous namespace > > CXX Converter.o > > CXX CoordCache.o > >... (omitted long list of similar lines) > > CXX PersonalWordList.o > > CXX PrinterParams.o > > CXX Thesaurus.o > > AR liblyxcore.a > > AR liblyxgraphics.a > > AR liblyxmathed.a > > AR liblyxinsets.a > > CXXLD lyx > >/usr/bin/ld: warning: libicuuc.so.46, needed by > >/usr/local/lib/libboost_regex.so, not found (try using -rpath or > >-rpath-link) > >/usr/bin/ld: warning: libicui18n.so.46, needed by > >/usr/local/lib/libboost_regex.so, not found (try using -rpath or > >-rpath-link) > >/usr/bin/ld: warning: libicudata.so.46, needed by > >/usr/local/lib/libboost_regex.so, not found (try using -rpath or > >-rpath-link) > >/usr/local/lib/libboost_regex.so: undefined reference to > >`icu_46::Locale::Locale()' > >/usr/local/lib/libboost_regex.so: undefined reference to > >`icu_46::Locale::Locale(icu_46::Locale const&)' > >/usr/local/lib/libboost_regex.so: undefined reference to `u_isblank_46' > >/usr/local/lib/libboost_regex.so: undefined reference to `u_isspace_46' > >/usr/local/lib/libboost_regex.so: undefined reference to `u_digit_46' > >/usr/local/lib/libboost_regex.so: undefined reference to > >`u_charType_46' > >/usr/local/lib/libboost_regex.so: undefined reference to `u_tolower_46' > >/usr/local/lib/libboost_regex.so: undefined reference to > >`u_charFromName_46' > >/usr/local/lib/libboost_regex.so: undefined reference to > >`icu_46::Locale::~Locale()' > >/usr/local/lib/libboost_regex.so: undefined reference to > >`icu_46::Collator::createInstance(icu_46::Locale const&, UErrorCode&)' > >gmake[4]: *** [lyx] Error 1 > >gmake[4]: Leaving directory `/usr/ports/print/lyx/work/lyx-2.0.0/src' > >gmake[3]: *** [all-recursive] Error 1 > >gmake[3]: Leaving directory `/usr/ports/print/lyx/work/lyx-2.0.0/src' > >gmake[2]: *** [all] Error 2 > >gmake[2]: Leaving directory `/usr/ports/print/lyx/work/lyx-2.0.0/src' > >gmake[1]: *** [all-recursive] Error 1 > >gmake[1]: Leaving directory `/usr/ports/print/lyx/work/lyx-2.0.0' > >gmake: *** [all] Error 2 > >*** Error code 1 > > > >Stop in /usr/ports/print/lyx. > >*** Error code 1 > > > >Stop in /usr/ports/print/lyx. > >** Command failed [exit code 1]: /usr/bin/script -qa > >/tmp/portinstall20110808-84103-1lft56n-0 env make > >** Fix the problem and try again. > >** Listing the failed packages (-:ignored / *:skipped / !:failed) > >! print/lyx (linker error) > >$ > > > >I have icu version 4.8, looks like libboost is looking for 4.6. Or is > >the > >problem with boost? > > > >$ pkg_info | grep icu > >icu-4.8.1 International Components for Unicode (from IBM) > > > >$ pkg_version -v | grep boost-libs > >boost-libs-1.45.0_1 = up-to-date with port > > > >Anyone have this working? Have you tried to rebuild devel/boost-libs first? If that doesn't help use sysutils/libchk to find files linked against the old icu port and 'pkg_info -W file' to find the port the file belongs to. Rebuild these ports as well. -Herbert
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8739gzdsnv.wl%hskuhra>