Open HyperDevil opened 4 years ago
@HyperDevil say:
'configure.ac' or 'configure.in'
This project does not use autotools. For build, a Makefile is used.
What are you talking about?
The instruction on this repo on how to install mozjpeg was not using cmake, so they are wrong.
@HyperDevil say:
so they are wrong.
Not. You are wrong. And the instructions are correct for v.3.2.
See also https://github.com/mozilla/mozjpeg/blob/master/BUILDING.md
I used installation instruction from main readme.md file:
sudo apt-get install build-essential autoconf pkg-config nasm libtool
git clone https://github.com/mozilla/mozjpeg.git
cd mozjpeg
autoreconf -fiv
./configure --with-jpeg8
make
sudo make install
And I also got error message like @HyperDevil described on autoreconf -fiv
command. All other command after that also not worked as well.
I used installation instruction from main readme.md file:
sudo apt-get install build-essential autoconf pkg-config nasm libtool git clone https://github.com/mozilla/mozjpeg.git cd mozjpeg autoreconf -fiv ./configure --with-jpeg8 make sudo make install
And I also got error message like @HyperDevil described on
autoreconf -fiv
command. All other command after that also not worked as well.
i got the same error; are you done it?
I also got the autoreconf -fiv error, turns out mozjpeg removed support for autotools, see https://github.com/mozilla/mozjpeg/issues/314#issuecomment-441228794
You have to use cmake, so this is what I did:
git clone https://github.com/mozilla/mozjpeg.git
cd mozjpeg
mkdir build && cd build
cmake -G"Unix Makefiles" --with-jpeg8 ../
make
sudo make install
cd ../..
git clone https://github.com/danielgtaylor/jpeg-archive.git
cd jpeg-archive/
make
sudo make install
Pieter is right. I specifically came here to document the same solution. One detail: you'll also need libpng-dev which is not available by default on an out-of-the-box Mint 20.1
Trying to install mozjpeg on ubuntu 19.10, but unable to generate ./configure file.