Skip site navigation (1) Skip section navigation (2)

Postgres-XC build error on Fedora 12

From: Devrim GÜNDÜZ <devrim(at)gunduz(dot)org>
To: pgsql-cluster-hackers(at)postgresql(dot)org
Subject: Postgres-XC build error on Fedora 12
Date: 2010-03-31 11:25:39
Message-ID: 1270034739.2285.21.camel@hp-laptop2.gunduz.org (view raw or flat)
Thread:
Lists: pgsql-cluster-hackers
First of all: Thanks everyone who involved in this project.

I'm getting the following on my Fedora 12 box:

make[4]: Leaving directory `/home/devrim/belgeler/postgresqlrpms.org/svn/rpm/redhat/8.4/postgres-xc/F-12/pgxc_v0.9/src/gtm/libpq'
make[4]: Entering directory `/home/devrim/belgeler/postgresqlrpms.org/svn/rpm/redhat/8.4/postgres-xc/F-12/pgxc_v0.9/src/gtm/client'
gcc  -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -fpic -I../../include -D_GNU_SOURCE  -DSO_MAJOR_VERSION=1  -c -o fe-misc.o fe-misc.c
gcc  -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -fpic -I../../include -D_GNU_SOURCE  -DSO_MAJOR_VERSION=1  -c -o fe-connect.o fe-connect.c
gcc  -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -fpic -I../../include -D_GNU_SOURCE  -DSO_MAJOR_VERSION=1  -c -o pqexpbuffer.o pqexpbuffer.c
fe-misc.c: In function 'gtmpqGetInt':
fe-misc.c:228: warning: format '%d' expects type 'int', but argument 3 has type 'size_t'
fe-misc.c: In function 'gtmpqPutInt':
fe-misc.c:262: warning: format '%d' expects type 'int', but argument 3 has type 'size_t'
fe-misc.c: In function 'gtmpqReadData':
fe-misc.c:652: error: 'GTM_Conn' has no member named 'ssl'
fe-misc.c: In function 'gtmpqSocketCheck':
fe-misc.c:934: error: 'GTM_Conn' has no member named 'ssl'
fe-misc.c:934: warning: implicit declaration of function 'SSL_pending'
fe-misc.c:934: error: 'GTM_Conn' has no member named 'ssl'
make[4]: *** [fe-misc.o] Error 1
make[4]: *** Waiting for unfinished jobs....
fe-connect.c: In function 'GTMPQconnectPoll':
fe-connect.c:607: warning: passing argument 5 of 'getsockopt' from incompatible pointer type
/usr/include/sys/socket.h:190: note: expected 'socklen_t * __restrict__' but argument is of type 'size_t *'
fe-connect.c:644: warning: passing argument 3 of 'getsockname' from incompatible pointer type
/usr/include/sys/socket.h:119: note: expected 'socklen_t * __restrict__' but argument is of type 'size_t *'
make[4]: Leaving directory `/home/devrim/belgeler/postgresqlrpms.org/svn/rpm/redhat/8.4/postgres-xc/F-12/pgxc_v0.9/src/gtm/client'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/devrim/belgeler/postgresqlrpms.org/svn/rpm/redhat/8.4/postgres-xc/F-12/pgxc_v0.9/src/gtm'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/devrim/belgeler/postgresqlrpms.org/svn/rpm/redhat/8.4/postgres-xc/F-12/pgxc_v0.9/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/devrim/belgeler/postgresqlrpms.org/svn/rpm/redhat/8.4/postgres-xc/F-12/pgxc_v0.9'
error: Bad exit status from /var/tmp/rpm-tmp.MgRbMC (%build)

FWIW, I'm trying to build RPMs of postgres-xc, and I'll make them public
as soon as we solve all build related issues.

Regards,
-- 
Devrim GÜNDÜZ
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
PostgreSQL RPM Repository: http://yum.pgrpms.org
Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
http://www.gunduz.org  Twitter: http://twitter.com/devrimgunduz

Responses

pgsql-cluster-hackers by date

Next:From: Pavan DeolaseeDate: 2010-03-31 12:10:31
Subject: Re: Postgres-XC build error on Fedora 12
Previous:From: Koichi SuzukiDate: 2010-03-31 07:21:22
Subject: Postgres-XC V.0.9 is now available

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group