Tags:
create new tag
view all tags
Ling 570 uses Jonathan Graehl's Carmel Finite State Toolkit for instruction on Finite State Machines. After much difficulty I managed to install Carmel on my Mac. The primary difficulty was ensuring that boost and all its packages were fully installed on my computer, and that Carmel's make file could find them. Here is what I did. Steps 4-10 might be unnecessary, but I already had homebrew on my machine, and did the other steps so I'll include them anyway. You may need to restart your machine after installing large things like in steps 1, 2, 3, 10, 11. 1. Make sure your OS is up to date (Apple Software Update)<br />2. Install XCode (search online, create Apple ID, etc)<br />3. Update XCode completely, which may take multiple tries (Apple Software Update)<br />4. Install homebrew if you don't have it already (http://brew.sh/)<br />5. Update hombrew (command line: brew update)<br />6. Use homebrew to install boost (command line: brew install boost)<br />7. Use homebrew to install boost configured for python (command line: brew install boost --with-python)<br />8. Use homebrew to install boost with python (command line: brew install boost-python)<br />9. Use homebrew to install bjam (command line: brew install bjam)<br />10. Setup bootstrap (http://getbootstrap.com/getting-started/)<br />11. Install MacPorts (https://www.macports.org/install.php)<br />12. Enable the XCode command line tools (command line: xcode-select --install) (also this page is very useful: http://railsapps.github.io/xcode-command-line-tools.html)<br />13. Use MacPorts to install boost (command line: sudo port install boost +universal)<br />14. Download carmel from github, not from isi (https://github.com/graehl/carmel)<br />15. Unpackage the tar file (find it in Downloads and double click)<br />16. Navigate to the carmel folder in that dir (command line: cd ~/Downloads/carmel-master/graehl)<br />17. Create a symbolic link to boost in graehl and in the shared and carmel folders in this dir (helpful instructions on the isi site: http://www.isi.edu/licensed-sw/carmel/ )<br /> cd Downloads/carmel-master/graehl<br /> ln -s <location of boost for me was /usr/local/include/>boost .<br /> cd shared<br /> ln -s /usr/local/include/boost .<br /> cd ../carmel<br /> ln -s /usr/local/include/boost .<br />18. in the carmel folder make install<br /> cd ~/Downloads/carmel-master/graehl/carmel<br /> make install<br />19. After it finishes it will output 2 commands to put carmel in your bin, but the location is probably not right. It created a bin file in my user folder at /User/Sarah/bin with 3 files in there. So you have to copy them to your actual bin<br /> cp ~/bin/carmel /bin/carmel<br /> cp ~/bin/carmel /bin/carmel.debug<br /> cp ~/bin/carmel /bin/sri2.fsa.pl<br />20. run carmel to ensure it was installed (command line: carmel) if so, it will output the manual for carmel. You may be able to skip step 19 by specifically telling the makefile in step 18 to install in your bin with either of these commands, but I'm not sure if the format is correct: make install INSTALL_PREFIX=/usr/bin<br /> make install -I/usr/bin Good luck! -- Main.lalondes - 2015-10-23
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r1 - 2015-10-23
-
lalondes
Home
Site map
Main web
Sandbox web
TWiki web
Main Web
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
E
dit
A
ttach
Copyright © 2008-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback