Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8609395
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T03:52:22+00:00 2026-06-12T03:52:22+00:00

When trying to install snap from cabal, in Windows, it complains about not being

  • 0

When trying to install snap from cabal, in Windows, it complains about not being able to find a C compiler.

Here is the output:

> cabal update
> cabal install snap
Resolving dependencies...
In order, the following will be installed:
directory-1.2.0.0 (new version)
clientsession-0.8.0.1 (new package)
directory-tree-0.10.1 (new version)
process-1.1.0.2 (new version)
heist-0.8.1.1 (reinstall) changes: directory-1.1.0.2 -> 1.2.0.0,
directory-tree-0.11.0 -> 0.10.1, process-1.1.0.1 -> 1.1.0.2
unix-compat-0.4.0.0 (new package)
configurator-0.2.0.1 (new package)
snap-core-0.9.2.1 (new package)
snap-server-0.9.2.3 (new package)
snap-0.9.2.1 (new package)
Warning: Note that reinstalls are always dangerous. Continuing anyway...
Configuring directory-1.2.0.0...
configure: WARNING: unrecognized options: --with-compiler, --with-gcc
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/tmp/directory-1.2.0.0-4480/directory-1.2.0.0':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
cabal.exe: Error: some packages failed to install:
clientsession-0.8.0.1 depends on directory-1.2.0.0 which failed to install.
configurator-0.2.0.1 depends on directory-1.2.0.0 which failed to install.
directory-1.2.0.0 failed during the configure step. The exception was:
ExitFailure 1
directory-tree-0.10.1 depends on directory-1.2.0.0 which failed to install.
heist-0.8.1.1 depends on directory-1.2.0.0 which failed to install.
process-1.1.0.2 depends on directory-1.2.0.0 which failed to install.
snap-0.9.2.1 depends on directory-1.2.0.0 which failed to install.
snap-core-0.9.2.1 depends on directory-1.2.0.0 which failed to install.
snap-server-0.9.2.3 depends on directory-1.2.0.0 which failed to install.
unix-compat-0.4.0.0 depends on directory-1.2.0.0 which failed to install.

Why in the world does it need C compiler if it’s written in Haskell?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T03:52:22+00:00Added an answer on June 12, 2026 at 3:52 am

    It needs a C compiler because the directory package has bits written in C (accessed via the FFI), as you can see from the c-sources section of the cabal file.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

While trying to install Reactive with cabal, I get this: src/FRP/Reactive/PrimReactive.hs:79:8: Could not find
Trying to install python from the link here does not seem to give access
Trying to install the RMagick gem is failing with an error about being unable
Trying to install WordPress from Web Platform Installer on Windows Server 2008 R2 Standard
I am trying: install.packages(RGoogleDocs, repos = http://www.omegahat.org/R) As suggested here , but it doesn't
When trying to install my 32bit service on a Windows 64bit machine my installer
I am trying to install a package from github, but keep getting the following
I am trying to install a Maven distribution from sourceforge (jtmt.sf.net) which provides a
trying to install yasnippet for emacs 23 from https://github.com/joaotavora/yasnippet Firstly I attempted the quick
While trying to install a program from source I found that it installed libraries

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.