This is what I did in order:
-
Download dependencies using
sudo apt-get build-dep libreoffice
sudo apt-get install libgnome-vfsmm-2.6-dev -
downloaded the source code git clone from the core folder
git clone git://anongit.freedesktop.org/libreoffice/core -
change directory to that folder and then ./autogen.sh
Here is where the error occurs
./autogen.sh: line 1: $’:\r’: command not found
’ ‘–srcdir=/home/kediamanav/Desktop/libreoffice’ ‘–enable-option-checking=fatal’
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type:
- Running LibreOffice build configuration.
configure: error: cannot run /bin/bash ./config.sub
Error running configure at ./autogen.sh line 209.
Please help me with this