user3552733
user3552733

Reputation: 39

I do not have use/local/src/ on Mac, what should I do?

I am neophyte on Mac especially on terminal. Though I've read lots of materials, I am still very confused and do not know what I should do.

I need to use aspell on MAC. I followed a tutorial (http://wiki.lyx.org/Mac/MacSpelling) to install it and I've installed Xcode and gcc. In one step, it required me to "type ./configure, followed by ". I did it, but terminal showed:

-bash: ./configure: No such file or directory

This webpage (http://ubuntuforums.org/showthread.php?t=1849525) showed the configure in under "/usr/local/src/configure" but when I cd to this directory I found I do not have the /src/ folder.

/usr/local$ ls
CODEOFCONDUCT.md  README.md         include/          opt/
CONTRIBUTING.md   SUPPORTERS.md     info/             share/
Cellar/           bin/              lib/
LICENSE.txt       etc/              libexec/
Library/          git/              man/

What show I do? How can I use the ./configure?

Thank you so much.

Upvotes: 0

Views: 2182

Answers (2)

The aspell-0.60.6.1 tarball does have a configure script inside its own source tree (so it is located at aspell-0.60.6.1/configure). So you should start with something like (to do outside of /usr/local/, for example in your $HOME/freesoftsource/ directory if you have one, or maybe even simply in your $HOME if you dare).

  wget ftp://ftp.gnu.org/gnu/aspell/aspell-0.60.6.1.tar.gz
  tar xzvf aspell-0.60.6.1.tar.gz
  cd aspell-0.60.6.1
  ./configure 

You may want to add some options to the ./configure above.

You should read aspell installing instructions

N.B. As with most GNU software using configure, the location of the source tree (extracted from the source tar archive as above) does not matter much.

Upvotes: 0

jrminter
jrminter

Reputation: 318

You likely don't have the command line development tools installed.

Try

xcode-select --install

It also looks like you have homebrew installed. I believe that there is a formula for aspell, so you can try

brew install aspell

Upvotes: 2

Related Questions