Recompile/Rebuilding Apache and PHP with MySQL support.

Hamish lists at subvs.co.uk
Thu Oct 20 10:38:00 CEST 2005


On Wednesday 19 October 2005 19:25, Yomiit wrote:
> 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
>
Hi Yomit
Although there may be a better way to do it, I usually just edit my 
ombtool.conf like so:

@install ${loc}mysql-4.VERSION.NUMBER
@forcere ${altloc}apache-1.3.31-2.2.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_php_mysql \
       --with=mod_ssl
@forcere ${loc}php-4.3.9-2.2.2 \
       --with=zlib \
       --with=gdbm \
       --with=gettext \
       --with=imap \
       --with=openldap \
       --with=pear \
       --with=xml \
       --with=dom \
       --with=ssl \
       --with=mysql \
       --with=mbstring

Obmtool will not re-install packages that are already installed (and have 
@install), but will always reinstall ones with @forcere. Just do that and it 
takes about 10 minutes. 
I suppose you could also just rebuild the rpms with /kolab/bin/openpkg rpm, 
but I have not tried this yet.
Hope that helps,
Hamish
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.kolab.org/pipermail/users/attachments/20051020/e65fd1e9/attachment.sig>


More information about the users mailing list