--- Em sex, 25/3/11, Nathan Coulson <[email protected]> escreveu:
De: Nathan Coulson <[email protected]> Assunto: Re: LibreOffice-3.3.2.2 Para: "BLFS Support List" <[email protected]> Data: Sexta-feira, 25 de Março de 2011, 19:04 On Thu, Mar 24, 2011 at 6:27 PM, Fernando Oliveira <[email protected]> wrote: Hi, Sorry for this long mail. I have just finished building libreoffice-3.3.2.2. Just to clarify, I use fluxbox, so some dependencies had to be built. Almost everything is fine, but I do not know where or how to install dictionaries and hyphenation packs. I have copied some .dic and .aff to ./opt/libreoffice/share/dictionaries/ooo (dictionaries and ooo directories created by me), but none available in swriter in preferences. Help will be much appreciated, please. For the sake of obtaining help, I describe how the package was built. I remember needing the following packages and respective dependencies: 1. Apache Ant-1.8.1, but this would be downloaded (and I believe installed automatically) in the Download phase, so I would mark it as optional 2. Archive::Zip-1.30 (Perl Module) 3. Cups-1.4.5 (I also installed Ghostscript-9.00) 4. Gnome-2.30.2 Platform, not Desktop 5. GStreamer-0.10.25 with GStreamer Base Plug-ins-0.10.25 and GStreamer Good Plug-ins-0.10.17 Following, I write a summary for commands and some comments: #I based on instructions by Andre Keller <ak <at> list.ak.cx> for LibreOffice and BLFS for OpenOffice-3.2.1 # http://osdir.com/ml/blfs-support/2010-11/msg00168.html # http://article.gmane.org/gmane.linux.lfs.beyond.support/42245/match=libreoffice # http://www.linuxfromscratch.org/blfs/view/svn/xsoft/openoffice.html tar -vxzf libreoffice-build-3.3.2.2.tar.gz # I had previously downloaded several of the needed files # Probably, it would be better to define a src directory outside the build one # in the .autogen.sh, following below cp -v *.bz2 /sources/blfs/libreoffice-3.3.2.2/libreoffice-build-3.3.2.2/src cp -v *.gz /sources/blfs/libreoffice-3.3.2.2/libreoffice-build-3.3.2.2/src cp -v *.zip /sources/blfs/libreoffice-3.3.2.2/libreoffice-build-3.3.2.2/src cd libreoffice-build-3.3.2.2 ./autogen.sh --enable-binfilter --enable-cairo --enable-extensions --disable-kde --disable-kde4 --disable-odk --with-git=no --prefix=/opt/libreoffice-3.3.2.2 --sysconfdir=/etc/libreoffice --enable-split-app-modules --with-lang="pt-BR en-US" --with-num-cpus=4 --without-junit 2>&1 | tee ../libreoffice-3.3.2.2-autogen-24.03.2011.log time ./download | tee ../libreoffice-3.3.2.2-download-24.03.2011.log time make -j4 | tee ../libreoffice-3.3.2.2-make-24.03.2011.log # real 160m32.735s # user 213m4.925s # sys 24m40.630s # As root user bin/ooinstall /opt/libreoffice-3.3.2.2 pushd /opt ln -sv libreoffice-3.3.2.2 libreoffice popd cat >> /etc/ld.so.conf << "EOF" # Begin libreoffice addition to /etc/ld.so.conf /opt/libreoffice/ure/lib # End libreoffice addition EOF ldconfig for appl in sbase scalc sdraw simpress smath soffice spadmin swriter do ln -v -sf /opt/libreoffice/program/$appl /usr/bin done pushd build/libreoffice-3.3.2.2/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 # very big build directory: du -shc libreoffice-build-3.3.2.2 # 9,9G libreoffice-build-3.3.2.2 # 9,9G total Again, thanks in advance for any help. []s, Fernando de Oliveira Natal, RN, BRAZIL was that the bootstrap or build setup? (Still experimenting myself, that ooinstall command looks nice, the make dev-install I used symlinked everything back to the build folder) ./configure --prefix=/opt/libre \ --with-num-cpus=4 --with-max-jobs=2 \ --with-package-format=native \ --disable-gconf --disable-gnome-vfs \ --with-junit=/usr/share/junit-4.3.1/junit-4.3.1.jar \ --enable-cairo \ --enable-dbus \ --disable-gconf -- Nathan Coulson (conathan) ------ Location: British Columbia, Canada Timezone: PST (-8) Webpage: http://www.nathancoulson.com It was a build setup with latest stable branch for 3.3.2. I remember trying to use ./configure and having some problem, so a used back the ./autogen.sh following Andre and, if I remember correctly, some site or INSTALL instructions from source code: ./autogen.sh --enable-binfilter --enable-cairo --enable-extensions --disable-kde --disable-kde4 --disable-odk --with-git=no --prefix=/opt/libreoffice-3.3.2.2 --sysconfdir=/etc/libreoffice --enable-split-app-modules --with-lang="pt-BR en-US" --with-num-cpus=4 --without-junit 2>&1 | tee ../libreoffice-3.3.2.2-autogen-24.03.2011.log If I recall correctly, the --with-git=no was a condition for build option. In the bottom of the page you will find the final part of libreoffice-3.3.2.2-autogen-24.03.2011.log file, which states " build type: product build". What I never understood is the "max jobs: '1'", if it is being used "-with-num-cpus=4". But it is sure that the make part correctly used 4 cpus. As may be seen from the log bellow, the main part of necessary build commands are given at the end of .autogen.sh. []s, Fernando de Oliveira Natal, RN, BRAZIL ================================================== Building LibreOffice source: libreoffice-3.3.2.2 apply rules: /sources/blfs/libreoffice-3.3.2.2/libreoffice-build-3.3.2.2/patches/dev300/apply build dir: /sources/blfs/libreoffice-3.3.2.2/libreoffice-build-3.3.2.2/build/libreoffice-3.3.2.2 tools dir: /sources/blfs/libreoffice-3.3.2.2/libreoffice-build-3.3.2.2 src package dir: /sources/blfs/libreoffice-3.3.2.2/libreoffice-build-3.3.2.2/src distro: LibreOfficeLinuxDevel add sections: no widget sets: gtk gcc to use: from system openclipart: no mono bindings: supported mdbtools/access: yes java: yes ooo-install-dir: ooo-3.3 ccache: no icecream: no distcc: no max jobs: '1' cairo: yes build type: product build ooo sources: download tarballs from go-oo.org get externals with: /usr/bin/wget To build run: ./download make bin/ooinstall <path-to-install> This is 'libreoffice-3-3-2' - the stable branch for the 3.3.2 release. Every commit has to be reviewed by three people. If you want to commit more complicated fix for the next 3.3.x release, please use the 'libreoffice-3-3' branch. If you want to build something cool, unstable, and risky, use master. You are not using icecream Consider reading http://www.gnome.org/~michael/blog/icecream.html and configuring with --with-gcc-speedup=icecream You are not using git for the upstream sources. Consider configuring via --with-git
-- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
