Lorenzo Thurman <lorenzo@thethurmans.com> writes:
>>> ERROR: did not find '}' at end of input node
> I installed this from Gento's portage repository.
Gentoo has a history of supplying broken compilers, software, etc
... bleeding edge stuff tends to cut you occasionally :-(
You might try updating your compiler and then rebuilding PG.
regards, tom lane