Notwithstanding other Debian problems, I had one problem with sudo apt-get build-dep libreoffice
- libxml2-dev
was mangled. A simple re-install ( used Synaptic ) took care of the problem.
What you have to realize is every system is different when it comes to what is installed & what needs to be installed. I have successfully built LO on two different systems now - Mint18 & Xubuntu. Each had its own set of circumstances. There are many more hills to climb after this step.
A possible solution is to reload libmysqlclient-dev
& libmysqlclient18
. Here is another difference. On Mint18 I use a newer libmysqlclient-dev
which requires libmysqlclient20
.
Did you run sudo apt-get update
before you started? This may also help.
Also, it is not a good idea to ignore problems at this stage. They will bite you later.
Edit 5/26/17:
LO Build on Debian 8.6
As every system is different, here is the basis for the build:
AMD 3.2 4 core; 1tb – WD Blue; 4gb mem
Debian 8.6
MariaDB 10 installed
Internet connection – DSL 3.0 allowed (shared) – wireless usb connection
Time consumed (about 8 ½ hours) does not include the 3+ hours spent with Debian defficiencies needing correction to proceed or backups. (This time was interspersed in the overall process).
Steps taken:
Insert:
deb-src http://http.debian.net/debian/ jessie main
into /etc/apt/sources.list
sudo apt install libkrb5-dev (for Kerberos 5 error) downloading
sudo apt-get install git libegl1-mesa-dev downloading
Install ‘Graphviz’ - use Synaptic downloading
sudo apt-get update downloading
sudo apt-get build-dep libreoffice downloading Corrected mangled file & re-run
More downloading:
sudo apt-get install git libgsf-1-dev libperl-dev libarchive-zip-perl javacc gperf python-dev bison flex ant doxygen libegl1-mesa-dev libkrb5-dev
git clone git://anongit.freedesktop.org/libreoffice/core libreoffice Lots of downloading
cd libreoffice
./autogen.sh
PROBLEM occurred- * WARNING : no suitable nasm (Netwide Assembler) found for internal jpeg-turbo
Installed nasm using Synaptic
Re-ran ./autogen.sh and all OK this time
Finally:
make
First (and only) error 94 minutes into compile. Segmentation fault. Have had this on other builds. Just restarted make
. I believe this has to do with memory and other things running.
Actual compile ran for about 3 hours & 18 minutes using 100% of three of the cores with the fourth core running between 10-100% at times. Memory was running typically between 40-75% but high enough at times to use the swap file.
Once a good compile is achieved there are still many optional choices to make. One is an IDE. I use KDevelop but also have Eclipse which supposedly works with this. Currently use Eclipse for Java Base report creation/development.
This is the third complete build I’ve done (all on Ubuntu based systems) and the one with the least problems. I took notes on past problems and incorporated them here which may explain less problems.
Result: