On Ubuntu 18.04 you need

sudo apt-get install g++ gcc bison flex libarchive-zip-perl libcups2-dev 
libpam0g-dev \
       gperf libfreetype6-dev libxaw7-dev libfontconfig1-dev libxrandr-dev 
patch \
       libgconf2-dev libgnomevfs2-dev ant libgtk2.0-dev junit junit4 libidl-dev 
liborbit2-dev \
       openjdk-8-jdk liblablgl-ocaml-dev

Hope this helps ;)

Regards,
Pedro

> On 01/13/2021 1:48 PM Hao Wang <hao...@live.com> wrote:
> 
>  
> I'm building Open Office 4.1.8 on Ubuntu 18.04.1. I fixed the freetype 
> problem and I'm trying to fix new package missing errors.
> 
> ________________________________
> From: Mechtilde
> Sent: Wednesday, January 13, 2021 7:33 AM
> To: dev@openoffice.apache.org
> Subject: Re: Problem Building OpenOffice
> 
> Hello,
> 
> which version of Ubuntu do you use?
> 
> which branch of AOO do you wnat to build?
> 
> Kind regards
> 
> Mechtilde
> 
> 
> Am 13.01.21 um 14:13 schrieb Hao Wang:
> > Dear OpenOffice Dev Team,
> >
> > I've been trying to build Open Office today, but I couldn't install 
> > freetype2 on my ubuntu machine.
> >
> > When I did a "./configure" in the main folder, I got the following error :
> >
> > checking whether freetype is available... checking for FREETYPE... no
> > configure: error: Package requirements (freetype2 >= 2.0 ) were not met:
> >
> > No package 'freetype2' found
> >
> > Consider adjusting the PKG_CONFIG_PATH environment variable if you
> > installed software in a non-standard prefix.
> >
> > Alternatively, you may set the environment variables FREETYPE_CFLAGS
> > and FREETYPE_LIBS to avoid the need to call pkg-config.
> > See the pkg-config man page for more details.
> >
> > Then I downloaded freetype 2 and installed it into /usr/local/freetype and 
> > added /usr/local/freetype in the .bashrc file , but I got the same error.
> >
> > Best Regards,
> > Hao Wang
> >
> 
> --
> Mechtilde Stehmann
> ## Apache OpenOffice
> ## Freie Office Suite für Linux, MacOSX, Windows und OS/2
> ## Debian Developer
> ## PGP encryption welcome
> ## F0E3 7F3D C87A 4998 2899  39E7 F287 7BBA 141A AD7F

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

Reply via email to