-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Neil Tiffin wrote:

> Now my question. psycopg2 does not care about which postgresql  
> package is installed (to the best of my knowledge).  But it needs a - 
> dev to build and any one of these to run.  What should I have in the  
> "Depends" and "Build Depends" fields?
> 
> I tried "postgresql ( >= 7.4.16 )" and this seems to work, but there  
> is no postgresql-dev ( >= 7.4.16 ).
> 
> I would not want to have to list each one because when 8.3 comes out  
> psycopg2 will probably work with it also.  Is there a "work with any  
> version" statement in Fink?

...but you can't work with any, necessarily, because under your example
if someone built against the 8.2 libaries, uninstalled 8.2, and
installed 7.4, the dpkg database would still consider it valid, but your
binaries wouldn't run.

You need to pick a version and go with it -- if you only use the
libraries, and don't depend on a database, then you can always change it
in the future when a new postgres comees out, and rev up.

Unless you have a reason to do otherwise, builddep on postgresql82-dev,
and dep on postgresql82-shlibs (and if you need a running database, on
postgresql82 as well)


- --
Benjamin Reed a.k.a. Ranger Rick
Fink, KDE, and Mac OS X development
http://www.racoonfink.com/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF0pAsUu+jZtP2Zf4RAjiOAJ9WYXiAmXtgzHlzoxarHZhg9HPyRQCeJtNq
g77QQ7duWIGMi2Dz1H1Pi/o=
=WSXB
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to