$ tar xvfz mod_layout-3.2.tar.gz $ cd mod_layout-3.2 $ make `apxs -q CC` -I`apxs -q INCLUDEDIR` `apxs -q CFLAGS` -c mod_layout.c /bin/sh: apxs: command not found /bin/sh: apxs: command not found /bin/sh: apxs: command not found /bin/sh: -I: command not found make: *** [mod_layout.o] エラー 127 |
APXS=/usr/local/apache/bin/apxs ~~~~~~~~~~~~~~~~~~~~~~ 追加 APACHECTL=/usr/local/apache/bin/apachectl ~~~~~~~~~~~~~~~~~~~~~~ 追加 CC=`$(APXS) -q CC` ~~~~~~~ 修正 INC=-I`$(APXS) -q INCLUDEDIR` `$(APXS) -q CFLAGS` #-DLAYOUT_FILEOWNER_NAME ~~~~~~~ 修正 LD_SHLIB=`$(APXS) -q LDFLAGS_SHLIB` ~~~~~~~ 修正 |
$ make $ su # make install # /usr/local/apache/bin/apachectl restart # exit $ make clean |
LayoutHeader /header.html LayoutFooter /footer.html |