SlideShare a Scribd company logo
1
openSUSE.Asia Summit October 21-22, 2017
How to build LibreOffice
on your desktop
Masataka KONDO
LibreOffice Japanese Team
October 22nd
, 2017
2
openSUSE.Asia Summit October 21-22, 2017
Self Introduction : Who am I
3
openSUSE.Asia Summit October 21-22, 2017
Activities in the Team
Used to be QA Coordinator of OpenOffice.org Japanese
Team (2003-2004)
Join LibreOffice Activities from Sep. 2012
Staff : Mar. 2014 -
4
openSUSE.Asia Summit October 21-22, 2017
I Come from...
I live in Kakamigahara City ( 各務原市 ), Gifu Pref.
City’s name called “Hard to Read It”.
There is Military Airdrome used by JASDF.
(JASDF Gifu Air Base)
Also, there are many aircraft manufacturing companies
e.g. Kawasaki Heavy Industries
5
openSUSE.Asia Summit October 21-22, 2017
The Map
6
openSUSE.Asia Summit October 21-22, 2017
Example : Colorful Prototype ships “Viper Zero”
7
openSUSE.Asia Summit October 21-22, 2017
My Hobby
About 20 years of experience in Photography.
12 years passed since I had started to use Digital SLR
8
openSUSE.Asia Summit October 21-22, 2017
Introduction : Why we try to build it
As I wrote in the Abstract, Building LibreOffice
yourself is a first step of Development activity.
9
openSUSE.Asia Summit October 21-22, 2017
Build makes the software more active
For the Community :
Many persons join their activities e.g. development.
Increase the number of users
For you :
Skill up to use software, with complehending it.
Get skill to finding and fixing bugs.
And experience with new features, new software...
10
openSUSE.Asia Summit October 21-22, 2017
Another Reason : Just suitable for you
Recent version (e.g. 5.4.x) uses GTK3
Old version, such as 5.0.x TDF build was not used GTK3
Self Build
TDF Distributed
11
openSUSE.Asia Summit October 21-22, 2017
Next step : LibreOffice Online (LOOL), and so on
To build LOOL, building LibreOffice core is needed.
As improving LOOL, It might become much popular.
Advanced : LibreOffice for Mobile Devices
Android version’s source code is integrated.
On mac OS, for iOS will be able to build in the future.
12
openSUSE.Asia Summit October 21-22, 2017
On other environments
Shortly I’m going to introduce how to build
LibreOffice on Windows or mac OS.
13
openSUSE.Asia Summit October 21-22, 2017
On Windows system
There are some examples introduced in Japanese
Sometime talked on local “Study Parties” of LibreOffice
You need Microsoft’s Account to get VS2013 Community.
To get older versions becomes difficult than before.
And Cygwin is also need to build it.
To setup environment is much harder than others.
The hardest system, maybe.
Finishing setup the environment must be almost finished.
14
openSUSE.Asia Summit October 21-22, 2017
On macOS
See TDF Development Wiki.
First, you must install Xcode from App Store.
Using “LODE” environment is the easiest way.
Unfortunately, Current version is not finished cause of building
“firebird” sub block.
15
openSUSE.Asia Summit October 21-22, 2017
Linux is the most popular, the easiest...
You have already used it, haven’t you?
Popular distributions are recommended.
openSUSE is one of recommended distribution, of course!!
16
openSUSE.Asia Summit October 21-22, 2017
Case 1 : on openSUSE
Tutorial written in TDF wiki will lead you to success
easily on openSUSE.
Complementally how to use “Zypper” for
openSUSE beginners or other distributions users.
17
openSUSE.Asia Summit October 21-22, 2017
Read the wiki first
Open wiki.documentfoundation.org/Development/BuildingOnLinux
18
openSUSE.Asia Summit October 21-22, 2017
Read the wiki...
Run “Zypper” shown as below :
And cloning source tree, autogen.sh will complete suitable
settings.
Do not forget to install “git”.
% zypper si -d LibreOffice
% git clone git://anongit.freedesktop.org/libreoffice/core core
% zypper in git
19
openSUSE.Asia Summit October 21-22, 2017
Is it all, really?
Yes! It is just all procedure
(1) % zypper si -d libreoffice
(2) % ./autogen.sh
(3) % make build
You need only enough time to compile all of the source
I recommend you to sleep while make build
Next morning, you will get new one, probably.
20
openSUSE.Asia Summit October 21-22, 2017
If OS installation is not “Completed”.
“Incomplete install” may lead you to troubles
I had encountered the trouble without Gnome/KDE.
I want to use “Cinnamon” first...
Zypper will help you to install libraries needed.
For users not use openSUSE usually ;
Its option “search” (shorten “se”) shows package name
And it shows also already installed or not yet.
21
openSUSE.Asia Summit October 21-22, 2017
Example : “zypper search”
./autogen.sh is stoped not installed cups library.
% ./autogen.sh
....(snip)----
configure: error: Could not find CUPS. Install libcups2-dev or cups-devel
Error running configure at ./autogen.sh lin 293.
% zypper se cups-devel
S | Name | Summary | Type
--+--------------------+----------------------------------+--------
| cups-devel | Development Environment for CUPS | package
| libgnomecups-devel | GNOME CUPS library | package
22
openSUSE.Asia Summit October 21-22, 2017
In case of Ubuntu etc.
This procedure is important on next case.
23
openSUSE.Asia Summit October 21-22, 2017
In case of Ubuntu etc.
This procedure is important on next case.
24
openSUSE.Asia Summit October 21-22, 2017
I think it may be strange…! ?
On openSUSE, we can use zypper both as installation
command, package search command, etc.
We use on Debian or Ubuntu, “apt-get” as an installation tool.
What is package search command on their systems?
Use “apt-cache” as package search command.
Installation and Search commands have each different
command name. It may be difficult for beginners, I think.
25
openSUSE.Asia Summit October 21-22, 2017
Case 2 : on Linux Mint
The Case of “Does not run dependency Script”.
Install some libraries manually, and you can get
more experience and interest about the software.
26
openSUSE.Asia Summit October 21-22, 2017
Cinnamon / Mate may cause troubles to setup
Build dependency correction procedure does not work
Similar trouble on openSUSE caused when I ignored to
install Gnome/KDE environment.
Linux Mint :
Based on Ubuntu (there’s also Debian based one)
Cinnamon, or Mate is standard desktop environment
You can also choose KDE, Xfce version
How to solve :
Install libraries manually, in each time when autogen.sh
stopped.
27
openSUSE.Asia Summit October 21-22, 2017
What is the advantage to know that case
You can know what library needed by configure script.
You can advise preciously when other beginners encounter
their similar trouble.
“Rubber-Stump” experiences don’t make you better
I’m going to show the procedure step by step.
28
openSUSE.Asia Summit October 21-22, 2017
(Cinnamon version only) : There is not “aclocal”
“aclocal” has dependency between with autotool
You must “autotools-dev” first, and you can install “automake”
include “aclocal”.
Mate version has “aclocal”, you will encounter this trouble on
Cinnamon version only.
$ sudo apt-get install autotools-dev
$ sudo apt-get install automake
29
openSUSE.Asia Summit October 21-22, 2017
Run autogen.sh again and again...
Script’s stops show you what library insufficient.
- libcups2-dev
- libfontconfig1-dev
Library’s names are ase able to search with Web or apt-
cache.
$ sudo apt-get install libcups2-dev
$ sudo apt-get install libfontconfig1-dev
30
openSUSE.Asia Summit October 21-22, 2017
C++ compiler is not installed
You can use gcc, but some environment is not installed g++
at the first time.
Install It.
$ sudo apt-get install g++
31
openSUSE.Asia Summit October 21-22, 2017
OpenJDK is recommended
Of course you can install Oracle JDK
You must add PPA repository to install it.
You can also choose option “--without-java”.
I recommend to install OpenJDK
$ sudo apt-get install openjdk-8-jdk
32
openSUSE.Asia Summit October 21-22, 2017
Insufficient libraries / binaries (1)
28 libraries / binaries to complete autogen.sh
I’m going to show below and next page.
- gperf
- doxygen
- libxslt1-dev
- xsltproc
- libxml2-utils
- python3-dev
- python-dev
$ sudo apt-get install gperf
$ sudo apt-get install doxygen
...(snip)...
33
openSUSE.Asia Summit October 21-22, 2017
Kerberos library is needed (from 16.4)
Linux Mint 18.x are based Ubuntu 16.4 or 17.4 (current)
Libraries for Kerberos is needed.
This note was vanished in TDF wiki
But it remains in Japanese translated wiki.
We need two packages shown below:
- comerr-dev
- libkrb5-dev
$ sudo apt-get install comerr-dev
$ sudo apt-get install libkrb5-dev
34
openSUSE.Asia Summit October 21-22, 2017
Insufficient libraries / binaries (2)
Continue from the previous page.
- libx11-dev
- libxt-dev
- libxext-dev
- libxrender-dev
- libxrandr-dev
- libgtk-3-dev
- libdbus-glib-1-dev
- libgtk2.0-dev
$ sudo apt-get install libx11-dev
$ sudo apt-get install libxt-dev
...(snip)...
35
openSUSE.Asia Summit October 21-22, 2017
This is the rest 3 packages to finish script
OpenGL and build tool, test tool.
- libglew-dev
- ant
- junit4
$ sudo apt-get install libglew-dev
$ sudo apt-get install ant
$ sudo apt-get install junit4
36
openSUSE.Asia Summit October 21-22, 2017
Script was finished, but build will fail
You need one additional package to build LibreOffice
Script’s warning also resolve.
- nasm
- libgcrypt11-dev
$ sudo apt-get install nasm
$ sudo apt-get install libgcrypt11-dev
37
openSUSE.Asia Summit October 21-22, 2017
Tips building on Linux Mint
You can finish script with installation packages manually.
I recommend write what package needed
38
openSUSE.Asia Summit October 21-22, 2017
Conclusion
One night of experience will change your life.
Enjoy it!
39
openSUSE.Asia Summit October 21-22, 2017
Continue better habits for your life
You need only enough time to build it.
Only a few hours with current machines.
I’m sorry about Arm architectures, evaluation board, etc.
You must get “good sleep” for your health.
40
openSUSE.Asia Summit October 21-22, 2017
Demo :
41
All text and image content in this document is licensed under the Creative Commons Attribution-Share Alike 3.0 License
(unless otherwise specified). "LibreOffice" and "The Document Foundation" are registered trademarks. Their respective logos
and icons are subject to international copyright laws. The use of these therefore is subject to the trademark policy.
openSUSE.Asia Summit October 21-22, 2017
Let’s try. Good Luck!

