haskell-tls / hs-certificate

Certificate and Key Reader/Writer in haskell
60 stars 57 forks source link

Can't install 1.2.0 to Mac OS X #5

Closed fujimura closed 12 years ago

fujimura commented 12 years ago

Hi,

I found 1.2.0 can't be instaled to MAC OS X. I'd tried to fix this but it's not so easy for me. sorry for no patches.

$ cabal install
Resolving dependencies...
Configuring certificate-1.2.0...
Preprocessing library certificate-1.2.0...
Preprocessing executables for certificate-1.2.0...
Building certificate-1.2.0...
[7 of 9] Compiling System.Certificate.X509.MacOS ( System/Certificate/X509/MacOS.hs, dist/build/System/Certificate/X509/MacOS.o )

System/Certificate/X509/MacOS.hs:19:11: Not in scope: `parsePEMs'
cabal: Error: some packages failed to install:
certificate-1.2.0 failed during the building phase. The exception was:
ExitFailure 1

$ sw_vers
ProductName:    Mac OS X
ProductVersion: 10.7.2
BuildVersion:   11C74

Thanks!

vincenthz commented 12 years ago

sorry ! it is now fixed in certificate 1.2.1, along with some build change that make sure i won't run off the same build problem again.

fujimura commented 12 years ago

Confirmed that it works on my machine. Thanks for ultra fast fix!