[Haskell-beginners] Error while trying to install ByteString Package

Abhinav Kalawatia kalawatia_abhinav at yahoo.com
Wed Jan 14 12:54:34 UTC 2015


Hi, I get the following error while I tried installing the ByteString package. Could you please help me resolve this >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
C:\Users> cabal install bytestring
Resolving dependencies...
Configuring bytestring-0.10.4.1...
Failed to install bytestring-0.10.4.1
Last 10 lines of the build log ( C:\Users\AppData\Roaming\caba
l\logs\bytestring-0.10.4.1.log ):
setup-Cabal-1.18.1.3-i386-windows-ghc-7.8.3.exe: Missing dependency on a
foreign library:
* Missing (or bad) header file: fpstring.h
This problem can usually be solved by installing the system package that
provides this library (you may need the "-dev" version). If the library is
already installed but in a non-standard location then you can use the flags
--extra-include-dirs= and --extra-lib-dirs= to specify where it is.
If the header file does exist, it may contain errors that are caught by the C
compiler at the preprocessing stage. In this case you can re-run configure
with the verbosity flag -v3 to see the error messages.
cabal: Error: some packages failed to install:
bytestring-0.10.4.1 failed during the configure step. The exception was:
ExitFailure 1>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Regards,Abhinav 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20150114/5aaee574/attachment.html>


More information about the Beginners mailing list