<div dir='auto'>The simplest way to install the CWB on a current Mac is via Homebrew.<div dir="auto">If you want to install from source you should use the tarball with the most recent stable version (3.5) from our Sourceforge page.</div><div dir="auto">Sorry, this part isn't well documented since the website hasn't been updated yet. </div></div><div class="gmail_extra"><br><div class="gmail_quote">Am 13.01.2023 20:27 schrieb Thomas Messerli <thomas.messerli@unibas.ch>:<br type="attribution" /><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
Dear all,
<div><br />
</div>
<div>I have been working with CWB for several years, but am not able to install it from source on a new Mac.</div>
<div><br />
</div>
<div>I am trying to install CWB on an M2 Mac running MacOS Ventura, compiling from source (<a href="https://sourceforge.net/projects/cwb/files/cwb/cwb-3.4-beta/cwb-3.4.22-source.tar.gz/download" style="font-family:'verdana' , 'tahoma' , 'dejavu sans' , 'arial' , sans-serif;text-decoration:none">cwb-3.4.22-source.tar.gz</a><font color="#000000" face="Verdana, Tahoma, DejaVu Sans, Arial, sans-serif">). </font>Following
the instructions in the INSTALL file provided, I used Homebrew to install the prerequisites, but was not able to install ar and ranlib code archive utilities. </div>
<div><br />
</div>
<div>I then get "<font color="#000000" face="Menlo"><span style="font-size:11px">Makefile:182: depend.mk: No such file or directory</span><span style="font-size:11px">”</span><span style="font-size:11px"> and similar messages when running "make depend” </span></font><font color="#000000" face="Menlo"><span style="font-size:11px">and
"</span></font><span style="font-family:'menlo';font-size:11px;color:rgb( 237 , 13 , 0 )"><b>error: </b></span><b><font color="#000000" face="Menlo"><span style="font-size:11px">unknown
target CPU 'apple-a12</span><span style="font-size:11px">’</span><span style="font-size:11px">” when running "make all".</span></font></b></div>
<div><b><font color="#000000" face="Menlo"><span style="font-size:11px"><br />
</span></font></b></div>
<div><span style="color:rgb( 0 , 0 , 0 )">Accordingly, "</span> sudo ./install-scripts/install-mac-osx<font color="#000000"> “ will also not work, producing errors like
"</font><font color="#000000" face="Menlo"><span style="font-size:11px">building for macOS-x86_64 but attempting to link with file built for macOS-arm64</span><span style="font-size:11px">”</span><span style="font-size:11px">, "ld: symbol(s) not found
for architecture i386</span><span style="font-size:11px">”</span><span style="font-size:11px">, "</span></font><span style="color:rgb( 0 , 0 , 0 );font-family:'menlo';font-size:11px">clang: </span><span style="font-family:'menlo';font-size:11px;color:rgb( 202 , 51 , 35 )"><b>error: </b></span><b><font color="#000000" face="Menlo"><span style="font-size:11px">linker
command failed with exit code 1 (use -v to see invocation)</span><span style="font-size:11px">”</span><span style="font-size:11px">, "</span></font></b><span style="color:rgb( 0 , 0 , 0 );font-family:'menlo';font-size:11px">make[1]: *** [cwb-atoi]
Error 1</span></div>
<div><font color="#000000" face="Menlo"><span style="font-size:11px">“</span><span style="font-size:11px">, "make: *** [utils] Error 2</span><span style="font-size:11px">”</span><span style="font-size:11px">.</span></font></div>
<div><font color="#000000" face="Menlo"><span style="font-size:11px"><br />
</span></font></div>
<div><font color="#000000" face="Menlo"><span style="font-size:11px">Any tips on what I could do to install CWB either this way or in any other way on my Mac? (I have been fine working with CWB, encoding corpora etc and had no issues installing it previously,
but am struggling with compiling from source.)</span></font></div>
<div><font color="#000000" face="Menlo"><span style="font-size:11px"><br />
</span></font></div>
<div><font color="#000000" face="Menlo"><span style="font-size:11px">Thanks in advance for any help,</span></font></div>
<div><font color="#000000" face="Menlo"><span style="font-size:11px">Thomas</span></font></div>
</div>
</blockquote></div><br></div>