casile icon indicating copy to clipboard operation
casile copied to clipboard

Instructions for building from git on Debian

Open felipesanches opened this issue 2 years ago • 2 comments

I had some trouble when trying to build from git master branch.

Such as this error message:

./configure: line 5627: syntax error near unexpected token `5,'
./configure: line 5627: `    AX_PROG_PERL_VERSION(5, , as_fn_error $? "perl interpreter is required" "$LINENO" 5)'

It took me a while to figure out that it meant I needed to apt install autoconf-archive on my fairly new Debian 11 system.

Maybe it could be helpful to mention that I also had to install these other Debian packages:

  • entr
  • epubcheck

When I saw ./configure complaing about the git-warp-time not being available, I instinctively also looked for it on the apt package repos (with apt-cache search but found nothing). Further googling got me to https://crates.io/crates/git-warp-time which then made it obvious to me that this was a rust package. As I am not yet super familiar with rust (even though I had it installed already because I built RuneBender earlier this month), I was not sure which comment to use. It may be useful to mention in the documentation this command:

cargo install --path .

That installed almost rust 200 packages that seem to be needed! I saw that it includes the got-time-warp one. But after it installed everything successfully, I still get the same error message on ./configure:

Screenshot from 2021-07-15 22-10-47

felipesanches avatar Jul 16 '21 01:07 felipesanches