John, Carlos, et al.,

As promised, here are the steps that I used to install ASCEND 0.9.8 on OS X
10.8.2 with Homebrew:

$ brew install python swig gtk pygtk graphviz ipopt doxygen

# Install an older version of sundials
$ cd /usr/local
/usr/local $ git log -S'2.4.0' -- Library/Formula/sundials.rb
/usr/local $ git checkout -b sundials-2.4.0
314abd2d462a45bbbefb51f47a3276be82267b82
/usr/local $ brew install sundials
/usr/local $ git checkout master
/usr/local $ git branch -d sundials-2.4.0

# Get ready to install ASCEND.
$ sudo ln -s /usr/local/bin/pkg-config /usr/bin/pkg-config

$ export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig

#Download the tarball and extract it.
$ curl -OL
http://sourceforge.net/projects/ascend-sim/files/ASCEND%20%28current%29/0.9.8/ascend-0.9.8.tar.bz2

$ tar -xzvf ascend-0.9.8.tar.bz2

$ cd ascend-0.9.8.tar.bz2

# Apply a patch
$ curl -O
https://gist.github.com/raw/4652704/a78a3d785da92bfb78f31e389bf0795de8a05de1/SConstruct.patch

$ patch < SConstruct.patch

$ scons

$ mkdir -p /usr/local/Cellar/ascend/0.9.8

$ scons install INSTALL_PREFIX=/usr/local/Cellar/ascend/0.9.8

$ cd /usr/local/Cellar/ascend/0.9.8/

/usr/local/Cellar/ascend/0.9.8/ $ mkdir bin

/usr/local/Cellar/ascend/0.9.8/ $ cd bin

/usr/local/Cellar/ascend/0.9.8/bin $ ln -s ../ASCEND.app/Contents/ascend
ascend

/usr/local/Cellar/ascend/0.9.8/bin $ ln -s
../ASCEND.app/Contents/ascend-config ascend-config

$ cd ~

$ brew link ascend

$ brew linkapps

--

Tk still doesn't work, but the .app runs! I hope this can be of some use to
someone.

Nick
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
Ascend-sim-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ascend-sim-users

Reply via email to