compiling openoffice

horio shoichi bugsgrief at bugsgrief.net
Sat Aug 28 00:42:51 PDT 2004


On Fri, 27 Aug 2004 16:56:21 -0400
Osmany Guirola Cruz <osmany.guirola at cigb.edu.cu> wrote:
> is it posible compile openoffice without install java 
> i do this 
> %make WITHOUT_JAVA=yes but the port still try to download tha java files 
> "apache-ant etc etc etc " i can not download the java files due to 
> restrictions of Sun with my domain ".cu".... what can i do binaries of 
> openoffice does not work because i have 5.3 beta "xorg"
> what should i do
> 
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
> 

1. Don't hijack unrelated thread.

2. You should have told us exactly what you did. What you typed, what you see on screen, the
   content of related files, etc.


Now, if my guess hits, it could be your choice of openoffice.

% grep JAVA /usr/ports/editors/openoffice*/Makefile
/usr/ports/editors/openoffice-1.0/Makefile:BUILD_DEPENDS+= ${JAVAVM}:${PORTSDIR}/java/linux-sun-jdk13
/usr/ports/editors/openoffice-1.0/Makefile:BUILD_DEPENDS+= ${JAVAVM}:${PORTSDIR}/java/jdk13
/usr/ports/editors/openoffice-1.0/Makefile:JAVAVM=         ${JDK13DIR}/bin/java
/usr/ports/editors/openoffice-1.1-devel/Makefile:.if !defined(WITHOUT_JAVA)
/usr/ports/editors/openoffice-1.1-devel/Makefile:USE_JAVA=      1.4+
/usr/ports/editors/openoffice-1.1-devel/Makefile:NO_RUN_DEPENDS_JAVA=   yes
/usr/ports/editors/openoffice-1.1-devel/Makefile:.if defined(WITHOUT_JAVA)
/usr/ports/editors/openoffice-1.1-devel/Makefile:.if defined(WITHOUT_JAVA)
/usr/ports/editors/openoffice-1.1-devel/Makefile:CONFIGURE_ARGS+=       --with-jdk-home="${JAVA_HOME}"
/usr/ports/editors/openoffice-1.1/Makefile:.if !defined(WITHOUT_JAVA)
/usr/ports/editors/openoffice-1.1/Makefile:USE_JAVA=    1.4+
/usr/ports/editors/openoffice-1.1/Makefile:NO_RUN_DEPENDS_JAVA= yes
/usr/ports/editors/openoffice-1.1/Makefile:.if defined(WITHOUT_JAVA)
/usr/ports/editors/openoffice-1.1/Makefile:.if defined(WITHOUT_JAVA)
/usr/ports/editors/openoffice-1.1/Makefile:CONFIGURE_ARGS+=     --with-jdk-home="${JAVA_HOME}"
%

As you see, there is no WITHOUT_JAVA knob for openoffice-1.0. Neither for openoffice-2.0-devel,
which could be the cause of mysterious make behavior.
You should have chosen openoffice-1.1-devel or openoffice-1.1 in this case.


horio shoichi



More information about the freebsd-questions mailing list