More Related Content

PDF
Minicurso de Vagrant
PPTX
First steps to docker
PPTX
The challenge of application distribution - Introduction to Docker (2014 dec ...
PPTX
Docker 101
PPTX
Docker 101
PDF
Docker and Puppet — Puppet Camp L.A. — SCALE12X
PDF
Docker 활용법: dumpdocker
PDF
Vagrant and docker
Minicurso de Vagrant
First steps to docker
The challenge of application distribution - Introduction to Docker (2014 dec ...
Docker 101
Docker 101
Docker and Puppet — Puppet Camp L.A. — SCALE12X
Docker 활용법: dumpdocker
Vagrant and docker

What's hot (20)

ODP
Docker. Micro services for lazy developers
PPTX
Container sig#1 ansible-container
PDF
Introduction to Docker, December 2014 "Tour de France" Bordeaux Special Edition
PDF
About docker in GDG Seoul
PDF
Docker 原理與實作
PPTX
Docker workshop
PDF
Tech Talk - Vagrant
PDF
Docker 初探,實驗室中的運貨鯨
PPTX
Vagrant step-by-step guide for Beginners
PDF
Vagrant-Binding JUG Dortmund
PDF
Puppet Camp Chicago 2014: Docker and Puppet: 1+1=3 (Intermediate)
PDF
Docker 0.11 at MaxCDN meetup in Los Angeles
PDF
Docker puppetcamp london 2013
PDF
Docker Tips And Tricks at the Docker Beijing Meetup
PPTX
How to manage Microsoft Azure with open source
PDF
Introduction to Docker, December 2014 "Tour de France" Edition
PDF
Introduction to docker
PPTX
Docker basics 30_01_21.ppx
PDF
當專案漸趕,當遷移也不再那麼難 (Ship Your Projects with Docker EcoSystem)
PDF
Apt get no more let Vagrant, Puppet and Docker take the stage
Docker. Micro services for lazy developers
Container sig#1 ansible-container
Introduction to Docker, December 2014 "Tour de France" Bordeaux Special Edition
About docker in GDG Seoul
Docker 原理與實作
Docker workshop
Tech Talk - Vagrant
Docker 初探,實驗室中的運貨鯨
Vagrant step-by-step guide for Beginners
Vagrant-Binding JUG Dortmund
Puppet Camp Chicago 2014: Docker and Puppet: 1+1=3 (Intermediate)
Docker 0.11 at MaxCDN meetup in Los Angeles
Docker puppetcamp london 2013
Docker Tips And Tricks at the Docker Beijing Meetup
How to manage Microsoft Azure with open source
Introduction to Docker, December 2014 "Tour de France" Edition
Introduction to docker
Docker basics 30_01_21.ppx
當專案漸趕,當遷移也不再那麼難 (Ship Your Projects with Docker EcoSystem)
Apt get no more let Vagrant, Puppet and Docker take the stage
Ad

Viewers also liked (10)

PDF
Write your story with open source
PDF
LibreOffice: The Office Suite with Mixing Bowl Culture
PDF
Make It Better Together: コミュニティを主体としたLibreOffice翻訳 / : Community-centered Lib...
PDF
How to build LibreOffice on your desktop (日本語版)
ODP
State of CJK issues of LibreOffice (LibreOffice miniconf)
ODP
LibreOffice Conference 2017 report
PDF
Esoteric, Obfuscated, Artistic Programming in Ruby
PDF
CPUから見たG1GC
PDF
JVM上で動くPython処理系実装のススメ
PPTX
JEP280: Java 9 で文字列結合の処理が変わるぞ!準備はいいか!? #jjug_ccc
Write your story with open source
LibreOffice: The Office Suite with Mixing Bowl Culture
Make It Better Together: コミュニティを主体としたLibreOffice翻訳 / : Community-centered Lib...
How to build LibreOffice on your desktop (日本語版)
State of CJK issues of LibreOffice (LibreOffice miniconf)
LibreOffice Conference 2017 report
Esoteric, Obfuscated, Artistic Programming in Ruby
CPUから見たG1GC
JVM上で動くPython処理系実装のススメ
JEP280: Java 9 で文字列結合の処理が変わるぞ!準備はいいか!? #jjug_ccc
Ad

Similar to How to build LibreOffice on your desktop (20)

PDF
LinUx KDE guide
PDF
Reverse Engineering in Linux - The tools showcase
PDF
Php mysql-tutorial-en
PDF
Building an Open Source iOS app: lessons learned
PDF
Lightweight Virtualization: LXC containers & AUFS
PDF
Beautiful Bash: Let's make reading and writing bash scripts fun again!
PPTX
Guide to open suse 13.2 by mustafa rasheed abass & abdullah t. tua'ama..super...
PDF
Ci For The Web 2.0 Guy Or Gal
ODP
Building For Mer
PDF
PDF
PPTX
2nd
PPTX
2nd
PDF
Understanding ScratchX Extensions with JavaScript
PDF
Writing native Linux desktop apps with JavaScript
PDF
A Newbie’s Initiation To Linux
ODP
Some wonderful Linux softwares for daily use
PDF
codemotion-docker-2014
PDF
A "Box" Full of Tools and Distros
LinUx KDE guide
Reverse Engineering in Linux - The tools showcase
Php mysql-tutorial-en
Building an Open Source iOS app: lessons learned
Lightweight Virtualization: LXC containers & AUFS
Beautiful Bash: Let's make reading and writing bash scripts fun again!
Guide to open suse 13.2 by mustafa rasheed abass & abdullah t. tua'ama..super...
Ci For The Web 2.0 Guy Or Gal
Building For Mer
2nd
2nd
Understanding ScratchX Extensions with JavaScript
Writing native Linux desktop apps with JavaScript
A Newbie’s Initiation To Linux
Some wonderful Linux softwares for daily use
codemotion-docker-2014
A "Box" Full of Tools and Distros

More from Masataka Kondo (20)

PDF
OSC的 今日からはじめるランニング入門 (2023/1/28 E-2)
PDF
現地ロケのうらばなし : OSC 2023 Online / Osaka LT
PDF
OSC名古屋LT 「現地取材の重要性」
PDF
OSC名古屋2022 F-1 中小企業診断士試験・「経営情報システム」科目から見る...
PDF
OSC2022 Online / Spring 「Linuxで活用するデジタルカメラと写真撮影術」
PDF
OSC福岡 : 航空機写真撮影入門 in FUKUOKA
PDF
200回記念LT : OSCオンライン開催を通じた地方創生への試み
PDF
LT : 中小企業診断士試験を受験してきました
PDF
湾岸ミッドナイト勉強会 Overnight Cruise
PDF
エクストリームからはじめる四国観光案内
PDF
湾岸ミッドナイト勉強会 NordSchleife
PDF
OSC2021北海道企画!去年のプレゼン資料
PDF
LibreOfficeで学ぶオープンソースと経済学
PDF
Collabora Officeを使ってみよう
PDF
"Cheap Mac" S'il-vouz plaît?
PDF
Linux desktop on_personalwork
PDF
LT : 25年越しの約束
PDF
湾岸ミッドナイト勉強会 FLAT OUT
PDF
Excelとの違いを意識することから始めるCalc入門
PDF
湾岸ミッドナイト勉強会 in 大阪
OSC的 今日からはじめるランニング入門 (2023/1/28 E-2)
現地ロケのうらばなし : OSC 2023 Online / Osaka LT
OSC名古屋LT 「現地取材の重要性」
OSC名古屋2022 F-1 中小企業診断士試験・「経営情報システム」科目から見る...
OSC2022 Online / Spring 「Linuxで活用するデジタルカメラと写真撮影術」
OSC福岡 : 航空機写真撮影入門 in FUKUOKA
200回記念LT : OSCオンライン開催を通じた地方創生への試み
LT : 中小企業診断士試験を受験してきました
湾岸ミッドナイト勉強会 Overnight Cruise
エクストリームからはじめる四国観光案内
湾岸ミッドナイト勉強会 NordSchleife
OSC2021北海道企画!去年のプレゼン資料
LibreOfficeで学ぶオープンソースと経済学
Collabora Officeを使ってみよう
"Cheap Mac" S'il-vouz plaît?
Linux desktop on_personalwork
LT : 25年越しの約束
湾岸ミッドナイト勉強会 FLAT OUT
Excelとの違いを意識することから始めるCalc入門
湾岸ミッドナイト勉強会 in 大阪

Recently uploaded (20)

PDF
medical staffing services at VALiNTRY
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PPTX
ai tools demonstartion for schools and inter college
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PDF
Digital Strategies for Manufacturing Companies
PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
PPTX
history of c programming in notes for students .pptx
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PDF
Understanding Forklifts - TECH EHS Solution
PPTX
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PDF
PTS Company Brochure 2025 (1).pdf.......
PDF
System and Network Administraation Chapter 3
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
medical staffing services at VALiNTRY
Upgrade and Innovation Strategies for SAP ERP Customers
ai tools demonstartion for schools and inter college
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
Digital Strategies for Manufacturing Companies
wealthsignaloriginal-com-DS-text-... (1).pdf
history of c programming in notes for students .pptx
2025 Textile ERP Trends: SAP, Odoo & Oracle
How to Choose the Right IT Partner for Your Business in Malaysia
Understanding Forklifts - TECH EHS Solution
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
Design an Analysis of Algorithms II-SECS-1021-03
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PTS Company Brochure 2025 (1).pdf.......
System and Network Administraation Chapter 3
Adobe Illustrator 28.6 Crack My Vision of Vector Design
Design an Analysis of Algorithms I-SECS-1021-03
Wondershare Filmora 15 Crack With Activation Key [2025

How to build LibreOffice on your desktop

  • 1. 1 openSUSE.Asia Summit October 21-22, 2017 How to build LibreOffice on your desktop Masataka KONDO LibreOffice Japanese Team October 22nd , 2017
  • 2. 2 openSUSE.Asia Summit October 21-22, 2017 Self Introduction : Who am I
  • 3. 3 openSUSE.Asia Summit October 21-22, 2017 Activities in the Team Used to be QA Coordinator of OpenOffice.org Japanese Team (2003-2004) Join LibreOffice Activities from Sep. 2012 Staff : Mar. 2014 -
  • 4. 4 openSUSE.Asia Summit October 21-22, 2017 I Come from... I live in Kakamigahara City ( 各務原市 ), Gifu Pref. City’s name called “Hard to Read It”. There is Military Airdrome used by JASDF. (JASDF Gifu Air Base) Also, there are many aircraft manufacturing companies e.g. Kawasaki Heavy Industries
  • 5. 5 openSUSE.Asia Summit October 21-22, 2017 The Map
  • 6. 6 openSUSE.Asia Summit October 21-22, 2017 Example : Colorful Prototype ships “Viper Zero”
  • 7. 7 openSUSE.Asia Summit October 21-22, 2017 My Hobby About 20 years of experience in Photography. 12 years passed since I had started to use Digital SLR
  • 8. 8 openSUSE.Asia Summit October 21-22, 2017 Introduction : Why we try to build it As I wrote in the Abstract, Building LibreOffice yourself is a first step of Development activity.
  • 9. 9 openSUSE.Asia Summit October 21-22, 2017 Build makes the software more active For the Community : Many persons join their activities e.g. development. Increase the number of users For you : Skill up to use software, with complehending it. Get skill to finding and fixing bugs. And experience with new features, new software...
  • 10. 10 openSUSE.Asia Summit October 21-22, 2017 Another Reason : Just suitable for you Recent version (e.g. 5.4.x) uses GTK3 Old version, such as 5.0.x TDF build was not used GTK3 Self Build TDF Distributed
  • 11. 11 openSUSE.Asia Summit October 21-22, 2017 Next step : LibreOffice Online (LOOL), and so on To build LOOL, building LibreOffice core is needed. As improving LOOL, It might become much popular. Advanced : LibreOffice for Mobile Devices Android version’s source code is integrated. On mac OS, for iOS will be able to build in the future.
  • 12. 12 openSUSE.Asia Summit October 21-22, 2017 On other environments Shortly I’m going to introduce how to build LibreOffice on Windows or mac OS.
  • 13. 13 openSUSE.Asia Summit October 21-22, 2017 On Windows system There are some examples introduced in Japanese Sometime talked on local “Study Parties” of LibreOffice You need Microsoft’s Account to get VS2013 Community. To get older versions becomes difficult than before. And Cygwin is also need to build it. To setup environment is much harder than others. The hardest system, maybe. Finishing setup the environment must be almost finished.
  • 14. 14 openSUSE.Asia Summit October 21-22, 2017 On macOS See TDF Development Wiki. First, you must install Xcode from App Store. Using “LODE” environment is the easiest way. Unfortunately, Current version is not finished cause of building “firebird” sub block.
  • 15. 15 openSUSE.Asia Summit October 21-22, 2017 Linux is the most popular, the easiest... You have already used it, haven’t you? Popular distributions are recommended. openSUSE is one of recommended distribution, of course!!
  • 16. 16 openSUSE.Asia Summit October 21-22, 2017 Case 1 : on openSUSE Tutorial written in TDF wiki will lead you to success easily on openSUSE. Complementally how to use “Zypper” for openSUSE beginners or other distributions users.
  • 17. 17 openSUSE.Asia Summit October 21-22, 2017 Read the wiki first Open wiki.documentfoundation.org/Development/BuildingOnLinux
  • 18. 18 openSUSE.Asia Summit October 21-22, 2017 Read the wiki... Run “Zypper” shown as below : And cloning source tree, autogen.sh will complete suitable settings. Do not forget to install “git”. % zypper si -d LibreOffice % git clone git://anongit.freedesktop.org/libreoffice/core core % zypper in git
  • 19. 19 openSUSE.Asia Summit October 21-22, 2017 Is it all, really? Yes! It is just all procedure (1) % zypper si -d libreoffice (2) % ./autogen.sh (3) % make build You need only enough time to compile all of the source I recommend you to sleep while make build Next morning, you will get new one, probably.
  • 20. 20 openSUSE.Asia Summit October 21-22, 2017 If OS installation is not “Completed”. “Incomplete install” may lead you to troubles I had encountered the trouble without Gnome/KDE. I want to use “Cinnamon” first... Zypper will help you to install libraries needed. For users not use openSUSE usually ; Its option “search” (shorten “se”) shows package name And it shows also already installed or not yet.
  • 21. 21 openSUSE.Asia Summit October 21-22, 2017 Example : “zypper search” ./autogen.sh is stoped not installed cups library. % ./autogen.sh ....(snip)---- configure: error: Could not find CUPS. Install libcups2-dev or cups-devel Error running configure at ./autogen.sh lin 293. % zypper se cups-devel S | Name | Summary | Type --+--------------------+----------------------------------+-------- | cups-devel | Development Environment for CUPS | package | libgnomecups-devel | GNOME CUPS library | package
  • 22. 22 openSUSE.Asia Summit October 21-22, 2017 In case of Ubuntu etc. This procedure is important on next case.
  • 23. 23 openSUSE.Asia Summit October 21-22, 2017 In case of Ubuntu etc. This procedure is important on next case.
  • 24. 24 openSUSE.Asia Summit October 21-22, 2017 I think it may be strange…! ? On openSUSE, we can use zypper both as installation command, package search command, etc. We use on Debian or Ubuntu, “apt-get” as an installation tool. What is package search command on their systems? Use “apt-cache” as package search command. Installation and Search commands have each different command name. It may be difficult for beginners, I think.
  • 25. 25 openSUSE.Asia Summit October 21-22, 2017 Case 2 : on Linux Mint The Case of “Does not run dependency Script”. Install some libraries manually, and you can get more experience and interest about the software.
  • 26. 26 openSUSE.Asia Summit October 21-22, 2017 Cinnamon / Mate may cause troubles to setup Build dependency correction procedure does not work Similar trouble on openSUSE caused when I ignored to install Gnome/KDE environment. Linux Mint : Based on Ubuntu (there’s also Debian based one) Cinnamon, or Mate is standard desktop environment You can also choose KDE, Xfce version How to solve : Install libraries manually, in each time when autogen.sh stopped.
  • 27. 27 openSUSE.Asia Summit October 21-22, 2017 What is the advantage to know that case You can know what library needed by configure script. You can advise preciously when other beginners encounter their similar trouble. “Rubber-Stump” experiences don’t make you better I’m going to show the procedure step by step.
  • 28. 28 openSUSE.Asia Summit October 21-22, 2017 (Cinnamon version only) : There is not “aclocal” “aclocal” has dependency between with autotool You must “autotools-dev” first, and you can install “automake” include “aclocal”. Mate version has “aclocal”, you will encounter this trouble on Cinnamon version only. $ sudo apt-get install autotools-dev $ sudo apt-get install automake
  • 29. 29 openSUSE.Asia Summit October 21-22, 2017 Run autogen.sh again and again... Script’s stops show you what library insufficient. - libcups2-dev - libfontconfig1-dev Library’s names are ase able to search with Web or apt- cache. $ sudo apt-get install libcups2-dev $ sudo apt-get install libfontconfig1-dev
  • 30. 30 openSUSE.Asia Summit October 21-22, 2017 C++ compiler is not installed You can use gcc, but some environment is not installed g++ at the first time. Install It. $ sudo apt-get install g++
  • 31. 31 openSUSE.Asia Summit October 21-22, 2017 OpenJDK is recommended Of course you can install Oracle JDK You must add PPA repository to install it. You can also choose option “--without-java”. I recommend to install OpenJDK $ sudo apt-get install openjdk-8-jdk
  • 32. 32 openSUSE.Asia Summit October 21-22, 2017 Insufficient libraries / binaries (1) 28 libraries / binaries to complete autogen.sh I’m going to show below and next page. - gperf - doxygen - libxslt1-dev - xsltproc - libxml2-utils - python3-dev - python-dev $ sudo apt-get install gperf $ sudo apt-get install doxygen ...(snip)...
  • 33. 33 openSUSE.Asia Summit October 21-22, 2017 Kerberos library is needed (from 16.4) Linux Mint 18.x are based Ubuntu 16.4 or 17.4 (current) Libraries for Kerberos is needed. This note was vanished in TDF wiki But it remains in Japanese translated wiki. We need two packages shown below: - comerr-dev - libkrb5-dev $ sudo apt-get install comerr-dev $ sudo apt-get install libkrb5-dev
  • 34. 34 openSUSE.Asia Summit October 21-22, 2017 Insufficient libraries / binaries (2) Continue from the previous page. - libx11-dev - libxt-dev - libxext-dev - libxrender-dev - libxrandr-dev - libgtk-3-dev - libdbus-glib-1-dev - libgtk2.0-dev $ sudo apt-get install libx11-dev $ sudo apt-get install libxt-dev ...(snip)...
  • 35. 35 openSUSE.Asia Summit October 21-22, 2017 This is the rest 3 packages to finish script OpenGL and build tool, test tool. - libglew-dev - ant - junit4 $ sudo apt-get install libglew-dev $ sudo apt-get install ant $ sudo apt-get install junit4
  • 36. 36 openSUSE.Asia Summit October 21-22, 2017 Script was finished, but build will fail You need one additional package to build LibreOffice Script’s warning also resolve. - nasm - libgcrypt11-dev $ sudo apt-get install nasm $ sudo apt-get install libgcrypt11-dev
  • 37. 37 openSUSE.Asia Summit October 21-22, 2017 Tips building on Linux Mint You can finish script with installation packages manually. I recommend write what package needed
  • 38. 38 openSUSE.Asia Summit October 21-22, 2017 Conclusion One night of experience will change your life. Enjoy it!
  • 39. 39 openSUSE.Asia Summit October 21-22, 2017 Continue better habits for your life You need only enough time to build it. Only a few hours with current machines. I’m sorry about Arm architectures, evaluation board, etc. You must get “good sleep” for your health.
  • 40. 40 openSUSE.Asia Summit October 21-22, 2017 Demo :
  • 41. 41 All text and image content in this document is licensed under the Creative Commons Attribution-Share Alike 3.0 License (unless otherwise specified). "LibreOffice" and "The Document Foundation" are registered trademarks. Their respective logos and icons are subject to international copyright laws. The use of these therefore is subject to the trademark policy. openSUSE.Asia Summit October 21-22, 2017 Let’s try. Good Luck!