Hi Clark,
Here's an updated README not yet committed - I used it successfully on
SL 32bits:
You're not building the right version of MacGPGME: don't download the
packaged sources, they are too old. Do a checkout of the trunk instead.
Stéphane
On Nov 8, 2009, at 10:16 PM, Clark Sann wrote:
> Hi Stéphane
>
> I have made progress. As you said, "read the README". I did that
> and discovered I had not installed gpgme and libgpg-error. I
> followed his steps and with a little work I now have both programs
> installed.
>
> Now, when I try to build GPGME, rather than 1 error, I am getting 17
> warnings and 71 linker errors. As far as I can tell, GPGME
> successfully compiles.
>
> I wondered if my problem is that I installed GnuPG2 rather than
> GnuPG1.4.9. I couldn't figure out how to uninstall version 2 so
> decided to install 1.4.9 in addition to 2.0.12. I hope that did not
> make things worse.
>
> It did not change anything, I am still getting the same number of
> errors.
>
> I will cut and paste a few of the errors here for you to see....
>
> Warnings:
>
> Compiling /Users/clark/Desktop/GPGME-1.0.2/GPGContext.m cd /
> Users/clark/Desktop/GPGME-1.0.2
> /Developer/usr/bin/gcc-4.0 -x objective-c -arch i386 -fmessage-
> length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -
> DBUILDINGGPGME -gdwarf-2 -I/Users/clark/Desktop/GPGME-1.0.2/build/
> GPGME.build/EmbDeployment/GPGME.build/GPGME.hmap -Wmost -Wno-four-
> char-constants -Wno-unknown-pragmas -F/Users/clark/Desktop/
> GPGME-1.0.2/build/EmbDeployment -I/Users/clark/Desktop/GPGME-1.0.2/
> build/EmbDeployment/include -I/Users/clark/Desktop/GPGME-1.0.2/build/
> GPGME.build/EmbDeployment/GPGME.build/DerivedSources/i386 -I/Users/
> clark/Desktop/GPGME-1.0.2/build/GPGME.build/EmbDeployment/
> GPGME.build/DerivedSources -include /var/folders/BV/
> BVGgFXGNFzuTpKuQkWARG++++TI/-Caches-/com.apple.Xcode.501/
> SharedPrecompiledHeaders/gpgme-aouxgwoqmrdfkgerrzmgzlnjsilj/gpgme.h -
> c /Users/clark/Desktop/GPGME-1.0.2/GPGContext.m -o /Users/clark/
> Desktop/GPGME-1.0.2/build/GPGME.build/EmbDeployment/GPGME.build/
> Objects-normal/i386/GPGContext.o
> /Users/clark/Desktop/GPGME-1.0.2/GPGContext.m:45:2: warning:
> #warning TODO: post distributed notification (object and userInfo
> objects must be property lists)
> /Users/clark/Desktop/GPGME-1.0.2/GPGContext.m:830:2: warning:
> #warning Only one thread at a time can call gpgme_wait => protect
> usage with mutex!
> /Users/clark/Desktop/GPGME-1.0.2/GPGContext.m:1711:2: warning:
> #warning TODO
> /Users/clark/Desktop/GPGME-1.0.2/GPGContext.m:2429:2: warning:
> #warning FIXME Not sure that finger URLs start with finger:
> /Users/clark/Desktop/GPGME-1.0.2/GPGContext.m:2847:2: warning:
> #warning TODO parse results and returns them in exception, if any
> /Users/clark/Desktop/GPGME-1.0.2/GPGContext.m:3085:2: warning:
> #warning TEST!
> /Users/clark/Desktop/GPGME-1.0.2/GPGContext.m:45:2: warning:
> #warning TODO: post distributed notification (object and userInfo
> objects must be property lists)
> /Users/clark/Desktop/GPGME-1.0.2/GPGContext.m:830:2: warning:
> #warning Only one thread at a time can call gpgme_wait => protect
> usage with mutex!
> /Users/clark/Desktop/GPGME-1.0.2/GPGContext.m:1711:2: warning:
> #warning TODO
> /Users/clark/Desktop/GPGME-1.0.2/GPGContext.m:2429:2: warning:
> #warning FIXME Not sure that finger URLs start with finger:
> /Users/clark/Desktop/GPGME-1.0.2/GPGContext.m:2847:2: warning:
> #warning TODO parse results and returns them in exception, if any
> /Users/clark/Desktop/GPGME-1.0.2/GPGContext.m:3085:2: warning:
> #warning TEST!
>
> Errors:
> E
> "_gpgme_set_textmode", referenced from:
> -[GPGContext setUsesTextMode:] in GPGContext.o
> "_gpgme_new", referenced from:
> -[GPGContext init] in GPGContext.o
> "_gpgme_get_armor", referenced from:
> -[GPGContext usesArmor] in GPGContext.o
> "_gpgme_op_import", referenced from:
> -[GPGContext(GPGSynchronousOperations) importKeyData:] in
> GPGContext.o
> "_gpgme_data_new", referenced from:
> -[GPGContext(GPGSynchronousOperations) decryptedData:] in
> GPGContext.o
> -[GPGContext(GPGSynchronousOperations)
> verifySignedData:originalData:] in GPGContext.o
> -[GPGContext(GPGSynchronousOperations)
> decryptedData:signatures:] in GPGContext.o
> -[GPGContext(GPGSynchronousOperations)
> signedData:signatureMode:] in GPGContext.o
> -[GPGContext(GPGSynchronousOperations)
> encryptedData:withKeys:trustAllKeys:] in GPGContext.o
> -[GPGContext(GPGSynchronousOperations) encryptedData:] in
> GPGContext.o
> -[GPGContext(GPGSynchronousOperations)
> encryptedSignedData:withKeys:trustAllKeys:] in GPGContext.o
> -[GPGContext(GPGSynchronousOperations) exportedKeys:] in
> GPGContext.o
> -[GPGData init] in GPGData.o
> "_gpgme_cancel", referenced from:
> -[GPGContext(GPGAsynchronousOperations) cancel] in GPGContext.o
> "_gpgme_err_make_from_errno", referenced from:
> -[GPGData seekToFileOffset:offsetType:] in GPGData.o
> -[GPGData readDataOfLength:] in GPGData.o
> -[GPGData writeData:] in GPGData.o
> -[GPGData(GPGExtensions) availableDataLength] in GPGData.o
> -[GPGData(GPGExtensions) isAtEnd] in GPGData.o
> -[GPGData(GPGExtensions) availableData] in GPGData.o
> -[GPGData(GPGExtensions) rewind] in GPGData.o
> _GPGMakeErrorFromErrno in GPGExceptions.o
> "_gpgme_op_keylist_ext_start", referenced from:
> -[GPGKeyEnumerator
> initForContext:searchPatterns:secretKeysOnly:] in GPGContext.o
> "_gpgme_get_include_certs", referenced from:
> -[GPGContext certificatesInclusion] in GPGContext.o
> "_gpgme_op_delete", referenced from:
> -[GPGContext(GPGSynchronousOperations)
> deleteKey:evenIfSecretKey:] in GPGContext.o
> "_gpgme_op_keylist_next", referenced from:
> -[GPGKeyEnumerator nextObject] in GPGContext.o
> "_gpgme_signers_enum", referenced from:
> -[GPGSignerKeyEnumerator nextObject] in GPGContext.o
>
> Does any of this help you know what went wrong? As you can see,
> most of the earlier errors are in GPGContext.o. Does this tell you
> anything?
>
> I agree with you that once I get MacGPGME built, that I will learn a
> lot from playing with GPGTester. Once I get this done, maybe I can
> update Gordon's book too. I'm certainly willing to do all this, I
> just need to get MacGPGME built first
>
> I appreciate any help you can provide. I don't know where to go
> from here.
>
> Clark
>
>
> On Nov 8, 2009, at 2:20 PM, Stéphane Corthésy wrote:
>
>> Hi,
>>
>> Please read the README file in MacGPGME sources.
>> Then forget about GPGAppKit - use only MacGPGME.
>> Gordon's book is very good, though a bit outdated now; it will be a
>> good start. MacGPGME API is fully documented, and GPGTester is good
>> to look at.
>> MacGPGME works with both gpg 1.x and 2.x, transparently.
>>
>> Cheers,
>>
>> Stéphane
>>
>>
>
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.
http://p.sf.net/sfu/bobj-july_______________________________________________
Macgpg-devl mailing list
Macgpg-devl@...
https://lists.sourceforge.net/lists/listinfo/macgpg-devl