[Pgcluster-general] Problem with making PGCluster 1.7.0rc7
Antony Petropavlovsky
petr at transocean.com.ua
Wed May 16 10:57:52 UTC 2007
> On Tuesday 15 May 2007 12:46:46 pm Antony Petropavlovsky wrote:
>> Thanx for you patch.
>> I apply it.
>> But give after gmake this:
>> ...
>> gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline
>> -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing
>> -DUSE_REPLICATION -DPRINT_DEBUG -L../../src/port
>> -Wl,-R'/usr/local/pgsql/lib' -Wl,-export-dynamic access/SUBSYS.o
>> bootstrap/SUBSYS.o catalog/SUBSYS.o parser/SUBSYS.o commands/SUBSYS.o
>> executor/SUBSYS.o lib/SUBSYS.o libpq/SUBSYS.o main/SUBSYS.o nodes/SUBSYS.o
>> optimizer/SUBSYS.o port/SUBSYS.o postmaster/SUBSYS.o regex/SUBSYS.o
>> rewrite/SUBSYS.o storage/SUBSYS.o tcop/SUBSYS.o utils/SUBSYS.o
>> ../../src/timezone/SUBSYS.o ../../src/port/libpgport_srv.a
>> ../../src/interfaces/libpq/libpq.a -lcrypt -lm -lc_r -o postgres
>> libpq/SUBSYS.o(.text+0xcf7d): In function `set_recovery_packet':
>> : undefined reference to `cuserid'
> oohhh...this is more tricky at first glance...
> unrelated to previous issue with keyword.c.
This problem I have with making rc5 (on FreeBSD). And no problems with keyword.c..
>> ...
>> > On Tuesday 15 May 2007 10:42:16 am Rick Vernam wrote:
>> >> I don't have a deep enough understanding of makefiles and such, but
>> >> whatever is responsible for the the dynamic creation of
>> >
>> > Scratch that.
>> >
>> >> src/include/parser/parse.h is not adding
>> >> REPLICATION = 510,
>> >> in yytokentype of parse.h
>> >
>> > src/backend/parser/parse.h is missing the definition in yytokentype, and
>> > a #define.
>> >
>> > The attached patch ought to take care of it...although I have not tested
>> > it.
>> >
>> > -Rick
>> >
>> >> I'm going to keep digging, as it will be a good learning experience for
>> >> me, but perhaps with this info someone will be able to fix more quickly?
>> >>
>> >> -Rick
>> >>
>> >> On Monday 14 May 2007 11:18:22 am Antony Petropavlovsky wrote:
>> >> > I have problem with compiling PGCluster 1.7.0rc7 on FreeBSD 6.0.
>> >> >
>> >> > > ./configure is Ok.
>> >> > > gmake - write to me:
>> >> >
>> >> > ..
>> >> > gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline
>> >> > -Wdeclaration- after-statement -Wendif-labels -fno-strict-aliasing
>> >> > -DUSE_REPLICATION - DPRINT_DEBUG -I. -I../../../src/include -c -o
>> >> > keywords.o keywords.c keywords.c:284: error: `REPLICATION' undeclared
>> >> > here (not in a function) ..
>> >> >
>> >> > And exit.
>> >> > How to solve this?
>> >> > --
>> >> > Antony
>> >> >
>> >> > _______________________________________________
>> >> > Pgcluster-general mailing list
>> >> > Pgcluster-general at pgfoundry.org
>> >> > http://pgfoundry.org/mailman/listinfo/pgcluster-general
>> >>
>> >> _______________________________________________
>> >> Pgcluster-general mailing list
>> >> Pgcluster-general at pgfoundry.org
>> >> http://pgfoundry.org/mailman/listinfo/pgcluster-general
--
? ?????????,
Antony mailto:petr at transocean.com.ua
More information about the Pgcluster-general
mailing list