On Aug 6, 2013, at 10:30 PM, Daniel Johnson <daniel.johnso...@gmail.com> wrote:
> > On Aug 6, 2013, at 7:33 PM, Alexander Hansen <alexanderk.han...@gmail.com> > wrote: > >> On 8/6/13 4:17 PM, David Phillips wrote: >>> >>> Hi, >>> I'm trying to build podofo9-shlibs (because Scribus requires it) and >>> getting an error about being unable to find CommonCrypto. Is there >>> something wrong with my system (10.7) or am I missing a package that should >>> be installed? Here is the error message (clipping out the "Before >>> reporting..." part). >>> >>> ----- >>> /sw/src/fink.build/podofo9-0.9.2-1/podofo-0.9.2/src/base/PdfEncrypt.cpp:48:10: >>> fatal error: >>> 'CommonCrypto/CommonCrypto.h' file not found >>> #include <CommonCrypto/CommonCrypto.h> >>> ^ >>> 1 error generated. >>> make[2]: *** [src/CMakeFiles/podofo_shared.dir/base/PdfEncrypt.cpp.o] Error >>> 1 >>> make[2]: Leaving directory >>> `/sw/src/fink.build/podofo9-0.9.2-1/podofo-0.9.2/build' >>> make[1]: *** [src/CMakeFiles/podofo_shared.dir/all] Error 2 >>> make[1]: Leaving directory >>> `/sw/src/fink.build/podofo9-0.9.2-1/podofo-0.9.2/build' >>> make: *** [all] Error 2 >>> ### execution of /tmp/fink.A1_pj failed, exit code 2 >>> ### execution of /tmp/fink.xj0u0 failed, exit code 2 >>> Removing runtime build-lock... >>> Removing build-lock package... >>> /sw/bin/dpkg-lockwait -r fink-buildlock-podofo9-0.9.2-1 >>> (Reading database ... 250431 files and directories currently installed.) >>> Removing fink-buildlock-podofo9-0.9.2-1 ... >>> Failed: phase compiling: podofo9-0.9.2-1 failed >>> <snip> >>> Also include the following system information: >>> Package manager version: 0.35.1 >>> Distribution version: selfupdate-rsync Tue Aug 6 18:52:09 2013, 10.7, >>> x86_64 >>> Trees: local/main stable/main >>> Xcode.app: 4.6.3 >>> Xcode command-line tools: 4.6.0.0.1.1365549073 >>> Max. Fink build jobs: 1 >>> ----- >>> >>> I find that I do have a directory /usr/include/CommonCrypto/ but I don't >>> see CommonCrypto.h in it. When I list the directory, I find: >>> /usr/include/CommonCrypto% ls >>> CommonCryptor.h CommonHMAC.h CommonSymmetricKeywrap.h >>> CommonDigest.h CommonKeyDerivation.h >>> Is that the right CommonCrypto directory in which to be looking? >>> >>> Can anyone help? >>> Thanks, >>> David >>> >>> >>> >>> >>> >> >> I see the same thing on 10.7. >> >> On 10.8 I have /usr/include/CommonCrypto/CommonCrypto.h: >> >> $ ls /usr/include/CommonCrypto >> CommonCrypto.h CommonHMAC.h >> CommonCryptor.h CommonKeyDerivation.h >> CommonDigest.h CommonSymmetricKeywrap.h >> >> It appears that the package build needs to be tweaked to work on 10.7. > > The file PdfEncrypt.cpp actually wants to use CommonCrypto/CommonDigest.h. > Using CommonCrypto/CommonCrypto.h is an upstream mistake. It happens to work > on 10.8 since CommonCrypto.h #includes CommonDigest.h. > > Changing CommonCrypto/CommonCrypto.h to CommonCrypto/CommonDigest.h should > fix it for all versions of OS X. > > Daniel > Ooh, and I just noticed something else. podofo9 doesn't actually use openssl100 on OS X; it uses CommonCrypto instead. The openssl dependency should be dropped. Daniel
signature.asc
Description: Message signed with OpenPGP using GPGMail
------------------------------------------------------------------------------ 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