Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I am trying to install gi-gtk in windows but it always shows me this error what should I do and please be detailed -------------------------------- cabal

I am trying to install gi-gtk in windows but it always shows me this error what should I do and please be detailed

-------------------------------- cabal install gi-gtk Resolving dependencies... Build profile: -w ghc-9.2.5 -O1 In order, the following will be built (use -v for more details): - haskell-gi-base-0.26.3 (lib) (requires build) - gi-glib-0.2.46.14 (lib) (requires build) - gi-cairo-0.1.14.14 (lib) (requires build) - gi-gobject-0.2.46.14 (lib) (requires build) - gi-pango-0.1.38.14 (lib) (requires build) - gi-gio-0.2.46.14 (lib) (requires build) - gi-atk-0.2.18.14 (lib) (requires build) - gi-gdkpixbuf-0.2.32.14 (lib) (requires build) - gi-gdk-0.3.18.14 (lib) (requires build) - gi-gtk-0.3.18.14 (lib) (requires build) Starting haskell-gi-base-0.26.3 (lib)

Failed to build haskell-gi-base-0.26.3. The failure occurred during the configure step. Build log ( C:\cabal\logs\ghc-9.2.5\haskell-gi-ba_-0.26.3-6a5575db9c9b6add0ffa5060c6ba506dcbe921ff.log ): Configuring library for haskell-gi-base-0.26.3.. cabal-3.6.2.0.exe: Missing dependencies on foreign libraries: * Missing (or bad) C libraries: gobject-2.0, glib-2.0, intl 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.If the library files do 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-3.6.2.0.exe: Failed to build haskell-gi-base-0.26.3 (which is required by gi-gtk-0.3.18.14). See the build log above for details.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Case Studies In Business Data Bases

Authors: James Bradley

1st Edition

0030141346, 978-0030141348

More Books

Students also viewed these Databases questions

Question

=+-cach nonempty one contains a rational.

Answered: 1 week ago