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

  • SEARCH
  • Home
  • 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 6064839
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T09:19:26+00:00 2026-05-23T09:19:26+00:00

I need glib for threadscope to work. But I am not able to install

  • 0

I need glib for threadscope to work. But I am not able to install it using cabal. I tried cabal install glib but getting the following error. I even tried downloading the library and installing it locally but get the same error.

I am using Cygwin on Windows. I ran Cygwin setup to make sure I have the missing libraries. I was able to find glib, gobject but not gthread.

    Gtk2HsSetup.hs:25:2:
         warning: #warning Setup.hs is guessing the version of Cabal. If compilation
     of Setup.hs fails use -DCABAL_VERSION_MINOR=x for Cabal version 1.x.0 when buil
    ding (prefixed by --ghc-option= when using the 'cabal' command)
    [1 of 2] Compiling Gtk2HsSetup      ( Gtk2HsSetup.hs, dist\setup\Gtk2HsSetup.o )

    [2 of 2] Compiling Main             ( Setup.hs, dist\setup\Main.o )
    Linking .\dist\setup\setup.exe ...
    Configuring glib-0.12.0...
    setup.exe: Missing dependencies on foreign libraries:
    * Missing C libraries: gobject-2.0, gthread-2.0, glib-2.0, intl, iconv
    This problem can usually be solved by installing the system packages that
    provide these libraries (you may need the "-dev" versions). If the libraries
    are already installed but in a non-standard location then you can use the
    flags --extra-include-dirs= and --extra-lib-dirs= to specify where they are.
    cabal: Error: some packages failed to install:
    glib-0.12.0 failed during the configure step. The exception was:
    ExitFailure 1
  • 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-05-23T09:19:27+00:00Added an answer on May 23, 2026 at 9:19 am

    Some time ago I’ve written a small errata to the original wiki article on how to install Gtk2Hs. Here is the link http://progandprog.blogspot.com/2011/04/installing-gtk2hs-012-for-latest.html

    I tried to describe all steps here, and hope it will help you.

    All these steps are done with latest Gtk2Hs and Haskell platform installation. Without Cygwin and MinGW being installed.

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

Sidebar

Related Questions

I am comfortable with C. but need to learn GObject and Glib for gstreamer
Need to locate the following pattern: The letter I followed by a space then
I need to modify a GLib's time-out interval while it is in execution. Is
My purpose is to install ruby/gnome2 and make it work with ruby1.9 on Ubuntu9.10.
Need some advice to use iframe for widget or not. Will some addons/plugin block
I need to include the GLib headers for a project that is built with
Compiling FluidSynth 1.1.1 from source. I have unresolved external symbol with glib, using Visual
Given a string named command , I need to create GLib InputStream object How
I want to spawn a process using spawn_async in the GLib bindings in javascript
I want to use the Gnome GLib in a Windows environment using the free

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.