[Libreoffice] Building LibreOffice in Ubuntu Maverick

surenspost at gmail.com surenspost at gmail.com
Sat Oct 30 14:01:29 PDT 2010


Hi,

Have successfully completed a build on Ubuntu 10.10. Thanks to a lot
of guys from IRC and mailing list for helping out :)

My earlier builds were taking very long times and were failing for one
reason or other. I decided to try out --with-system-libs ( another
suggestion from IRC) and it worked out quite well.After a few tries,
this was my autogen.sh command
./autogen.sh --with-system-libs --with-num-cpus=5 --without-junit
--disable-kde --with-lucene-core-jar=/usr/share/java/lucene-core-2.9.2.jar
--with-lucene-analyzers-jar=/usr/share/java/lucene-analyzers-2.9.2.jar
--with-saxon-jar=/usr/share/java/saxonb-9.0.jar --without-agg

There were few issues
1) Issue with the lpsolve system library alone as the library in the
ubunu repository were not new enough. Tried to replace the native
liblpsolve55.{a,o} with the ones in lpsolve_5.5.zip from $loroot/src.
This fixed the issue.
2) Installed lucene libs from synaptic and supply that for the
autogen.sh when it complains. Its likely to complain since I had
specified to use system libs
3) Install saxonb and not saxon from apt.
4) Native ubuntu version of agg was old for autogen.sh. so disabled it
from build.
5) autogen.sh also complained for few more missing system libs, but
just installing them via apt fixed the issues.

Make and dev-install steps went through without any issues.

But when I try to run make dev-install again in the rawbuild
directory, it could not do so because of these errors -
http://libreoffice.pastebin.com/g2rJn2bR. Figured out from the
ooinstall perl script that script dies if it could not copy. There is
no check if the file or symlink already exists.
<snip file:ooinstall perl script>
797         copy ("$sourcepath", "$destdir$destination") || die "Can't
copy file: $sourcepath -> $destdir$destination $!";
</snip>

So is the rawbuild directory meant only for first time builds ? if so
how to do successive builds ? Please do point me to any wiki pages if
these are already answered there.

Thanks in advance :)

-- 
regards,
Suren


More information about the LibreOffice mailing list