Install WordNet on Mac

I am trying to install Wordnet 3.0 on my Mac, which is OSX 10.8.

I set it up, but when I try to do it,

I get a bunch of errors ...

..... /usr/include/tkDecls.h:1692: error: expected specifier-qualifier-list before 'XColor' make[2]: *** [wishwn-tkAppInit.o] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 

and then if I continue to make install

 Making install in doc Making install in html make[3]: Nothing to be done for `install-exec-am'. test -z "/usr/local/WordNet-3.0/doc/html" || /Users/ravenyj/Desktop/WordNet-3.0/install-sh -d "/usr/local/WordNet-3.0/doc/html" mkdir: /usr/local/WordNet-3.0: Permission denied make[3]: *** [install-htmlDATA] Error 1 make[2]: *** [install-am] Error 2 make[1]: *** [install-recursive] Error 1 make: *** [install-recursive] Error 1 

I have not made any changes to the Makefile and do not know if I should.

Can someone help me with this?

+4
source share
4 answers

The following was created for me:

 ./configure CFLAGS="-I/usr/X11R6/include -L/usr/X11R6/lib -lX11 -fpermissive" CC=/usr/bin/gcc 

then

 make sudo make install 

after that he looks great to me in

 /usr/local/WordNet-3.0/ 

Then I added WordNet to my $ PATH by editing the .bash_profile file, adding the line:

 export PATH=/usr/local/WordNet-3.0/bin:$PATH 

by opening a new terminal window, I could enter:

 $ wn 

and make sure it works fine now

+7
source

Using brew is much easier. Just:

 brew install wordnet 
+5
source

I had the same problem until I saw this web page: http://ticanchang.blogspot.com/2010/04/install-wordnet-in-mac.html

In the folder of your downloaded WordNet package, enter:

  • ./Configure
  • to do
  • sudo make install

You need to enable "sudo" because usually the user does not have permission to update the / usr / local folder.

+1
source

To install WordNet, follow these steps:

  • Press Command + Space and enter Terminal and press enter / return key.
  • Launch in the terminal application:

     ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null 

    ... and press the enter / return key. Wait for the command to complete.

  • Run:

     brew install wordnet 

After installation, use the "wn" command in the terminal to access the application.

+1
source

Source: https://habr.com/ru/post/1438854/


All Articles