Help for Build DEB and/or RPM Packages

Michael Stahl mst at libreoffice.org
Tue Jun 1 10:59:08 UTC 2021


On 31/05/2021 05.18, siqin wrote:
> Hi All.
> 
> I am want to build LibreOffice on Ubuntu 20.10.


> ./configure: line 40704: cd: ../share/ant/bin: No such file or directory
> ./configure: line 40704: cd: ../share/ant/bin: No such file or directory
> ./configure: line 40704: cd: ../share/ant/bin: No such file or directory
> ./configure: line 40704: cd: ../share/ant/bin: No such file or directory
> 
> .....
> 
> Did I miss something?

probably it's the "$SED" invocation in this loop in configure.ac?

         while test -h "$ANT"; do
             a_cwd=`pwd`
             a_basename=`basename "$ANT"`
             a_script=`ls -l "$ANT" | $SED "s/.*${a_basename} -> //g"`
             cd "`dirname "$ANT"`"
             cd "`dirname "$a_script"`"
             ANT="`pwd`"/"`basename "$a_script"`"
             cd "$a_cwd"
         done

probably it's better to use "readlink -f" there, except that it won't 
work on macOS.


More information about the LibreOffice mailing list