On 7/08/13 18:13, David Phillips wrote: > > > Daniel, > I had to work a little harder to get it to build. Once I knew what I was > looking for, I could figure it out. After changing > CommonCrypto/CommonCrypto.h to CommonCrypto/CommonDigest.h the build still > generated errors about an undefined symbol CCCryptorRef. After a little > googling that appeared to be in CommonCryptor so I included that too and it > built. > I'm still not very good at even basic fink work like real patches so I > copied the podofo9.info file to 'local' and stuck the following in it: > sed -i.bak -e's|CommonCrypto.h|CommonDigest.h>\n#include > <CommonCrypto/CommonCryptor.h>|' src/base/PdfEncrypt.cpp
I put a new revision in cvs that uses this patch (slightly corrected; does inserting a \n with sed really work for you? Not for me, but with perl it works). Concerning openssl100: The wisdom of cmake made podofo link with Fink's libssl, although it did not use any of its symbols, having replaced them through the use of Apple's CommonCrypto headers by stuff from libSystem. This led to a required dependency on Fink's openssl100. From the build log: > -- Found LIBCRYPTO: /sw/lib/libssl.dylib > Called from: [2] > /sw/src/fink.build/podofo9-0.9.2-1/podofo-0.9.2/cmake/modules/FindLIBCRYPTO.cmake > [1] > /sw/src/fink.build/podofo9-0.9.2-1/podofo-0.9.2/CMakeLists.txt > Found OpenSSL's libCrypto headers in /usr/include, library at > /sw/lib/libssl.dylib I fixed this now too. It still finds libssl later on, either from Fink or from Apple: > -- Found OpenSSL: /sw/lib/libssl.dylib (or /usr/lib/libssl.dylib, if Fink's openssl is not installed) But this does not matter, it does this only as a cmake exercice, not for linking with it. -- Martin ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk _______________________________________________ Fink-users mailing list Fink-users@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users