Why online recovery in pgpool is disabled?

Michał Piotrowski mkkp4x4 at gmail.com
Sat Feb 27 21:00:05 UTC 2010


W dniu 27 lutego 2010 21:51 użytkownik Michał Piotrowski
<mkkp4x4 at gmail.com> napisał:
> 2010/2/27 Toshio Kuratomi <a.badger at gmail.com>:
>> Could you please file a bug at bugzilla.redhat.com to make sure trhe
>> maintainer sees the request?
>
> Done
> https://bugzilla.redhat.com/show_bug.cgi?id=569058
>

BTW. I've got one i686 which needs pgpool-recovery.so. When I try to
build package on x86_64 I get this

rpmbuild -bb --clean --target i686 rpmbuild/SPECS/postgresql-pgpo

ol-II.spec
Budowanie dla platform: i686
Budowanie dla i686
Wykonywanie(%prep): /bin/sh -e /var/tmp/rpm-tmp.cPPG89
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd /root/rpmbuild/BUILD
+ rm -rf pgpool-II-2.3.1
+ /usr/bin/gzip -dc /root/rpmbuild/SOURCES/pgpool-II-2.3.1.tar.gz
+ /bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd pgpool-II-2.3.1
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #1 (pgpool.conf.sample.patch):'
Patch #1 (pgpool.conf.sample.patch):
+ /bin/cat /root/rpmbuild/SOURCES/pgpool.conf.sample.patch
+ /usr/bin/patch -s -p0 --fuzz=0
+ exit 0
Wykonywanie(%build): /bin/sh -e /var/tmp/rpm-tmp.b5wI5f
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd pgpool-II-2.3.1
+ CFLAGS='-O2 -g -march=i686'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -march=i686'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -march=i686'
+ export FFLAGS
+ ./configure --host=x86_64-unknown-linux-gnu
--build=x86_64-unknown-linux-gnu -
                                        -target=i686-redhat-linux
--program-prefix= --prefix=/usr --exec-prefix=/usr --b

indir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc
--datadir=/usr/share --incl
                                 udedir=/usr/include --libdir=/usr/lib
--libexecdir=/usr/libexec --localstatedir=
                                                /var
--sharedstatedir=/var/lib --mandir=/usr/share/man
--infodir=/usr/share/info

--with-pgsql-includedir=/usr/include/pgsql
--with-pgsql-lib=/usr/lib/pgsql --di
                                          sable-static --with-pam
--disable-rpath --sysconfdir=/etc/pgpool-II/
checking for x86_64-unknown-linux-gnu-gcc... no
checking for gcc... gcc
checking for C compiler default output file name... configure: error:
C compiler
                 cannot create executables
See `config.log' for more details.

config.log doesn't say anything useful

prefix='/usr'
program_transform_name='s,x,x,'
sbindir='/usr/sbin'
sharedstatedir='/var/lib'
sysconfdir='/etc/pgpool-II/'
target_alias='i686-redhat-linux'

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""

configure: exit 77

Build for x86_64 went fine.

Any hints?

Regards,
Michal


More information about the devel mailing list