I did a build overnight on a freshly installed Ubuntu 11.04 (32-bit),
Fresh, clean, nothing extra installed.  I had to even apt-get
subversion to get started.

I tried to follow the instructions literally, to find any problems
that might occur.  Obviously the typical engineer will work around
these issues, as I did, but we might want to improve the instructions
in any case:

1) There are many references to Hg repositories when the real code is now in SVN

2) We should add instructions for needed edits to etc/apt/sources.lst
so the various required apt-get's work

3) We should explicitly state that the cwd should be main.  That is
where /configure should be run from.

4) apt-get build-dep openoffice.org was insufficient.  I received
configure errors after that and had to install many packages in
addition

5) I'm not at that machine right now to look up the details, but I had
to copy down what appeared to be a mingw-compiled file from the
website and put it into the externals directory.  I didn't see that
called out in the instructions

6) The bootstrap was pulling down dependencies from Hg.  We need to
get those into SVN or Apache-Extras, right?

But other than that it worked well.  I build on a T60P Thinkpad, 1GB
of Ram, a relatively old machine.  It completed without errors by
morning.

-Rob

On Mon, Sep 5, 2011 at 6:34 PM, Matt Richards <mricha...@gmail.com> wrote:
> My build machine runs Ubuntu 11.04 (Natty) with a 64 bit kernel.
>
> To get the deps needed to build OOo, I used apt-get build-dep on LibreOffice
> package (as this is what Ubuntu is packaged with at this time) I figured
> they're still fairly similar.
> I did need to install the ccache package separately.
>
> I passed configure nothing special (followed the wiki's directions).
>
> Below is roughly what I did to get it building, (I am going from memory
> here. Dug around my command history to see what I did).
>
> svn co ... path/to/source
>
> cd path/to/source
> ./configure
> ./bootstrap
> mkdir  /path/to/ccache/dir
> source ./LinuxX86-64Env.Set.sh
> export CCACHE_DIR="/path/to/ccache/dir"
> ccache -M 2G -F 100000
> export CXX="ccache g++"
> export CC="ccache gcc"
> build -P8 --all (my build box is a Quad Core, with 6 GB Ram)
>
> About an hour later, maybe two. I followed the wiki's instructions to
> confirm my build worked (didn't do a whole lot of testing), and it did.
> These are more some notes, needs some polish before it ends up as
> anything official in my opinion.
>
>
> On Mon, Sep 5, 2011 at 4:51 PM, Rob Weir <robw...@apache.org> wrote:
>
>> On Mon, Sep 5, 2011 at 4:48 PM, Matt Richards <mricha...@gmail.com> wrote:
>> > Now that I've built OpenOffice on Linux with moderate success, I'd like
>> to
>> > lend a helping hand with the documentation side of things. As far as I am
>> > aware, the existing (maybe old now) wiki has been migrated to Apache
>> Infra
>> > (via VM). Does this content need to be moved to the confluence wikis
>> > eventually? I do apologies if this is off topic, there's been so much
>> > discussion going on proving difficult to follow everything all the way
>> > through.
>> >
>>
>> Excellent.  What distro where you using?  And what configure flags?
>>
>> For the sake of this exercise we should probably track, on a wiki page
>> (confluence community wiki is fine) what combinations we're trying and
>> what corrections we'll want to make in the build instructions.
>>
>> It is not clear yet where the build instructions will finally end up
>> living, but we don't need to solve that problem quite yet.
>>
>> -Rob
>>
>
>
>
> --
> --Matt
>

Reply via email to