yum install gcc
cd /tmp
wget http://developer.axis.com/download/distribution/apps-sys-utils-start-stop-daemon-IR1_9_18-2.tar.gz
tar zxf apps-sys-utils-start-stop-daemon-IR1_9_18-2.tar.gz
cd apps/sys-utils/start-stop-daemon-IR1_9_18-2/
gcc start-stop-daemon.c -o start-stop-daemon
cp start-stop-daemon /usr/local/bin/start-stop-daemon
按照他们官网的安装方法,使用make直接编译会报以下错误:
Makefile:2: /tools/build/Rules.axis: No such file or directory
make: *** No rule to make target `/tools/build/Rules.axis'. Stop.
后来发现里面就一个[size=1em]start-stop-daemon.c文件,于是试着用gcc编译了下,发现可以执行。于是就直接编译了。