Hi Keith,

On 2/17/20 5:01 PM, Keith N. McKenna wrote:
In a previous thread
(https://lists.apache.org/thread.html/r4bf950b61077b8fb320de7c257d6ffacbcbf42cd2bdf643c3be7b617%40%3Cdev.openoffice.apache.org%3E)
it was mentioned that a restructuring of the AOO build Guides would be a
good idea.

I am starting this thread as a place where people can discuss ideas of
what this my look like. For reference the current Build Guide is here:
https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO.

This should be a wide ranging discussion that leads to clearer
instructions to be able to build AOO; especially for new volunteers.

Regards
Keith N. McKenna


Here are my notes on building AOO 4.2 on Ubuntu 18 LTS 64-bit VM
Started with a minimal desktop install.

Again, If anyone spots unneeded dependencies please let us know.

**** Begin ****

# comments for background info that don't need to be included.

# make sure there are no spaces after the backslash if you copy/paste.
# I tried to put these in a better order :)
# I also used the system ant instead of downloading it like I did with CentOS 7.

install dependencies:

sudo apt-get install \
ant \
autoconf \
bison \
ccache \
g++ \
gcc \
git \
gperf \
fakeroot \
flex \
junit4 \
libarchive-zip-perl \
libcups2-dev \
libfontconfig1-dev \
libfreetype6-dev \
libgconf2-dev \
libghc-gio-dev \
libgtk2.0-dev \
libgstreamer1.0-0 \
libidl-dev \
liborbit2-dev \
libpam0g-dev \
libssl-dev \
libwww-perl \
libxaw7-dev \
libxml-parser-perl \
libxrandr-dev \
openjdk-8-jdk \
patch


# I use a directory /home/<user>/sources to store source I download.
# update as needed
cd ~/sources
download dmake, unpack, and change into directory
$ wget https://github.com/jimjag/dmake/archive/dmake-4.12.3.tar.gz
$ tar xvf dmake-4.12.3.tar.gz
$ cd dmake-dmake-4.12.3/
$ pwd
/home/<user>/sources/dmake-dmake-4.12.3

# I needed to use sudo for the make install so I split these up.
build and install dmake
$ ./configure --prefix=/usr/local;
$ sudo make install

change back to ~/sources
cd ..
download epm, unpack, and change into directory
$ wget https://github.com/jimjag/epm/archive/epm-4.4.2.tar.gz
$ tar xvf epm-4.4.2.tar.gz
$ cd epm-epm-4.4.2

build and install epm
$ ./configure --prefix=/usr/local --enable-aoo;
$ sudo make install

get unowinreg.dll
from <path-to>/aoo/main
$ wget -O external/unowinreg/unowinreg.dll https://tools.openoffice.org/unowinreg_prebuild/680/unowinreg.dll

configure the build
$ autoconf

$ ./configure \
--enable-category-b \
--enable-bundled-dictionaries \
--enable-dbgutil \
--with-package-format="installed" \
--with-rat-scan \
--enable-gio \
--disable-gnome-vfs

from main
$ ./bootstrap

$ source LinuxX86-64Env.Set.sh

# I used time because I wanted to see how long the build took.
# I also use 2 cores this time but that's also all this VM has configured.
# so it may be why it didn't make much difference.

this is the big moment!! time to build the office...
change into the install set directory.
$ cd instsetoo_native
$ time build --all -P2 -- -P2

***********************************************************
Successful packaging process!
***********************************************************
    copying log file to /<path-to>/aoo/main/instsetoo_native/unxlngx6/Apache_OpenOffice_SDK/installed/install/log/log_AOO450_en-US.log
stopping log at Mon Feb 24 08:13:56 2020

Multiprocessing build is finished
Maximal number of processes run: 2

real    842m45.535s
user    1069m43.491s
sys    142m18.526s

# At 14 hours 2 processes didn't do me that much better.

**** End ****

Other notes:
When I start the office I keep getting this error.
If I select No=ignore things seem to keep working.

Error: assertion failed!
From File <path-to>/aoo/main/vcl/unx/gtk/a11y/atkwrapper.cxx at Line 874
Abort ? (Yes=abort / No=ignore / Cancel=core dump)

Please let me know if you have any questions.

Carl


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org

Reply via email to