fhanau / Efficient-Compression-Tool

Fast and effective C++ file optimizer
Apache License 2.0
596 stars 41 forks source link

another linux build failure #35

Closed dotru3 closed 7 years ago

dotru3 commented 7 years ago

build aborts with: make -C libpng/ -f scripts/makefile.gcc CC="gcc" CFLAGS="-Ofast -std=gnu11 -fsigned-char -DPNG_USER_CONFIG -Wno-macro-redefined" libpng.a make[1]: Entering directory /tmp/Efficient-Compression-Tool-0.8.2/src/libpng' make[1]: scripts/makefile.gcc: No such file or directory make[1]: *** No rule to make targetscripts/makefile.gcc'. Stop. make[1]: Leaving directory `/tmp/Efficient-Compression-Tool-0.8.2/src/libpng' make: *** [libpng] Error 2

platform: ubuntu 14.04.5 lts, gcc-6.3

best regards

tssajo commented 7 years ago

@dotru3 See this for the solution: https://github.com/fhanau/Efficient-Compression-Tool/issues/32

Basically this is what you need to do:

tar xf v0.8.tar.gz && cd Efficient-Compression-Tool-0.8/src && git clone https://github.com/glennrp/libpng.git && cd ..
dotru3 commented 7 years ago

thanks a lot tssajo, that solved it. didn't read #32 , my bad.