[gnutls-help] some deps missing from gnutls.pc?

Nikos Mavrogiannopoulos nmav at gnutls.org
Tue Jul 24 21:53:07 CEST 2018


On Fri, Jul 20, 2018 at 4:07 PM, Roger Pack <rogerdpack2 at gmail.com> wrote:
> As a note, for windows (cross compiling) I have to manually add
>
> -lcrypt32
> to gnutls.pc>
>
> and in OS X
>
> I have to add
>
> -framework Security

Hi,
 In https://gitlab.com/gnutls/gnutls/pipelines/26381946 there are two
mingw builds which compile just fine with the current setup. Also in
travis there is a macosx build of gnutls which also succeeds:
https://travis-ci.org/gnutls/gnutls

Which version of gnutls do you try to cross compile?

> Also in OS X:
> $ ./configure --with-included-libtasn1 --prefix=$(pwd)/installed
> --without-p11-kit && make -j2
[...]
>
>     640:9 16 (for-each #<procedure 10c2ef0c0 at scripts/compile.scm?> ?)
>
> In scripts/compile.scm:
>
>    251:26 15 (_ _)
>
> In system/base/target.scm:
>
>      57:6 14 (with-target _ _)
>
> In system/base/compile.scm:
>
>     152:6 13 (compile-file _ #:output-file _ #:from _ #:to _ #:env _ ?)
>
>      43:4 12 (call-once _)
>
> In ice-9/boot-9.scm:
>
>     841:4 11 (with-throw-handler _ _ _)
>
> In system/base/compile.scm:
>
>     59:11 10 (_)
>
>    155:11  9 (_ #<closed: file 10c386e70>)
>
>    235:18  8 (read-and-compile #<input: gnutls.scm 12> #:from _ #:to ?)
>
>    183:32  7 (compile-fold (#<procedure compile-tree-il (x e opts)>) ?)
>
> In ice-9/boot-9.scm:
>
>    2312:4  6 (save-module-excursion #<procedure 10d92c840 at languag?>)
>
> In language/scheme/compile-tree-il.scm:
>
>     31:15  5 (_)
>
> In ice-9/psyntax.scm:
>
>   1235:36  4 (expand-top-sequence ((eval-when (expand load eval) ?)) ?)
>
>   1182:24  3 (parse _ (("placeholder" placeholder)) ((top) #(# # ?)) ?)
>
>    285:10  2 (parse _ (("placeholder" placeholder)) ((top) #(# # ?)) ?)
>
> In unknown file:
>
>            1 (load-extension "/Users/rdp/dev/random/gnutls-3.5.19/g?" ?)
>
> In ice-9/boot-9.scm:
>
>    752:25  0 (dispatch-exception _ _ _)
>
>
> ice-9/boot-9.scm:752:25: In procedure dispatch-exception:
>
> In procedure dynamic-link: file:
> "/Users/rdp/dev/random/gnutls-3.5.19/guile/src/guile-gnutls-v-2", message:
> "file not found"
>

Does not ring a bell. You can disable guile bindings if you don't need them.

regards,
Nikos



More information about the Gnutls-help mailing list