Обсуждение: ./configure patch needed to build portable SRPMs

Поиск
Список
Период
Сортировка

./configure patch needed to build portable SRPMs

От
Jean-Michel POURE
Дата:
Dear all,

To make a portable SRPM (which would rebuild on any platform) we need the
./configure script to search for  "--with-pgsql-include" variable in
/usr/include and /usr/include/pgsql (without having to specify it).

Otherwise, there will be one SRPM for RedHat and Mandrake and another for SuSE
8.2. Could someone kindly modify the ./configure script?

Cheers,
Jean-Michel Pouré


Re: ./configure patch needed to build portable SRPMs

От
blacknoz@club-internet.fr
Дата:
Dear Jean-Michel,

you could also try something like this:
./configure --with-pgsql-include '/usr/include/pgsql -I /usr/include' ...

in your spec file.

Cheers,

Raphaël

----Message d'origine----
>De: Jean-Michel POURE <jm@poure.com>
>A: <pgadmin-hackers@postgresql.org>
>Sujet: [pgadmin-hackers] ./configure patch needed to build portable SRPMs
>Date: Wed, 10 Sep 2003 15:57:40 +0200
>
>Dear all,
>
>To make a portable SRPM (which would rebuild on any platform) we need the
>../configure script to search for  "--with-pgsql-include" variable in
>/usr/include and /usr/include/pgsql (without having to specify it).
>
>Otherwise, there will be one SRPM for RedHat and Mandrake and another for SuSE
>8.2. Could someone kindly modify the ./configure script?
>
>Cheers,
>Jean-Michel Pouré
>
>
>---------------------------(end of broadcast)---------------------------
>TIP 8: explain analyze is your friend
>
>


Re: ./configure patch needed to build portable SRPMs

От
Jean-Michel POURE
Дата:
Le Mercredi 10 Septembre 2003 20:51, blacknoz@club-internet.fr a écrit :
> ./configure --with-pgsql-include '/usr/include/pgsql -I /usr/include' ...
Thanks!!!


Re: ./configure patch needed to build portable

От
"Adam H. Pendleton"
Дата:
Jean-Michel POURE wrote:
Dear all,

To make a portable SRPM (which would rebuild on any platform) we need the 
./configure script to search for  "--with-pgsql-include" variable in 
/usr/include and /usr/include/pgsql (without having to specify it).

Otherwise, there will be one SRPM for RedHat and Mandrake and another for SuSE 
8.2. Could someone kindly modify the ./configure script?

Cheers,
Jean-Michel Pouré


---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend
 
Attached is a patch that will do what you ask.  Or you can use Raphaël's solution.  :-)

ahp