Error while trying to install ByteString Package

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Error while trying to install ByteString Package

Abhinav Kalawatia
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>

Reply | Threaded
Open this post in threaded view
|

Error while trying to install ByteString Package

Henk-Jan van Tuyl
On Wed, 14 Jan 2015 13:54:34 +0100, Abhinav Kalawatia  
<kalawatia_abhinav at yahoo.com> wrote:

> Hi, I get the following error while I tried installing the ByteString  
> package. Could you please help me resolve this  
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
:
> 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
:

The file fpstring.h is part of the bytestring package, so cabal-install  
should be able to find it. The package installed fine on my computer. You  
probably have more chance to get a helpful answer on the Haskell Caf?  
mailing list.

Regards,
Henk-Jan van Tuyl


--
Folding at home
What if you could share your unused computer power to help find a cure? In  
just 5 minutes you can join the world's biggest networked computer and get  
us closer sooner. Watch the video.
http://folding.stanford.edu/


http://Van.Tuyl.eu/
http://members.chello.nl/hjgtuyl/tourdemonad.html
Haskell programming
--