Am Sonntag, den 11.12.2005, 15:04 +0100 schrieb Martin Pitt: > tag 342583 moreinfo > thanks > > Hi Andreas! > > Andreas Kostyrka [2005-12-08 9:23 -0800]: > > postgresql-server-dev-8.0 depends upon libpq-dev which happens > > to be 8.1 specific. > > libpq{4,-dev} is not version specific, it works for all PostgreSQL > versions starting from 7.3. It just makes sense (and is generally > necessary) to have the client side files for server-side extensions, > too. > > > Which makes it completely useless as the headers do not match. There > > is no other libpq-dev version being shown by apt-cache. > > > > The installed ubuntu package below fixes at least the compile time > > stuff, but it still is not able to link. > > Can you please give more details about what exactly you are trying to > do? 'It breaks' is not very helpful for fixing things.
I'm trying to compile slony. And it did bomb in type conflicts in the headers between postgresql-server-dev-8.0 and libpq-dev. When I install a libpq-dev based on 8.0 (like from Ubuntu), the headers match I can compile slony. Actually my woes started earlier, as pg_config from libpq-dev let's slony configure assume that it's compiling against 8.1. Which means more configure options, etc. I'm still not able to link the resulting .o files, and load the resulting .o file into the server. My errors seems to have been similiar with the problems the SPARC compilation in bug 342583. So yes, perhaps in design the client headers should be version-independent. In reality, at least in the slony case, they seem to be version dependent. I guess one way to fix that would make postgresql-server-dev-X.Y include all the headers etc for X.Y, not depending upon libpq-dev. TIA, Andreas
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil