Thread

  1. Error in Makefile.tcldefs

    PostgreSQL Bugs List <pgsql-bugs@postgresql.org> — 2001-05-03T18:35:12Z

    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 no idea 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
    
    
    
  2. Re: Error in Makefile.tcldefs

    Peter Eisentraut <peter_e@gmx.net> — 2001-05-03T20:46:38Z

    > 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 no idea 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
    
    
    
  3. Re: Error in Makefile.tcldefs

    Tom Lane <tgl@sss.pgh.pa.us> — 2001-05-03T22:21:50Z

    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