Thread: ./configure patch needed to build portable SRPMs
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é
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 > >
Le Mercredi 10 Septembre 2003 20:51, blacknoz@club-internet.fr a écrit : > ./configure --with-pgsql-include '/usr/include/pgsql -I /usr/include' ... Thanks!!!
Jean-Michel POURE wrote:
ahp
Attached is a patch that will do what you ask. Or you can use Raphaël's solution. :-)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
ahp