<!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>
    &nbsp;&nbsp;&nbsp; Step 1 ['cabal install gtk2hs-buildtools'] ran successfully.<br>
    <br>
    &nbsp;&nbsp;&nbsp; This is what 'echo %lib%' gives:<br>
    &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &nbsp; C:\Users\User&gt;echo %lib%<br>
    &nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; C:\Program Files\Gtk+\lib;C:\Program Files
    (x86)\Gtk+\lib<br>
    &nbsp;&nbsp; <br>
    &nbsp; &nbsp;&nbsp;&nbsp; This is what<font><font size="2"> pkg-config --modversion
        gtk+-2.0</font></font>
    gives:&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br>
    &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; C:\Users\User&gt;pkg-config --modversion gtk+-2.0<br>
    &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 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">&lt;<a
            moz-do-not-send="true"
            href="mailto:kmandpjlynch@verizon.net" target="_blank">kmandpjlynch@verizon.net</a>&gt;</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>
          &nbsp; 1. I followed your wiki<br>
          &nbsp; 2. I opened Command window and entered the command: cabal
          install gtk<br>
          &nbsp; 3. It returned the error messages:
          <div><br>
            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; * Missing C libraries: z, cairo<br>
          </div>
          <div> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; * Missing C libraries: gobject-2.0, glib-2.0,
            intl<br>
          </div>
          &nbsp; 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>
          &nbsp; &nbsp; &nbsp; 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>