Comment 6 for bug 1678463

Revision history for this message
Marcos Diez (bugshideout) wrote :

Hi Stephen,

I found out the problem and solved it. Now I need you to your magic and make it an "official package" (TM)

The problem is that ./configure was not properly detecting if GnuTLS is available or not.
To be more specific, ./configure was passing the gcc parameters in the wrong way.

It was passing:

gcc -lgnutls -lgnutls-openssl test_file.c

and it should be:

gcc test_file.c -lgnutls -lgnutls-openssl

The fix for this issue is here:
https://github.com/marcosdiez/wput/commit/f5f3d70c4eef7db62a1b33efaaaf4a42417c95da

BUT after changing configure.in I had to run autoconf again.

So you might as well get the whole thing:

https://github.com/marcosdiez/wput/commit/6daa01608b8abc0d5d6c60a60d780a135ba5b3bb

In order for me to do that I:

a) cloned the original wput repository (https://sourceforge.net/p/wput/code/ci/master/tree/)
b) applied all the debian patches in the order of 'debian/patches/series'
c) fixed the code

All these steps are separated into specific commits:
https://github.com/marcosdiez/wput/commits/master

So I guess the problem is solved, I just don't know how to continue from now on.
Please help!

Marcos