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 > > -- > http://linuxfromscratch.org/mailman/listinfo/blfs-support > FAQ: http://www.linuxfromscratch.org/blfs/faq.html > Unsubscribe: See the above information page > -- Nathan Coulson (conathan) ------ Location: British Columbia, Canada Timezone: PST (-8) Webpage: http://www.nathancoulson.com
-- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
