关于编译resin的错误处理。

不知道什么时候开始,resin4就无法编译

错误1:aclocal: couldn’t open directory `m4′: No such file or directory

[root@datanode2 resin-pro-4.0.36]# make
CDPATH=”${ZSH_VERSION+.}:” && cd . && aclocal -I m4
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = “en.UTF-8”
are supported and installed on your system.
perl: warning: Falling back to the standard locale (“C”).
aclocal: couldn’t open directory `m4′: No such file or directory
make: *** [aclocal.m4] Error 1

处理办法在resin目录下建立m4目录。

mkdir m4

问题解决。

错误2:Makefile.in not found

[root@datanode2 resin-pro-4.0.36]# make
cd . && automake –foreign –ignore-deps
configure.ac:1568: required file `../pro/modules/c/src/Makefile.in’ not found
configure.ac:1568: required file `../pro/modules/c/src/resin/Makefile.in’ not found
configure.ac:1568: required file `../pro/modules/c/src/resinssl/Makefile.in’ not found
make: *** [Makefile.in] Error 1

解决办法:
mkdir ../pro
cp -r modules ../pro/

 

以上2个错误应该跟新版的resin没有多大关系,不过可能是我的编译器比较旧吧。

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.