[Buildroot] [PATCH] gvfs: Select and depend on libgcrypt
markos.chandras at gmail.com
Fri Jun 21 12:49:31 UTC 2013
On 21 June 2013 11:33, Markos Chandras <markos.chandras at gmail.com> wrote:
> On 21 June 2013 11:31, Thomas Petazzoni
> <thomas.petazzoni at free-electrons.com> wrote:
>> Dear Markos Chandras,
>> On Fri, 21 Jun 2013 11:20:11 +0100, Markos Chandras wrote:
>>> Fixes the following build problem when building gvfs
>>> without having libgcrypt installed.
>>> gvfsbackendafpbrowse.c:31:20: fatal error: gcrypt.h: No such file or directory
>> This seems strange because:
>> #ifdef HAVE_GCRYPT
>> #include <gcrypt.h>
>> in gvfsbackendafpbrowse.c.
>> Maybe there's a mis-detection of the gcrypt on your host and we need to
>> make sure gvfs doesn't try to detect gcrypt when it is not part of the
>> enabled packages. I am quite sure I did a build of gvfs 1.16.2 without
>> gcrypt support, but the machine didn't had the gcrypt development files
>> installed in the distribution.
> Hi Thomas,
> I will have a look in the build files. I have libgcrypt installed on
> the host so maybe it detects this one and fails.
> Markos Chandras
Indeed, it seems the host libgcrypt is picked if there is not one for the target
configure:18751: checking for mips-buildroot-linux-uclibc-libgcrypt-config
configure:18784: result: no
configure:18794: checking for libgcrypt-config
configure:18812: found /usr/bin/libgcrypt-config
configure:18824: result: /usr/bin/libgcrypt-config
configure:18836: WARNING: using cross tools not prefixed with host triplet
I will have a look on how to fix this
More information about the buildroot