pgsql-bugs@postgresql.org writes:
> 'gmake' process blows up when it gets to compiling pl/tcl. The error
> message is something to the effect of "flag '-Wl,-R/usr/pgk/lib' is
> not recognized."
My guess is that your Tcl installation is broken: tclConfig.sh contains
settings that aren't actually valid for your system. Did you build
Tcl from source?
regards, tom lane