Re: [HACKERS] Problems with src/pl/tcl/mkMakefile.tcldefs.sh.in in 6.5

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [HACKERS] Problems with src/pl/tcl/mkMakefile.tcldefs.sh.in in 6.5
Дата
Msg-id 199909212139.RAA21058@candle.pha.pa.us
обсуждение исходный текст
Ответ на Problems with src/pl/tcl/mkMakefile.tcldefs.sh.in in 6.5  (pgsql-hackers@thewrittenword.com)
Ответы Re: [HACKERS] Problems with src/pl/tcl/mkMakefile.tcldefs.sh.in in 6.5  (wieck@debis.com (Jan Wieck))
Список pgsql-hackers
I believe this is fixed.

> For Digital UNIX 4.0D, shared libraries are created by:
>     $ ld -shared -expect_unresolved "*" -o foo.so [objects]
> 
> This presents a problem for mkMakefile.tcldefs.sh.in. In tclConfig.sh:
>     TCL_SHLIB_LD='ld -shared -expect_unresolved "*"'
> 
> In mkMakefile.tcldefs.sh.in:
>     cat @TCL_CONFIG_SH@ |
>     egrep '^TCL_|^TK_' |
>     while read inp
>     do
>         eval eval echo $inp
>     done >Makefile.tcldefs
> 
> Because of this, we wind up with the following in Makefile.tcldefs to
> created shared libraries on Digital UNIX because of the eval:
>     TCL_SHLIB_LD=ld -shared -expect_unresolved *
> 
> The "*" needs to be quoted to avoid shell expansion. How about the
> following:
>     cat @TCL_CONFIG_SH@ |
>     egrep '^TCL_|^TK_' |
>     sed -e "s/^\([^=]*\)='\(.*\)'$/\1=\2/"
> 
> -- 
> albert chin (china@thewrittenword.com)
> 
> 


--  Bruce Momjian                        |  http://www.op.net/~candle maillist@candle.pha.pa.us            |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


В списке pgsql-hackers по дате отправления:

Предыдущее
От: wieck@debis.com (Jan Wieck)
Дата:
Сообщение: Re: [HACKERS] Re: Referential Integrity In PostgreSQL
Следующее
От: wieck@debis.com (Jan Wieck)
Дата:
Сообщение: Re: [HACKERS] Problems with src/pl/tcl/mkMakefile.tcldefs.sh.in in 6.5