<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Good afternoon:<br>
<br>
Step 1 ['cabal install gtk2hs-buildtools'] ran successfully.<br>
<br>
This is what 'echo %lib%' gives:<br>
C:\Users\User>echo %lib%<br>
C:\Program Files\Gtk+\lib;C:\Program Files
(x86)\Gtk+\lib<br>
<br>
This is what<font><font size="2"> pkg-config --modversion
gtk+-2.0</font></font>
gives: <br>
C:\Users\User>pkg-config --modversion gtk+-2.0<br>
2.16.2<br>
<br>
Thanks again<br>
<br>
On 2/5/2011 11:59 AM, Tim Baumgartner wrote:
<blockquote
cite="mid:AANLkTimQHm68nPATr1TEhwz0JBrY_j8Ky3KMgFLAxW=m@mail.gmail.com"
type="cite">Hi Patrick,<br>
<br>
<div class="gmail_quote">2011/2/5 Patrick Lynch <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:kmandpjlynch@verizon.net" target="_blank">kmandpjlynch@verizon.net</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
This is what I did so far:<br>
1. I followed your wiki<br>
2. I opened Command window and entered the command: cabal
install gtk<br>
3. It returned the error messages:
<div><br>
* Missing C libraries: z, cairo<br>
</div>
<div> * Missing C libraries: gobject-2.0, glib-2.0,
intl<br>
</div>
4. I then ran the command: cabal install gtk
--extra-include-dirs="c:/Program Files/Gtk+/include"
--extra-lib-dirs="c:/Program Files/Gtk+/include"<br>
This returned the same error messages as indicated in
step 3 above.<br>
</blockquote>
</div>
<br>
Step 1 should already include step 2, so I better ask if <span
style="font-family: courier new,monospace;">gtk2hs-buildtools</span>
installed successfully?<br>
<br>
If the compiler misses some libraries, it will never help to add
more include folders, because they only contain header files, not
lib files. For missing include files, you get a different error
message. For libraries, you have to set up the LIB environment
variable properly. It must include the lib folder with Gtk+. Could
you show us the result of<br>
<br>
<span style="font-family: courier new,monospace;">echo %LIB%</span><br>
<br>
at the prompt? The ouput of<br>
<pre style="font-family: courier new,monospace;"><font size="2">pkg-config --modversion gtk+-2.0</font></pre>
might indicate an error as well. By the way, the environment
variables at the command prompt should the sum of those made
globally and those made for the current user.<br>
<br>
Good luck<br>
Tim<br>
</blockquote>
<br>
</body>
</html>