On Sat, 07 Apr 2012 15:17:43 +0100 Fernando de Oliveira <fam...@yahoo.com.br> wrote:
> No need for java nor apache-ant! It was tested in LFS6.7, where I had not yet > upgraded from 3.5.1.2, but I can rebuild in LFS"7.1-svn", if you think it is > worth. Below, I describe (1) How java and ant were removed and (2) autogen.sh > switches used. > > > 1. Removing Java and Apache-Ant > > This machine did not have Sun JDK nor JRE, but IcedTea. > > In /etc/profile, relevant entries were commented out: > > # from JUnit-4.8.1 > #export CLASSPATH=$CLASSPATH:\ > #/usr/share/junit-4.8.1/junit-4.8.1.jar:/usr/share/junit-4.8.1 > > # from Apache Ant-1.8.0 > #export PATH=$PATH:/opt/ant/bin > #export ANT_HOME=/opt/ant > > In /etc/profile.d, icedtea.sh was moved to /etc/profile.d/disabled/ > > In /opt: > > # cd /opt > # mv -v ant* icedtea* jdk* tmp/ > > # exit > > $ sudo su > > Checked the environment variables > > # /home/fernando/sshfs/blfs/libreoffice/libreoffice-3.5.2.2.sh > > 2. Switches: > > ./autogen.sh \ > --prefix=/opt/$PACKAGE \ > --sysconfdir=/etc/libreoffice \ > --enable-split-app-modules \ > --enable-crashdump \ > --enable-gtk3 \ > --disable-binfilter \ > --disable-gnome-vfs \ > --disable-gconf \ > --disable-kde \ > --disable-kde4 \ > --disable-mozilla \ > --disable-odk \ > --disable-systray \ > --with-system-boost \ > --with-system-cairo \ > --with-system-curl \ > --with-system-expat \ > --with-system-jpeg \ > --with-system-libxml \ > --with-system-neon \ > --with-system-openssl \ > --with-system-poppler \ > --with-system-stdlibs \ > --with-system-zlib \ > --with-build-version="3.5.2.2" \ > --with-lang="pt-BR en-US" \ > --with-max-jobs=4 \ > --with-num-cpus=4 \ > --with-package-format=native \ > --with-use-shell=bash \ > --with-vendor="BLFS" \ > --with-build-vendor="Fernando de Oliveira" \ > --without-java && > #Not relevant in the --without-java case: > #--without-junit && > make fails after about 30 mins for me with: [ build SRS ] svt/res [ build RES ] svten-US [ build CMP ] svtools/util/svt [ build LNK ] Executable/g2g [ build LNK ] CppunitTest/libtest_svtools_filters_test.so [ build CUT ] svtools_filters_test [ build MOD ] svtools [ build ALL ] top level modules: bootstrap src.downloaded svtools [ build ALL ] loaded modules: svtools ##Failure Location unknown## : Error Test name: SvtoolsFiltersTest::testCVEs setUp() failed - An uncaught exception of type com.sun.star.uno.RuntimeException - cannot find /org.openoffice.Setup/L10N Failures !!! Run: 1 Failure total: 1 Failures: 0 Errors: 1 Seems to be something to do with internationalisation. Maybe I should download something else? I'll have another look at it tomorrow. Andy -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page