Solved libreoffice update error

editors/libreoffice (on FreeBSD-9.3-p3; default options) exits update with:

Code:
Could not link against boost_date_time

Code:
make install clean CONFIGURE_ARGS="--with-boost-date-time=/usr/local/lib/libboost_date_time.so.5"

exits with:

Code:
checking whether /usr/bin/patch is GNU patch... Patch version 2.1
configure: error: no, GNU patch needed. install or specify with --with-gnu-patch=/path/to/it

whether CONFIGURE_ARGS="--with-gnu-patch=/usr/local/bin/gpatch" nor CONFIGURE_ARGS="--with-gnu-patch=/usr/local/bin/gcp" nor CONFIGURE_ARGS="--with-gnu-patch=/usr/bin/patch" helps.
 
Strange issues.
I renamed /usr/bin/patch to _patch and linked /usr/local/gpatch to patch.
With
make install clean CONFIGURE_ARGS="--with-boost-date-time=/usr/local/lib/libboost_date_time.so.5" CONFIGURE_ARGS="/usr/bin/patch" CONFIGURE_ARGS="-without-junit" LibreOffice begins to download all depencies new, now it starts to compile.

THEN
Code:
/usr/local/bin/ld: cannot find -ljawt

I gave a path to libjawt.

THEN
Code:
Makefile:108: recipe for target 'lib/libGLEW.so.1.10.0' failed
and lib/libGLEW.so.1.10.0 doesn't exist. (actual is 1.11.0_2)

I removed the patch link, renamed _patch back, and gave it up.

...and I am very happy to have to write the CODE tags by hand.

There seem to be a lot of things wrong.

(but it compiles fine on FreeBSD-10.0).
 
Could compile it with poudriere. Sorry, it 's something with my enviroment, I have to search.
 
Strange thing. I searched for hours. Then I "figured out" I had to set or export LOCALBASE=/usr/local. I was wondering about, cause it is set in bsd.port.mk per default. But after a reboot everythings was okay. Don't know what went wrong. (But solved).
 
Back
Top