Subject: Re: py-postgresql package
To: None <mcmahill@mtl.mit.edu>
From: D'Arcy J.M. Cain <darcy@druid.net>
List: tech-pkg
Date: 02/24/2000 14:41:46
Thus spake mcmahill@mtl.mit.edu
> >    So the question is, why does it call cc on my system and ld on Brook's?
> >    As I suggested, it doesn't appear to be an a.out vs. ELF thing at all.
> now thats a good question.

Why, thank you.  :-)

> Also on the system where it did work, can you verify that when you do a
> 'make' in /usr/pkgsrc/databases/py-postgresql/ that it really does call
> 'cc' instead of 'ld' in the step:
> 
> ld -Bshareable  pgmodule.o  -R/usr/pkg/pgsql/lib -L/usr/pkg/pgsql/lib -lpq
>          -lcrypt -o _pgmodule.so

Check it out.  http://www.druid.net/darcy/databases.py-postgresql.txt.

> On the system where it works, what version of
> /usr/pkgsrc/databases/py-postgresql/files/Setup.in
> do you have?
> 
> It looks like the -Wl,-R stuff was added in rev 1.2 on 2000/01/06.  

# $NetBSD: Setup.in,v 1.2 2000/01/06 03:18:47 darcy Exp $

I'm pretty sure it has been in longer than that but I can't get on to
cvs.netbsd.org at the moment to check the CVS log.

> If in fact the working system was using 1.1 of files/Setup.in, I'll go
> ahead and fix files/Setup.in to use "-R..." instead of "-Wl,-R...."

But then other system will break.  Can we wait until we see exactly what
the difference is before we change it?

-- 
D'Arcy J.M. Cain <darcy@{druid|vex}.net>   |  Democracy is three wolves
http://www.druid.net/darcy/                |  and a sheep voting on
+1 416 425 1212     (DoD#0082)    (eNTP)   |  what's for dinner.