Libreoffice fails to build

Which FreeBSD version? With the recent version of libreoffice-4.2.5_4 I had other problems but not with JDK. Try to recompile openjdk6. If this doesn't work do portmaster -Rf openjdk6.
 
My version is FreeBSD 10-RELEASE. My full uname -a is:
Code:
FreeBSD Neptune 10.0-RELEASE-p7 FreeBSD 10.0-RELEASE-p7 #0: Tue Jul  8 06:37:44 UTC 2014    
root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
I've successfully compiled Libreoffice without Java support, so that's certainly the problem. I'll try portmaster -Rf openjdk6. I also have openjdk7 and 8 installed, as well as the Linux version of 7, in case "that changes everything", so to speak.
 
No. Have a look at the Makefile --> # LibreOffice works only with Java 6 -- which may not be the default
# if you specify the JAVA_VENDOR variable.

Maybe you have to put in your /etc/make.conf (only for LibreOffice, after compile comment it out - sorry, I have forgotten before):
Code:
JAVA_PREFERRED_PORTS=JAVA_PORT_NATIVE_OPENJDK_JDK_1_6
 
Ah! The portmaster -Rf editors/libreoffice did the trick, and I'll keep the make.conf in mind. Thank you! :beergrin
 
Back
Top