Обсуждение: Error in Makefile.tcldefs

Поиск
Список
Период
Сортировка

Error in Makefile.tcldefs

От
pgsql-bugs@postgresql.org
Дата:
Ian Harding (ianh@tpchd.org) reports a bug with a severity of 3
The lower the number the more severe it is.

Short Description
Error in Makefile.tcldefs

Long Description
'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."  I didn't see where -Wl was a valid flag in a quick scan of the man page for
gmake,so I simply deleted '-Wl,' from the TCL_LIB_SPEC line in Makefile.tcldefs in the /src/pl/tcl directory.  I have
noidea what damage I may have done, but all appears to be well as I can install pltcl and create functions. 

Platform - i686
OS NetBSD 1.5
PG Version 7.1

Sample Code


No file was uploaded with this report

Re: Error in Makefile.tcldefs

От
Peter Eisentraut
Дата:
> Ian Harding (ianh@tpchd.org) reports a bug with a severity of 3

> '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."  I didn't see where -Wl was a valid flag in a quick scan of the man page for
gmake,so I simply deleted '-Wl,' from the TCL_LIB_SPEC line in Makefile.tcldefs in the /src/pl/tcl directory.  I have
noidea what damage I may have done, but all appears to be well as I can install pltcl and create functions. 

How about showing the actual thing and the actual effect?

--
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter

Re: Error in Makefile.tcldefs

От
Tom Lane
Дата:
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