bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libgcrypt


From: Andreas Enge
Subject: Re: libgcrypt
Date: Thu, 7 Feb 2013 10:33:24 +0100
User-agent: KMail/1.13.7 (Linux/3.2.0-4-amd64; KDE/4.8.4; x86_64; ; )

Am Mittwoch, 6. Februar 2013 schrieb Ludovic Courtès:

> Andreas Enge <address@hidden> skribis:

> > checking whether libgcrypt can be dynamically loaded... no

> > configure: error: GNU libgcrypt does not appear to be usable; see

> > `--with- libgcrypt-prefix' and `README'.

> Just pass --with-libgcrypt-prefix=$HOME/.guix-profile/lib.

 

Yes, that should work, but...

 

> The code corresponding to the check above is simple-minded (it’s in

> m4/guix.m4). All it does is:

> guile -c "(dynamic-func \"gcry_md_hash_buffer\" (dynamic-link

> \"$LIBGCRYPT\"))"

> and checks its return code.

> Passing --with-libgcrypt-prefix allows it to work with non-standard

> prefixes.

 

... under guix, $HOME/.guix-profile/{lib,...} is the standard prefix ;-)

 

So would it be possible to modify the test so that it takes LIBRARY_PATH into account? (If it were C, the AC macros would do that automatically.) Or could one simply use AC_CHECK_LIB?

 

If not, a possible work-around would be to check explicitly with the $HOME/.guix-profile/lib prefix.

 

Andreas

 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]