On 07-04-2012 20:37, Andrew Benton wrote:
> On Sat, 07 Apr 2012 20:01:58 +0100
> Andrew Benton wrote:
>
>> 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.
> Ok so I got past that with different ./autogen.sh options (I'm not sure
> exactly which one, the builds take hours so I've not had chance to
> check) and it actually makes it all the way through make. However, when
> I run make install it fails like this:
>
> LibreOffice build succesfully finished.
>
> To install, issue: make install
> Developers might prefer this way: make dev-install -o build
> To run smoketest, issue: make check
> For crosscompiles, please consult README.cross how to install it.
>
> echo "Installing in /home/andy/tmp/lib/libreoffice..." && \
> ooinstall "/home/andy/tmp/lib/libreoffice" && \
> echo "" && \
> echo "Installation finished, you can now execute:" && \
> echo "/home/andy/tmp/lib/libreoffice/program/soffice"
> Installing in /home/andy/tmp/lib/libreoffice...
> Running LibreOffice installer
> Subroutine installer::epmfile::getcwd redefined at 
> /home/andy/libreoffice-core-3.5.2.2/solenv/bin/modules/installer/epmfile.pm 
> line 43
> ... checking environment variables ...
>
> ########################################################
> make_installer.pl, version 1.0
> Product list file: openoffice.lst
> Taking setup script from solver
> Unpackpath: /tmp
> Compiler: unxlngx6
> Product: LibreOffice
> BuildID: 202
> Build: OOO350
> No minor set
> Product version
> Installpath: /home/andy/tmp/lib/libreoffice
> Package format: native
> Not calling epm
> No file stripping
> Unzip ARCHIVE files
> Languages:
>       en-US
> ########################################################
> ... checking required files ...
> ...... searching zip ...
>       Found: /usr/bin/zip
> ... analyzing openoffice.lst ... 
> ... reading include paths ...
> ... analyzing script: 
> /home/andy/libreoffice-core-3.5.2.2/solver/unxlngx6.pro/bin/setup_osl.ins ... 
> ... analyzing directories ... 
> ... analyzing files ... 
> ... analyzing scpactions ... 
> ... analyzing shortcuts ... 
> ... analyzing unix links ... 
> ... analyzing profile ... 
> ... analyzing profileitems ... 
> ... analyzing modules ... 
> ------------------------------------
> ... languages en-US ... 
> ... analyzing files ...
> ERROR: The following files could not be found: 
> ERROR: File not found: dict-af.oxt
> ERROR: File not found: dict-an.oxt
> ERROR: File not found: dict-ar.oxt
> ERROR: File not found: dict-be.oxt
> ERROR: File not found: dict-bg.oxt
> ERROR: File not found: dict-bn.oxt
> ERROR: File not found: dict-br.oxt
> ERROR: File not found: dict-ca.oxt
> ERROR: File not found: dict-cs.oxt
> ERROR: File not found: dict-da.oxt
> ERROR: File not found: dict-de.oxt
> ERROR: File not found: dict-el.oxt
> ERROR: File not found: dict-en.oxt
> ERROR: File not found: dict-es.oxt
> ERROR: File not found: dict-et.oxt
> ERROR: File not found: dict-fr.oxt
> ERROR: File not found: dict-gd.oxt
> ERROR: File not found: dict-gl.oxt
> ERROR: File not found: dict-gu.oxt
> ERROR: File not found: dict-he.oxt
> ERROR: File not found: dict-hi.oxt
> ERROR: File not found: dict-hr.oxt
> ERROR: File not found: dict-hu.oxt
> ERROR: File not found: dict-it.oxt
> ERROR: File not found: dict-ku-TR.oxt
> ERROR: File not found: dict-lt.oxt
> ERROR: File not found: dict-lv.oxt
> ERROR: File not found: dict-ne.oxt
> ERROR: File not found: dict-nl.oxt
> ERROR: File not found: dict-no.oxt
> ERROR: File not found: dict-oc.oxt
> ERROR: File not found: dict-pl.oxt
> ERROR: File not found: dict-pt.oxt
> ERROR: File not found: dict-pt-pt.oxt
> ERROR: File not found: dict-ro.oxt
> ERROR: File not found: dict-ru.oxt
> ERROR: File not found: dict-si.oxt
> ERROR: File not found: dict-sk.oxt
> ERROR: File not found: dict-sl.oxt
> ERROR: File not found: dict-sr.oxt
> ERROR: File not found: dict-sv.oxt
> ERROR: File not found: dict-sw.oxt
> ERROR: File not found: dict-te.oxt
> ERROR: File not found: dict-th.oxt
> ERROR: File not found: dict-uk.oxt
> ERROR: File not found: dict-vi.oxt
> ERROR: File not found: dict-zu.oxt
> ERROR: File not found: shared_en-US.zip
> ERROR: File not found: sbasic_en-US.zip
> ERROR: File not found: scalc_en-US.zip
> ERROR: File not found: schart_en-US.zip
> ERROR: File not found: sdatabase_en-US.zip
> ERROR: File not found: sdraw_en-US.zip
> ERROR: File not found: simpress_en-US.zip
> ERROR: File not found: smath_en-US.zip
> ERROR: File not found: swriter_en-US.zip
> ... cleaning the output tree ...
> ... removing directory /tmp/ooopackaging/i_68521333840723 ...
>
> **************************************************
> ERROR: ERROR: Missing files
> in function: remove_Files_Without_Sourcedirectory
> **************************************************
>
> **************************************************
> ERROR: Saved logfile: /tmp/LibreOffice//logging/en-US/log_OOO350_en-US.log
> **************************************************
> Sun Apr  8 00:18:21 2012 (00:02 min.)
> Failed to install:  at 
> /home/andy/libreoffice-core-3.5.2.2/solenv/bin/ooinstall line 120.
> make[1]: *** [install] Error 255
> make[1]: Leaving directory `/home/andy/libreoffice-core-3.5.2.2'
> make: *** [source-env-and-recurse] Error 2
> andy@eccles:~/libreoffice-core-3.5.2.2$
>
> So it looks to me like I need to download some dictionaries or language
> files or something. There is a libreoffice-translations-3.5.2.2.tar.xz
> and a libreoffice-dictionaries-3.5.2.2.tar.xz but none of them contain
> a README or an INSTALL file or anything that gives any hint what you're
> supposed to do with them. Fernando, what tarball did you download? What
> directory were you in when you ran autogen.sh? Did you download any
> other language packs or localisation files? If so, what did you do with
> them?
>
> Andy

These are good news, Andrew!

Downloaded all files:

download_files () {
mkdir -vp /home/fernando/sshfs/blfs/libreoffice/src-3.5.2.2 &&
pushd /home/fernando/sshfs/blfs/libreoffice/src-3.5.2.2 &&
for app in core dictionaries help translations
do
    for arch_asc in "" .asc
    do
        wget -c 
http://download.documentfoundation.org/libreoffice/src/3.5.2/libreoffice-${app}-3.5.2.2.tar.xz${arch_asc}
 &&
        wget -c 
http://download.documentfoundation.org/libreoffice/src/3.5.2/libreoffice-${app}-3.5.2.2.tar.xz${arch_asc}.md5
 &&
        md5sum -c libreoffice-${app}-3.5.2.2.tar.xz${arch_asc}.md5
    done &&
    gpg --verify libreoffice-${app}-3.5.2.2.tar.xz${arch_asc} 
libreoffice-${app}-3.5.2.2.tar.xz
done
unset app arch_asc
popd
}

Uncompress all in a $TMPDIR/$BUILDIR

      tar -xf libreoffice-core-3.5.2.2.$COMP_EXT                    \
                                -C $TMPDIR/$BUILDDIR )              &&
      tar -xf libreoffice-dictionaries-3.5.2.2.$COMP_EXT            \
                                -C $TMPDIR/$BUILDDIR )              &&
      tar -xf libreoffice-translations-3.5.2.2.$COMP_EXT            \
                                -C $TMPDIR/$BUILDDIR )              &&
      tar -xf libreoffice-help-3.5.2.2.$COMP_EXT                    \
                                -C $TMPDIR/$BUILDDIR )              &&

Enter core directory

      cd $TMPDIR/$BUILDDIR/libreoffice-core-3.5.2.2                &&
      ln -sv -f ../libreoffice-help-3.5.2.2/helpcontent2 .         &&
      ln -sv -f ../libreoffice-dictionaries-3.5.2.2/dictionaries . &&
      ln -sv -f ../libreoffice-translations-3.5.2.2/translations . &&

      ./autogen.sh  ... &&

      ./download &&

      make -j1 &&

      make install &&
      ln -svf libreoffice-3.5.2.2 /opt/libreoffice &&

      # Links to executables
      for appl in sbase scalc sdraw simpress smath soffice spadmin swriter
      do
          ln -v -s -f \
              /opt/libreoffice/lib/libreoffice/program/$appl /usr/bin
      done &&

      # Icons
      pushd sysui/desktop/icons                              &&
      install -v -m755 -d /usr/share/icons/{hicolor,locolor} &&
      cp -r -v hicolor/* /usr/share/icons/hicolor            &&
      cp -r -v locolor/* /usr/share/icons/locolor            &&
      popd                                                   &&

      # Desktop Menu Entries
      pushd /opt/libreoffice-3.5.2.2/lib/libreoffice/share/xdg &&
      for appl in *.desktop
      do
          sed -i -e 's/libreoffice35-//'        $appl &&
          sed -i -e 's/libreoffice3.5/soffice/' $appl &&
          sed -i -e 's/Icon=soffice-/Icon=/'    $appl
      done &&
      sed -i 's@soffice-printeradmin@spadmin@' printeradmin.desktop &&
      cp -v *.desktop /usr/share/applications &&
      update-desktop-database &&
      popd &&

      ln -sv -f ../icons/hicolor/32x32/apps/calc.png  \
                        /usr/share/pixmaps/scalc.png &&
      sed -i -e 's/Icon=calc/Icon=scalc/'             \
                /usr/share/applications/calc.desktop &&

-- 
[]s,
Fernando
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to