Difference between revisions of "Mod fcgid installation"

From Kolmisoft Wiki
Jump to navigationJump to search
(New page: Execute following commands: cd /usr/src/ wget http://www.kolmisoft.com/files/packages/mod_fcgid.1.09.tar.gz tar -xzf mod_fcgid.1.09.tar.gz cd mod_fcgid.1.09 rm -fr Makefile touch...)
 
Line 1: Line 1:




Line 14: Line 13:
  #  Makefile for Apache2
  #  Makefile for Apache2
  #
  #
  builddir    = .
  builddir    = .
  top_dir      = /usr/share/apache2
  top_dir      = /usr/share/apache2
  top_srcdir  = \${top_dir}
  top_srcdir  = \${top_dir}
  top_builddir = \${top_dir}
  top_builddir = \${top_dir}
  VPATH = arch/unix/
  VPATH = arch/unix/
  include \${top_builddir}/build/special.mk
  include \${top_builddir}/build/special.mk
  APXS      = apxs
  APXS      = apxs
  APACHECTL = apachectl
  APACHECTL = apachectl
  EXTRA_CFLAGS = -I\$(builddir)
  EXTRA_CFLAGS = -I\$(builddir)
  #DEFS=-Dmy_define=my_value
  #DEFS=-Dmy_define=my_value
  #INCLUDES=-Imy/include/dir
  #INCLUDES=-Imy/include/dir
  INCLUDES=-I /usr/include/apache2 -I /usr/include/apr-0
  INCLUDES=-I /usr/include/apache2 -I /usr/include/apr-0
  #LIBS=-Lmy/lib/dir -lmylib
  #LIBS=-Lmy/lib/dir -lmylib
  all: local-shared-build
  all: local-shared-build
clean:" >> /usr/src/mod_fcgid.1.09/Makefile


clean:" >> /usr/src/mod_fcgid.1.09/Makefile
  echo -e "\t-rm -f *.o *.lo *.slo *.la" >> /usr/src/mod_fcgid.1.09/Makefile
  echo -e "\t-rm -f *.o *.lo *.slo *.la" >> /usr/src/mod_fcgid.1.09/Makefile
  make install
  make install

Revision as of 20:38, 8 December 2007


Execute following commands:

cd /usr/src/
wget http://www.kolmisoft.com/files/packages/mod_fcgid.1.09.tar.gz
tar -xzf mod_fcgid.1.09.tar.gz
cd mod_fcgid.1.09
rm -fr Makefile
touch Makefile
echo "#
#  Makefile for Apache2
#
builddir     = .
top_dir      = /usr/share/apache2
top_srcdir   = \${top_dir}
top_builddir = \${top_dir}
VPATH = arch/unix/
include \${top_builddir}/build/special.mk
APXS      = apxs
APACHECTL = apachectl
EXTRA_CFLAGS = -I\$(builddir)
#DEFS=-Dmy_define=my_value
#INCLUDES=-Imy/include/dir
INCLUDES=-I /usr/include/apache2 -I /usr/include/apr-0
#LIBS=-Lmy/lib/dir -lmylib
all: local-shared-build
clean:" >> /usr/src/mod_fcgid.1.09/Makefile
echo -e "\t-rm -f *.o *.lo *.slo *.la" >> /usr/src/mod_fcgid.1.09/Makefile
make install
cp /usr/src/mor/apache2-conf/fcgid.conf /etc/apache2/mods-available 
a2enmod fcgid