phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] property/tutorials/property/examples install.ap...


From: Sigurd Nes
Subject: [Phpgroupware-cvs] property/tutorials/property/examples install.ap...
Date: Mon, 15 Jan 2007 14:58:56 +0000

CVSROOT:        /sources/phpgroupware
Module name:    property
Changes by:     Sigurd Nes <sigurdne>   07/01/15 14:58:56

Modified files:
        tutorials/property/examples: install.apache.sh 

Log message:
        

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/property/tutorials/property/examples/install.apache.sh?cvsroot=phpgroupware&r1=1.2&r2=1.3

Patches:
Index: install.apache.sh
===================================================================
RCS file: 
/sources/phpgroupware/property/tutorials/property/examples/install.apache.sh,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- install.apache.sh   12 Jan 2007 14:13:23 -0000      1.2
+++ install.apache.sh   15 Jan 2007 14:58:55 -0000      1.3
@@ -1,5 +1,5 @@
 #!/bin/bash
-# $Id: install.apache.sh,v 1.2 2007/01/12 14:13:23 sigurdne Exp $ 
+# $Id: install.apache.sh,v 1.3 2007/01/15 14:58:55 sigurdne Exp $ 
 
 #/**
 #  * installscript for APACHE with PHP, LIBXML, XSLT, FREEDTS and EACCELERATOR
@@ -49,8 +49,8 @@
 #  * 
 #  * @var               string PHP, PHPTAR
 #  */
-PHPTAR="php-5.2.tar.gz"
-PHP="php-5.2"
+PHPTAR="php-5.2.0.tar.bz2"
+PHP="php-5.2.0"
 
 #/**
 #  * Name of the MMCACHE tarball e.g turck-mmcache-2.4.6.tar.gz
@@ -67,9 +67,9 @@
 tar -xzf $LIBXSLTAR &&\
 gunzip -c $IMAPTAR | tar xf - &&\
 tar -xzf $APACHETAR &&\
-tar -xzf $PHPTAR &&\
+bunzip2 -c $PHPTAR | tar xvf -&&\
 bunzip2 -c $EACCELERATORTAR | tar xvf -&&\
-#/usr/local/apache2/bin/apachectl stop &&\ #
+#/usr/local/apache2/bin/apachectl stop &&\ 
 cd $FREETDS &&\
 ./configure --prefix=/usr/local/freetds --with-tdsver=7.0 --enable-msdblib\
 --enable-dbmfix --with-gnu-ld --enable-shared --enable-static &&\
@@ -89,25 +89,41 @@
 ./configure &&\
 make &&\
 make install &&\
-cd ../$APACHE &&\
-./configure --with-mpm=prefork --enable-so --enable-deflate --enable-headers 
&&\
+cd ../$APACHE/srclib/apr &&\
+./configure --prefix=/usr/local/apr-httpd/ &&\
+make &&\
+make install &&\
+# Build and install apr-util 1.2
+cd ../apr-util &&\
+./configure --prefix=/usr/local/apr-util-httpd/ 
--with-apr=/usr/local/apr-httpd/ &&\
+make &&\
+make install &&\
+# Configure httpd
+cd ../../ &&\
+./configure --with-apr=/usr/local/apr-httpd/ 
--with-apr-util=/usr/local/apr-util-httpd/\
+ --with-mpm=prefork --enable-so --enable-deflate --enable-headers &&\
 make &&\
 make install &&\
 cd ../$PHP &&\
 export LDFLAGS=-lstdc++ &&\
-make clean &&\
+#make clean &&\ 
 ./configure --with-imap=../imap-2006d --with-sybase-ct=/usr/local/freetds\
  --with-apxs2=/usr/local/apache2/bin/apxs --enable-mail --with-xml --with-xsl\
  --with-zlib --with-pspell --with-jpeg-dir=/usr/lib\
- --with-png-dir=/usr --with-freetype-dir=/usr/lib --with-gd --enable-ftp &&\
- --with-pgsql --enable-shmop --enable-sysvsem --enable-sysvshm &&\
+ --with-png-dir=/usr/lib --with-freetype-dir=/usr/lib --with-gd --enable-ftp\
+ --with-pgsql --with-mysql\
+ --enable-shmop --enable-sysvsem --enable-sysvshm --enable-calendar &&\
 make &&\
 make install &&\
 cd ../$EACCELERATOR &&\
 $PHP_PREFIX/bin/phpize &&\
 ./configure --enable-eaccelerator=shared 
--with-php-config=$PHP_PREFIX/bin/php-config &&\
 make &&\
-make install
+make install &&\
+mkdir /tmp/eaccelerator &&\
+chmod 0777 /tmp/eaccelerator
+
+
 #/usr/local/apache2/bin/apachectl start
 
 # vim: set expandtab :




reply via email to

[Prev in Thread] Current Thread [Next in Thread]