<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Thanks Stefan and Andrew,<br>
      <br>
      Sorry for taking so long to answer. We are traveling around and it
      is not always easy to get a connection. <br>
      <br>
      OK, I followed Stefan's directions and I have been able to move a
      step closer. I still have not managed to run cwb-install-mac-osx
      because I keep on getting an error message saying that I need the
      external Glib2 library. It also tells me that external libraries
      seem to be provided by MacPorts. <br>
      <br>
      When I try to install Glib2 via MacPorts, I get stuck in:<br>
      <br>
      ---&gt;&nbsp; Attempting to fetch expat-2.0.1.tar.gz from
      <a class="moz-txt-link-freetext" href="http://iweb.dl.sourceforge.net/expat">http://iweb.dl.sourceforge.net/expat</a><br>
      <br>
      Does anybody know any way to install Glib2 without having to
      resort to MacPorts? In fact I really want to get rid of MacPorts
      because it has always given me too many problems. <br>
      <br>
      JM<br>
      <meta http-equiv="content-type" content="text/html;
        charset=ISO-8859-1">
    </div>
    <blockquote
      cite="mid:9A560023-F123-48FD-A5E0-808C61E527E6@collocations.de"
      type="cite">
      <pre wrap="">
</pre>
      <blockquote type="cite">
        <pre wrap="">OK, I tried to install version 3.4 via Subversion but as you predicted I wasn't able to overwrite my existing installation without using the CWB_LIVE_DANGEROUSLY environment variable. I then tried to follow the instructions in the INSTALL file but I'm a little confused.

My apologies for asking about what must be very basic UNIX stuff but how do I set this environment variable?  In the INSTALL file I have the following 3 lines which don't seem to be not a single command.

## sudo echo "export CWB_LIVE_DANGEROUSLY=1 &amp;&amp; ./install-scripts/cwb-install-$YOUR_OS" | sudo bash
ifndef CWB_LIVE_DANGEROUSLY
PREFIX=/usr/local/cwb-$(VERSION)
endif

I tried to enter the following command from my terminal:

$sudo echo "export CWB_LIVE_DANGEROUSLY=1 &amp;&amp; ./Users/jfontana/cwb/install-scripts/cwb-install-mac-osx" | sudo bash
</pre>
      </blockquote>
      <pre wrap="">
A much easier (and more natural) solution would be to change the line

        include $(TOP)/config/site/beta-install

in the file "config.mk" to

        include $(TOP)/config/site/standard

and then simply run "sudo ./install-scripts/cwb-install-mac-osx".  I suppose that Andrew added the CWB_LIVE_DANGEROUSLY option because he cannot edit config.mk as a developer (changes would be sent back to the Subversion repository), but this isn't a problem for you.

</pre>
      <blockquote type="cite">
        <pre wrap="">Obviuosly there is something very basic I must be doing wrong because I get the following error message:

bash: line 1: ./install-scripts/cwb-install-mac-osx: No such file or directory
</pre>
      </blockquote>
      <pre wrap="">
That is strange, because it differs substantially from the command you've shown above:

</pre>
      <blockquote type="cite">
        <pre wrap="">$sudo echo "export CWB_LIVE_DANGEROUSLY=1 &amp;&amp; ./Users/jfontana/cwb/install-scripts/cwb-install-mac-osx" | sudo bash
</pre>
      </blockquote>
      <pre wrap="">

Either use "./install-scripts/cwb-install-mac-osx" or the full path "/Users/jfontana/cwb/install-scripts/cwb-install-mac-osx" (WITHOUT full stop at the start!).


Have you already installed the prerequisite libraries?  The install script doesn't do this automatically on Mac OS X.  Please take a look at the Mac OS X section in the INSTALL file for some instructions.

Best,
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>