Re: [BUGS] Error in Makefile

Lists: pgsql-bugs
From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
Cc: Ferruccio Zamuner <nonsolosoft(at)diff(dot)org>, pgsql-bugs(at)hub(dot)org
Subject: Re: [BUGS] Error in Makefile
Date: 1999-08-25 15:11:55
Message-ID: 6417.935593915@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs

Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us> writes:
>> $ cd pl/tcp
>> $ ld -shared -x -soname pltcl.o -o pltcl.so -L/usr/local/lib -ltcl80

> Now, configure is generating other files that have some bug where the
> -soname does not have the proper handling. Can you point me to where
> this problem may be coming from?

pl/tcl doesn't use Makefile.shlib --- it relies on information from
the local Tcl installation to build a Tcl-compatible shlib. I suspect
what we have here is either an error in Ferruccio's local tclConfig.sh,
or the pl/tcl Makefile is not fully understanding how to use the info
from tclConfig.sh. If you can build pl/tcl on your system then I'm
guessing the former? Hard to tell for sure, but it sure looks like
the shlib name is not getting inserted after -soname like it needs to.

regards, tom lane


From: Ferruccio Zamuner <nonsolosoft(at)diff(dot)org>
To: pgsql-bugs(at)hub(dot)org
Subject: Re: [BUGS] Error in Makefile
Date: 1999-08-25 18:45:19
Message-ID: yam7906.963.139850616@208.233.88.55
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs

Hi Tom Lane, on 25-Aug-99 you wrote:

> Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us> writes:
> >> $ cd pl/tcp
> >> $ ld -shared -x -soname pltcl.o -o pltcl.so -L/usr/local/lib -ltcl80

> > Now, configure is generating other files that have some bug where the
> > -soname does not have the proper handling. Can you point me to where
> > this problem may be coming from?

> pl/tcl doesn't use Makefile.shlib --- it relies on information from
> the local Tcl installation to build a Tcl-compatible shlib. I suspect
> what we have here is either an error in Ferruccio's local tclConfig.sh,
> or the pl/tcl Makefile is not fully understanding how to use the info
> guessing the former?

The tclConfig.sh comes from /usr/local/lib/tcl8.0/tclConfig.sh
and it's the SCCS: @# tclConfig.sh.in 1.20 97/07/01 11:40:19

If you need more information, you can ask me for.
Sorry I don't know TCL language yet and I can't be useful
to solve this.

Bye, \fer


From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: Ferruccio Zamuner <nonsolosoft(at)diff(dot)org>
Cc: pgsql-bugs(at)hub(dot)org
Subject: Re: [BUGS] Error in Makefile
Date: 1999-08-25 18:49:15
Message-ID: 199908251849.OAA25172@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs

> Hi Tom Lane, on 25-Aug-99 you wrote:
>
> > Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us> writes:
> > >> $ cd pl/tcp
> > >> $ ld -shared -x -soname pltcl.o -o pltcl.so -L/usr/local/lib -ltcl80
>
> > > Now, configure is generating other files that have some bug where the
> > > -soname does not have the proper handling. Can you point me to where
> > > this problem may be coming from?
>
> > pl/tcl doesn't use Makefile.shlib --- it relies on information from
> > the local Tcl installation to build a Tcl-compatible shlib. I suspect
> > what we have here is either an error in Ferruccio's local tclConfig.sh,
> > or the pl/tcl Makefile is not fully understanding how to use the info
> > guessing the former?
>
> The tclConfig.sh comes from /usr/local/lib/tcl8.0/tclConfig.sh
> and it's the SCCS: @# tclConfig.sh.in 1.20 97/07/01 11:40:19
>
> If you need more information, you can ask me for.
> Sorry I don't know TCL language yet and I can't be useful
> to solve this.

With no one else seeing the problem, we may just have to wait for
another bug report.

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