<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Sorry, as you can see I had just gone ahead and executed the command
    you gave me in one of your previous messages without thinking about
    reading the INSTALL file. This would have saved me time and a
    headache. <br>
    <br>
    I've gone back to Homebrew and followed your instructions and things
    are much better. I cannot see the amount of errors I saw before but
    one of the errors I mentioned keeps on appearing:<br>
    <br>
    "lipo: can't open input file:
    /var/folders/4c/4cqHpGvGGzucg8Ge2XytcU+++TM/-Tmp-//ccsmnms7.out (No
    such file or directory)<br>
    make[1]: *** [cqp] Error 1<br>
    make: *** [cqp] Error 2"<br>
    <br>
    I will now try to run cqp again and see whether this error was
    important or not.<br>
    <br>
    JM<br>
    <meta http-equiv="content-type" content="text/html;
      charset=ISO-8859-1">
    <br>
    <br>
    <blockquote
      cite="mid:BBF749E0-95CE-4F73-B9D7-CBEFAA74077A@collocations.de"
      type="cite">
      <pre wrap="">
Anyway, I installed Homebrew but I still have problems installing the external Glib2 library. The error message I get when trying to install glib2 via Homebrew is:

"No available formula for glib2"
</pre>
      <pre wrap="">
The formula is simply called "glib", not "glib2".  As per the instructions in the INSTALL file:</pre>
    </blockquote>
    <br>
    <blockquote
      cite="mid:BBF749E0-95CE-4F73-B9D7-CBEFAA74077A@collocations.de"
      type="cite">
      <pre wrap="">

</pre>
      <blockquote type="cite">
        <pre wrap="">Make sure that no other package managers (Fink, MacPorts) are installed on your
system, as they might conflict with the build process described here.  Now install
the prerequisite external libraries with the following shell commands:

        brew -v install pkg-config
        brew -v install glib --universal
        brew -v install pcre --universal

Now edit the file "config.mk", setting the platform entry to

        include $(TOP)/config/platform/darwin-universal

and the site configuration as desired.  Then enter the shell commands

        make clean
        make depend
        make all
        make install

as shown in the section "QUICK INSTALLATION" above.
</pre>
      </blockquote>
      <pre wrap="">

Concerning your other problems:

</pre>
      <blockquote type="cite">
        <pre wrap="">OK, so after installing all the dependencies, I managed to run the 'cwb-install-mac-osx' script but then I got new errors which I reproduce at the end of the message. I looked into the script file and I realized that the problem was that the script looked for config.mk and the rest of files in its directory ('home/cwb/install-scripts/cwb-install-mac-osx') but these files were in 'home/cwb'.
</pre>
      </blockquote>
      <pre wrap="">
That sounds like you executed the quick install script from its directory, whereas you're expected to do that from the root of the CWB source tree (~/cwb in your case).  See the instructions in INSTALL:

</pre>
      <blockquote type="cite">
        <pre wrap="">         sudo ./install-scripts/cwb-install-mac-osx
</pre>
      </blockquote>
      <pre wrap="">
All commands described in the INSTALL file need to be executed from this root directory.


If you've really got the prerequisites installed, all you really need to do is to edit config.mk manually to set the platform to

        include $(TOP)/config/platform/darwin-universal

and then run

        make clean
        make depend
        make all
        sudo make install

from the root directory of the source code tree.

Hope this helps,
Stefan


_______________________________________________
CWB mailing list
<a class="moz-txt-link-abbreviated" href="mailto:CWB@sslmit.unibo.it">CWB@sslmit.unibo.it</a>
<a class="moz-txt-link-freetext" href="http://devel.sslmit.unibo.it/mailman/listinfo/cwb">http://devel.sslmit.unibo.it/mailman/listinfo/cwb</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>