I need help building interpendent RPMs
Mário Gamito
gamito at gmail.com
Sat Mar 10 12:25:39 UTC 2007
Hi,
I want to make a Apache-PHP-mod_ssl RPMs.
So, it goes like this:
1) In Apache's source tree run:
$ ./configure --prefix=/usr/local/httpd
2) In mod_ssl source tree run:
$ ./configure --with-apache=../apache_1.3.37
--with-crt=/usr/local/ssl/bin/server.crt
--with-key=/usr/local/ssl/bin/server.key
3) In PHP's source tree, run:
$ ./configure --with-mysql=/usr/local/mysql \
--with-pgsql=/usr/local/pgsql \
--with-apache=../apache_1.3.37 \
--with-openssl=/usr/local/ssl \
(etc.)
$ make
$ make install
4) Back to Apache's source tree, run:
$SSL_BASE=../openssl-0.9.8b ./configure --prefix=/usr/local/httpd \
--activate-module=src/modules/php5/libphp5.a \
--enable-module=ssl \
--enable-module=rewrite \
--enable-shared=rewrite \
--enable-module=proxy \
--enable-shared=proxy
$ make
$ make install
Now, the million dollar question:
How do i do this in the RPM building ?
I've tried several ideas, but none of them worked.
Any help would be appreciated.
Warm Regards,
Mário Gamito
More information about the fedora-extras-list
mailing list