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

Re: Postgres-XC build error on Fedora 12

From: Devrim GÜNDÜZ <devrim(at)gunduz(dot)org>
To: Pavan Deolasee <pavan(dot)deolasee(at)enterprisedb(dot)com>
Cc: pgsql-cluster-hackers(at)postgresql(dot)org
Subject: Re: Postgres-XC build error on Fedora 12
Date: 2010-03-31 12:42:56
Message-ID: 1270039376.2285.44.camel@hp-laptop2.gunduz.org (view raw or flat)
Thread:
Lists: pgsql-cluster-hackers
On Wed, 2010-03-31 at 17:40 +0530, Pavan Deolasee wrote:

> Seems like we never tested with openssl. While we work to fix the
> issue, can you please try configuring --without-openssl and see if
> that helps ? 

Now it gives something different. IIRC pg_config_paths.h needs to be
generated during make, but I may be wrong:

gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -I/usr/include/et -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -I../../src/include -I/usr/include/et -D_GNU_SOURCE -I/usr/include/libxml2  -I/usr/include  -c -o ../../src/interfaces/libpq/fe-misc.o ../../src/interfaces/libpq/fe-misc.c
../../src/interfaces/libpq/fe-connect.c:28:29: error: pg_config_paths.h: No such file or directory
../../src/interfaces/libpq/fe-connect.c: In function 'parseServiceInfo':
../../src/interfaces/libpq/fe-connect.c:3007: error: 'SYSCONFDIR' undeclared (first use in this function)
../../src/interfaces/libpq/fe-connect.c:3007: error: (Each undeclared identifier is reported only once
../../src/interfaces/libpq/fe-connect.c:3007: error: for each function it appears in.)
../../src/interfaces/libpq/fe-connect.c: In function 'PasswordFromFile':
../../src/interfaces/libpq/fe-connect.c:3900: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
make[3]: *** [../../src/interfaces/libpq/fe-connect.o] Error 1
make[3]: *** Waiting for unfinished jobs....
../../src/interfaces/libpq/fe-misc.c:60:29: error: pg_config_paths.h: No such file or directory
../../src/interfaces/libpq/fe-misc.c: In function 'libpq_gettext':
../../src/interfaces/libpq/fe-misc.c:1170: error: 'LOCALEDIR' undeclared (first use in this function)
../../src/interfaces/libpq/fe-misc.c:1170: error: (Each undeclared identifier is reported only once
../../src/interfaces/libpq/fe-misc.c:1170: error: for each function it appears in.)
make[3]: *** [../../src/interfaces/libpq/fe-misc.o] Error 1
make[4]: Leaving directory `/home/devrim/belgeler/postgresqlrpms.org/svn/rpm/redhat/8.4/postgres-xc/F-12/pgxc_v0.9/src/backend/parser'
make[3]: Leaving directory `/home/devrim/belgeler/postgresqlrpms.org/svn/rpm/redhat/8.4/postgres-xc/F-12/pgxc_v0.9/src/backend'
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.U3HkBd (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.U3HkBd (%build)
make: *** [nopreprpm] Error 1


-- 
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

In response to

Responses

pgsql-cluster-hackers by date

Next:From: Pavan DeolaseeDate: 2010-03-31 13:07:15
Subject: Re: Postgres-XC build error on Fedora 12
Previous:From: Pavan DeolaseeDate: 2010-03-31 12:19:07
Subject: Re: Postgres-XC build error on Fedora 12

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