Recompile/Rebuilding Apache and PHP with MySQL support.
Fabio Pietrosanti
lists at pietrosanti.it
Fri Oct 21 18:08:09 CEST 2005
My configuration include also mysql along with gdlib and other packages.
*cd /kolab/RPM/SRC*
Download all needed packages:
*wget -b **ftp://ftp.openpkg.org/release/2.4/SRC/jpeg-6b-2.4.0.src.rpm*
*wget -b **ftp://ftp.openpkg.org/release/2.4/SRC/png-1.2.8-2.4.0.src.rpm*
*wget -b
**ftp://ftp.openpkg.org/release/2.4/SRC/freetype-2.1.9-2.4.0.src.rpm*
*wget -b **ftp://ftp.openpkg.org/release/2.4/SRC/gd-2.0.33-2.4.0.src.rpm*
*wget -b **ftp://ftp.openpkg.org/release/2.4/SRC/gnupg-1.4.1-2.4.0.src.rpm*
*wget -b
**ftp://ftp.openpkg.org/release/2.4/SRC/PLUS/libmcrypt-2.5.7-2.4.0.src.rpm*
*wget -b
**ftp://ftp.openpkg.org/release/2.4/SRC/PLUS/mhash-0.9.2-2.4.0.src.rpm*
*wget -b
**ftp://ftp.openpkg.org/release/2.4/SRC/PLUS/tcpwrappers-7.6k-2.4.0.src.rpm*
*wget -b
**ftp://ftp.openpkg.org/release/2.4/SRC/PLUS/syslog-ng-1.6.8-2.4.0.src.rpm*
*wget -b
**ftp://ftp.openpkg.org/release/2.4/SRC/snmp-5.2.1-2.4.0.src.rpm *
<ftp://ftp.openpkg.org/release/2.4/SRC/snmp-5.2.1-2.4.0.src.rpm>
*wget -b
**ftp://ftp.openpkg.org/release/2.4/SRC/PLUS/snmpdx-0.2.10-2.4.0.src.rpm*
*wget -b
**ftp://ftp.openpkg.org/release/2.4/SRC/PLUS/mrtg-2.12.1-2.4.0.src.rpm*
*wget -b
**ftp://ftp.openpkg.org/release/2.4/SRC/rrdtool-1.2.10-2.4.0.src.rpm*
*wget -b
**ftp://ftp.openpkg.org/release/2.4/SRC/coreutils-5.2.1-2.4.0.src.rpm*
*wget -b
**ftp://ftp.openpkg.org/release/2.4/SRC/openssh-4.1p1-2.4.0.src.rpm*
*wget -b
**ftp://ftp.openpkg.org/release/2.4/SRC/traceroute-1.4a12-2.4.0.src.rpm*
*wget -b **ftp://ftp.openpkg.org/release/2.4/SRC/mysql-4.1.12-2.4.0.src.rpm*
*wget -b
**ftp://ftp.openpkg.org/release/2.4/SRC/PLUS/mhonarc-2.6.12-2.4.0.src.rp*m
<ftp://ftp.openpkg.org/release/2.4/SRC/PLUS/mhonarc-2.6.12-2.4.0.src.rpm>
*wget -b
**ftp://ftp.openpkg.org/current/SRC/nagios-1.2-20050919.src.rpm*
<ftp://ftp.openpkg.org/current/SRC/nagios-1.2-20050802.src.rpm>
*wget -b
**ftp://ftp.openpkg.org/current/SRC/inetutils-1.4.2-20050910.src.rpm*
<ftp://ftp.openpkg.org/current/SRC/inetutils-1.4.2-20041129.src.rpm>
*wget -b **ftp://ftp.openpkg.org/current/SRC/fping-2.4b2to-20041011.src.rpm*
*wget -b
**ftp://ftp.openpkg.org/release/2.4/SRC/pkgconfig-0.17.2-2.4.0.src.rpm*
*wget -b
**ftp://ftp.openpkg.org/release/2.4/SRC/libart-2.3.16-2.4.0.src.rpm*
*wget -b
ftp://ftp.openpkg.org/release/2.4/SRC/PLUS/imaputils-2002-2.4.0.src.rpm*
*wget -b
ftp://ftp.openpkg.org/release/2.4/SRC/PLUS/openvpn-2.0-2.4.0.src.rpm*
*wget -b ftp://ftp.openpkg.org/release/2.4/SRC/libtool-1.5.18-2.4.0.src.rpm*
Create the new obmtool config files with packages that need to be installed:
*cp obmtool.conf obmtool-custom.conf*
*vim obmtool-custom.conf*
*
remove all kolab packages definitions ( @install )
*
change loc definition to ./
o
*loc='./'*
* add to obmtool.conf
*@install ${loc}jpeg-6b-2.4.0*
*@install ${loc}png-1.2.8-2.4.0*
*@install ${loc}freetype-2.1.9-2.4.0*
*@install ${loc}gd-2.0.33-2.4.0*
*@install ${loc}gnupg-1.4.1-2.4.0*
*@install ${loc}libmcrypt-2.5.7-2.4.0*
*@install ${loc}mhash-0.9.2-2.4.0*
*@install ${loc}tcpwrappers-7.6k-2.4.0*
*@install ${loc}snmp-5.2.1-2.4.0*
*@install ${loc}snmpdx-0.2.10-2.4.0*
*@install ${loc}mrtg-2.12.1-2.4.0*
*@install ${loc}pkgconfig-0.17.2-2.4.0*
*@install ${loc}libart-2.3.16-2.4.0*
*@install ${loc}rrdtool-1.2.10-2.4.0*
*@install ${loc}coreutils-5.2.1-2.4.0*
*@install ${loc}openssh-4.1p1-2.4.0*
*@install ${loc}traceroute-1.4a12-2.4.0*
*@install ${loc}mysql-4.1.12-2.4.0*
*@install ${loc}fping-2.4b2to-20041011*
*@install ${loc}nagios-1.2-20050919.src.rpm
<ftp://ftp.openpkg.org/current/SRC/nagios-1.2-20050802.src.rpm>*
*@install ${loc}inetutils-1.4.2-20050910*
*@install ${loc}syslog-ng-1.6.8-2.4.0*
*@install ${loc}imaputils-2002-2.4.0*
*@install ${loc}mhonarc-2.6.12-2.4.0*
*@install ${loc}openvpn-2.0-2.4.0*
*@install ${loc}libtool-1.5.18-2.4.0*
*
Remove and force recompilation of apache with the following
modules: mysql, bzip2, freetype, gd, mcrypt, mhash, snmp
@wiperpm ${altloc}apache-1.3.33-2.4.1_kolab
*@forcein ${altloc}apache-1.3.33-2.4.1_kolab \*
*--with=mod_auth_ldap --with=mod_dav \*
*--with=mod_php --with=mod_php_zlib \*
*--with=mod_php_gdbm --with=mod_php_gettext \*
*--with=mod_php_imap --with=mod_php_openldap \*
*--with=mod_php_xml --with=mod_php_dom \*
*--with=mod_ssl --with=mod_php_mbstring \*
*/--with=mod_php_mysql --with=mod_php_bzip2 \/*
/*--with=mod_php_freetype --with=mod_php_gd \*/
/*--with=mod_php_mcrypt --with=mod_php_mhash \*/
/*--with=mod_php_snmp*/
/*@wiperpm ${altloc}php-4.3.11-2.4.0_kolab*/
*@forcein ${altloc}php-4.3.11-2.4.0_kolab \*
*--with=zlib --with=gdbm \*
*--with=gettext --with=imap \*
*--with=openldap --with=pear \*
*--with=xml --with=dom \*
*--with=ssl --with=mbstring \*
/*--with=mcrypt --with=mysql \*/
/*--with=mbzip2 --with=gd \*/
/*--with=snmp*/
*
Now start the packages compilation
*./obmtool -c obmtool-conf.conf kolab*
This was a cut&paste from the installation document i'm writing that
will be released after the infrastructure on which i'm working will go
in production.
Fabio
Yomiit ha scritto:
> Hi All,
>
> I have being able to successfully installed Kolab2 and everything works
> ok. I am trying to setup Horde as described on Kolab website, but do not
> know how to go about recompiling Apache and PHP with MySQL support
> without having to rebuild Kolab.
>
> I would appreciate if I can get pointers on how to achieve this.
>
> Many Thanks
>
> --
> Yomiit
>
> _______________________________________________
> Kolab-users mailing list
> Kolab-users at kolab.org
> https://kolab.org/mailman/listinfo/kolab-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kolab.org/pipermail/users/attachments/20051021/e72d6d24/attachment.html>
More information about the users
mailing list