From: | hellkite500(at)gmail(dot)com |
---|---|
To: | pgsql-bugs(at)postgresql(dot)org |
Subject: | BUG #14380: pg_config fails to build. |
Date: | 2016-10-18 22:59:05 |
Message-ID: | 20161018225905.1413.3919@wrigleys.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
The following bug has been logged on the website:
Bug reference: 14380
Logged by: Nels Frazier
Email address: hellkite500(at)gmail(dot)com
PostgreSQL version: 9.2.18
Operating system: Red Hat Enterprise Linux Server release 6.4 (Santi
Description:
I am attempting a build on a RHEL 6.4 machine using gcc 4.4.7.
I get the following error during the build. I even tried without --prefix,
and the show_ldflags error still happens. I tried this in both postgresql
9.2.17 and 9.2.18 with no difference.
make -C pg_config all
make[3]: Entering directory
`/glade/p/work/nfrazie1/CI-WATER-tools/sources/postgresql-9.2.18/src/bin/pg_config'
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith
-Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute
-Wformat-security -fno-strict-aliasing -fwrapv -I../../../src/include
-D_GNU_SOURCE
-DVAL_CONFIGURE="\"'--prefix=/glade/p/work/nfrazie1/CI-WATER-tools/'\""
-DVAL_CC="\"gcc\"" -DVAL_CPPFLAGS="\"-D_GNU_SOURCE\"" -DVAL_CFLAGS="\"-O2
-Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement
-Wendif-labels -Wmissing-format-attribute -Wformat-security
-fno-strict-aliasing -fwrapv\"" -DVAL_CFLAGS_SL="\"-fpic\""
-DVAL_LDFLAGS="\"-Wl,--as-needed
-Wl,-rpath,'/glade/p/work/nfrazie1/CI-WATER-tools/lib',--enable-new-dtags\""
-DVAL_LDFLAGS_EX="\"\"" -DVAL_LDFLAGS_SL="\"\"" -DVAL_LIBS="\"-lpgport -lz
-lreadline -lcrypt -lm \"" -c -o pg_config.o pg_config.c
pg_config.c: In function 'show_configure':
pg_config.c:239: error: 'prefix' undeclared (first use in this function)
pg_config.c:239: error: (Each undeclared identifier is reported only once
pg_config.c:239: error: for each function it appears in.)
pg_config.c:239: error: expected expression before '/' token
pg_config.c: In function 'show_ldflags':
pg_config.c:319: error: 'Wl' undeclared (first use in this function)
pg_config.c:319: error: 'as' undeclared (first use in this function)
pg_config.c:319: error: 'needed' undeclared (first use in this function)
make[3]: *** [pg_config.o] Error 1
make[3]: Leaving directory
`/glade/p/work/nfrazie1/CI-WATER-tools/sources/postgresql-9.2.18/src/bin/pg_config'
make[2]: *** [all-pg_config-recurse] Error 2
make[2]: Leaving directory
`/glade/p/work/nfrazie1/CI-WATER-tools/sources/postgresql-9.2.18/src/bin'
make[1]: *** [all-bin-recurse] Error 2
make[1]: Leaving directory
`/glade/p/work/nfrazie1/CI-WATER-tools/sources/postgresql-9.2.18/src'
make: *** [all-src-recurse] Error 2
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2016-10-19 00:03:09 | Re: Return Codes of BatchUpdateException in PostgreSql 9.6 |
Previous Message | Andres Freund | 2016-10-18 18:32:08 | Re: BUG #14378: when drop schema, standby will do many more than primary, and very slow, it's a bug? |