I need help building interpendent RPMs

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

 



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

--
fedora-extras-list mailing list
fedora-extras-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-extras-list

[Index of Archives]     [Fedora General Discussion]     [Fedora Art]     [Fedora Docs]     [Fedora Package Review]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite Backpacking]     [KDE Users]

  Powered by Linux