maxima 5.26.0 Build Failure on FreeBSD



Thomas D. Dean wrote:
>   uname -a
> FreeBSD P9X79.tddhome 9.0-STABLE FreeBSD 9.0-STABLE #0: Wed Jan  4
> 14:16:41 PST 2012     tomdean at P9X79.tddhome:/usr/src/sys/GENERIC  amd64
>
> # ./configure --with-clisp
> ...
>
> # make
> ...
> Making all in info
> pattern=`printf "\r$"` ;  bad_files=`find . -name '*.texi' -print |
> xargs /usr/bin/grep -E -l -e "$pattern"` ;  [ -z  "$bad_files" ] || (
> echo "WARNING: The following files have DOS-style EOLs: $bad_files" ;
> echo "Run /doc/info/fix_crlf to fix the problem." )
> *** Error code 1
>
> Stop in /usr/home/tomdean/Math/Maxima/maxima-5.26.0/doc/info.
> *** Error code 1
>
> Stop in /usr/home/tomdean/Math/Maxima/maxima-5.26.0/doc/info.
> *** Error code 1
>
> Stop in /usr/home/tomdean/Math/Maxima/maxima-5.26.0/doc.
> *** Error code 1
>
> Stop in /usr/home/tomdean/Math/Maxima/maxima-5.26.0.
>
> Tom Dean

This is a well-known error which has been present since ages and is basically
harmless. You can do
make -i install
and you will get a working system. Perhaps some slight problems in the
documentation.
The main cause of the problem is that the scripts which build the
documentation have been tuned for gnu sed, and don't work with freebsd
sed. I have mailed about that the FreeBSD maintainer (who provided a
working patch for the sed rules) and Robert Dodier. I don't remember
having seen an answer from RD, i thought the problem was solved. If necessary
i can try to recover the patch and post it here.


-- 
Michel Talon