Re: RPMS for 7.1beta3 being uploaded.
| От | Peter Eisentraut |
|---|---|
| Тема | Re: RPMS for 7.1beta3 being uploaded. |
| Дата | |
| Msg-id | Pine.LNX.4.30.0101161710380.1324-100000@peter.localdomain обсуждение исходный текст |
| Ответ на | Re: RPMS for 7.1beta3 being uploaded. (Lamar Owen <lamar.owen@wgcr.org>) |
| Список | pgsql-hackers |
Lamar Owen writes:
> Likewise, Peter, I'm sure that from your point of view you have good
> reasons -- I'd like to see them as well, for the same reasons as I'd
> like to see Trond's.
Two points of view here:
1. The config.* files were specifically updated because the old ones did
not recognize certain Linux(!) setups correctly. This probably affects
all config.*'s before August 2000. This will simply cause the build to
fail.
2. If you use the %{configure} macro then this will be pointless because
that macro selects the host system type itself:
| %configure \
| CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; \
| CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; \
| FFLAGS="${FFLAGS:-%optflags}" ; export FFLAGS ; \
| %{?__libtoolize:[ -f configure.in ] && %{__libtoolize} --copy --force} ; \
| ./configure %{_target_platform} \\\
...
(This is subtly wrong as well, but that's something for the RPM folks to
deal with.)
So in short, don't do it.
--
Peter Eisentraut peter_e@gmx.net http://yi.org/peter-e/
В списке pgsql-hackers по дате отправления: