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

Hi,

On Fri, Sep 09, 2005 at 07:11:25PM +0200, Andreas Jochens wrote:
> > And adding libssl-dev will violate the GPL copyright. No GPL software is
> > allowed to link against SSL (at least not without exception clause).
> > Instead I would add:
> > Build-Conflicts: libssl-dev
> 
> Please note that the package FTBFS without 'libssl-dev' installed 
> with an error message like "openssl/ssl.h: No such file or directory".
Blast! I can confirm this. However, this is a bug in libpq-dev, it
misses a dependency to libssl-dev. I just filed a bug report. Grrr,
fixing one bug always uncovers several others.

Now with the missing libssl-dev it *still* does not compile, this time
it complains about missing postgresql server headers. Hmmm. Indeed,
the postgresql-dev package is complete empty. They split it in
libpq-dev and postgresql-server-dev-X.Y packages.

Ok, I changed the build depends like this:
- -Build-Depends: debhelper (>> 3.0.0), postgresql-dev, python-dev, 
python2.1-dev, python2.2-dev, python2.3-dev
+Build-Depends: debhelper (>> 3.0.0), libpq-dev, postgresql-server-dev-8.0, 
python-dev, python2.1-dev, python2.2-dev, python2.3-dev

And I fixed the server header includes:
- --- PoPymodule.h_     2005-09-09 19:51:06.001253105 +0200
+++ PoPymodule.h        2005-09-09 19:45:35.151291955 +0200
@@ -38,8 +38,8 @@
 
 #include <Python.h>
 #include <structmember.h>
- -#include <server/postgres.h>
- -#include <server/catalog/pg_type.h>
+#include <8.0/server/postgres.h>
+#include <8.0/server/catalog/pg_type.h>
 #include <libpq-fe.h>
 #include <libpq/libpq-fs.h>
 #include <regex.h>

Then it compiled.


However, the GPL license violation with the SSL linkage is still there:
$ ldd PoPymodule2.3.so
[...]
        libssl.so.0.9.7 => /usr/lib/i686/cmov/libssl.so.0.9.7 (0xa7e59000)
[...]

Perhaps it is best to contact upstream to add an exception clause to
the license.


Regards,
  Bastian
- -- 
  ,''`.                  Bastian Kleineidam
 : :' :                    GnuPG Schlüssel
 `. `'    gpg --keyserver wwwkeys.pgp.net --recv-keys 32EC6F3E
   `-

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDIc37eBwlBDLsbz4RAssfAKDI2eiwKszNPKNfGsKr9pLVa8E1ZwCdGc8o
A1vkau5G007XSG2df3NGLNw=
=A/ut
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to