buaazp / zimg

A lightweight and high performance image storage and processing system.
http://zimg.buaa.us
BSD 3-Clause "New" or "Revised" License
2.69k stars 402 forks source link

make报错 #203

Closed zhou7286 closed 6 years ago

zhou7286 commented 6 years ago

按照安装手册安装,前天面所有软件都正常安装,但是在zimg目录下make的时候报错

configure.ac:228: error: possibly undefined macro: m4_argn
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1
configure: error: cannot find install-sh or install.sh in "." "./.." "./../.."
make[1]: Entering directory `/doc/server/soft/zimg/deps/libjpeg-turbo'
make[1]: *** No targets specified and no makefile found.  Stop.
make[1]: Leaving directory `/doc/server/soft/zimg/deps/libjpeg-turbo'
make: *** [deps/libjpeg-turbo/.libs/libjpeg.a] Error 2
buaazp commented 6 years ago

安装一下编译相关的一些软件试试:

pkg-config libtool automake
zhou7286 commented 6 years ago

我刚才已经安装成功,是libjpeg-turbo版本的问题,安装教程中使用的是libjpeg-turbo-1.3.1 但是zimg/deps/目录下带的是libjpeg-turbo-1.5.1,我把deps目录下的1.5.1替换成1.3.1,make就通过了。

buaazp commented 6 years ago

文档确实是年久失修一直没时间更新。

siusn commented 6 years ago

也遇到了这个问题,按照上面说的不行啊

kpld commented 5 years ago

把libjpeg-turbo降级为1.3.1可以编译通过。或者升级为2.0.1,之后修改makefile也可以通过