1 Oct 2009 09:26
Re: [Fwd: Re: GpgME Dependency]
Roy Wellington IV <wellir <at> rpi.edu>
2009-10-01 07:26:32 GMT
2009-10-01 07:26:32 GMT
This appears to be a code bug, and not an error on your part.
I'm assuming you're an Ubuntu user? If you have libgpgme11-dev, you
should, I think, be good. However, Ubuntu puts gpgme.h in /usr/include
instead of /usr/include/gpgme. Check that you have /usr/include/gpgme.h
-- I suspect you do.
The code, however, is #include'ing <gpgme/gpgme.h> -- this should
_just_ be <gpgme.h>, but the include directory needs to get added to the
flags passed to g++. (include_directories(${GPGME_INCLUDES}) or some
such, in the appropriate CMakeLists.txt)
Good catch,
-Roy
Adam Georgiou wrote:
> So I installed this new dependancy, and ran a cmake. My edit_cache
> updated, but the make still errors out citing it can't find
> gpgme/gpgme.h. gpg is in /usr/bin and the edit_cache is citing it as
> being there. I'm a little confused, anyone else having this issue?
>
> -Adam
>> Dave,
>>
>>
>> Thanks for the heads up.
>>
>>
>> BTW:
>> here is the easy way to install it:
>>
>> sudo apt-get install libgpgme11-dev
>>
>> Once you install it, you can re-run CMake
>> in the directory of your econoclast build
>>
>> make edit_cache
>>
>> and CMake should find
>>
>> _GPGMECONFIG_EXECUTABLE = /usr/bin/gpgme-config
>>
>>
>> Followed by several gpgme library settings.
>>
>> ----
>>
>> From the SVN logs it seems that this was freshly added
>> at the end of Friday's class
>>
>>
>> svn log make/FindGpgme.cmake
>>
>> ------------------------------------------------------------------------
>> r166 | abhishek.mukher.g | 2009-09-25 16:35:36 -0400 (Fri, 25 Sep 2009) | 1 line
>>
>> Added GpgME dependency
>> ------------------------------------------------------------------------
>> r156 | MathStuf | 2009-09-24 17:19:51 -0400 (Thu, 24 Sep 2009) | 1 line
>>
>> Add FindGpgme.cmake file from KDE
>> ------------------------------------------------------------------------
>>
>>
>> ----------
>>
>>
>> If any one of you is having problems finding
>> or configuring this library please post questions
>> to the mailing list.
>>
>>
>> Thanks
>>
>>
>> Luis
>>
>>
>>
>> ============================================
>> On Fri, Sep 25, 2009 at 11:13 PM, Dave Przybylo <przybd <at> rpi.edu> wrote:
>>
>>> You will now need the GpgME library to compile the econoclast project. I'm
>>> not sure if that was made aware to the class yesterday. If so, I must not
>>> have heard it. Anywho, someone checked in a config file with that appended
>>> as a dependency requirement a few hours ago. So, be sure to get it before
>>> trying to compile!
>>>
>>>
>>> Regards,
>>> -----------------------------------------------------------------------------------------------
>>> Dave Przybylo <przybd <at> cs.rpi.edu>
>>> Undergraduate Researcher
>>> Worldwide Computing Laboratory ( http://wcl.cs.rpi.edu/ )
>>> Department of Computer Science
>>> Rensselaer Polytechnic Institute, 110 8th Street, Troy NY 12180, USA
>>> -----------------------------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> Powered by www.kitware.com
>>>
>>> Visit other Kitware open-source projects at
>>> http://www.kitware.com/opensource/opensource.html
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> http://www.kitware.com/cgi-bin/mailman/listinfo/opensourcesoftwarepractice
>>>
>>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.kitware.com/cgi-bin/mailman/listinfo/opensourcesoftwarepractice
>>
>>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://www.kitware.com/cgi-bin/mailman/listinfo/opensourcesoftwarepractice
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://www.kitware.com/cgi-bin/mailman/listinfo/opensourcesoftwarepractice
RSS Feed