List Info

Thread: I need help building interpendent RPMs




I need help building interpendent RPMs
country flaguser name
Portugal
2007-03-10 06:25:39
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-listredhat.com
https://www.redhat.com/mailman/listinfo/fedora-extras-
list

Re: I need help building interpendent RPMs
country flaguser name
France
2007-03-10 09:36:03
Mário Gamito a écrit :
> Hi,
> 
> I want to make a Apache-PHP-mod_ssl RPMs.
> 

I don't see (at all) the utility of your work, all this are
already
available in the Core repo (httpd, mod_ssl, php...).

Look at the official SRPM to see a solution.

If you really want apache 1.3, you should search for an old
redhat 7.3
mirror, because apache 2.0 is present is Redhat/Fedora since
redhat 8.0

Remi.

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

Re: I need help building interpendent RPMs
user name
2007-03-12 08:50:35
On Sat, Mar 10, 2007 at 16:36:03 +0100,
  Remi Collet <FedoraFamilleCollet.com>
wrote:
> 
> If you really want apache 1.3, you should search for an
old redhat 7.3
> mirror, because apache 2.0 is present is Redhat/Fedora
since redhat 8.0

I wouldn't suggest going down that route. That was
preselinux and other
configuration details have changed since then. And of course
that version
of apache 1.3 will need to be upgraded.

Before suggesting someone use 1.3, I would like to hear what
they are really
trying to do, to see if there is a better way to accomplish
that task without
having to install apache 1.3.

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

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )