我想安装mod_xsendfile到我的gentoo服务器。
我做了:
cd /usr/local/apache/bin ./apxs -cia /mod_xsendfile.c
并努力工作。
它说:
gcc: /mod_sendfile.c: No such file or directory
但文件在那里!
文件位于/mod_xsendfile.c ,它不属于那里。 您可能指的是当前目录,或者删除斜杠,或者用./ (当前目录)replace斜杠:
cd /usr/local/apache/bin ./apxs -cia mod_xsendfile.c