Next  |  Prev  |  Up  |  Top  |  JOS Index  |  JOS Pubs  |  JOS Home  |  Search

Install More Stuff for Mac OS X

Whenever I install something new, I try to remember to log it here, noting any headbutts and associated fixes:

 $$
sudo ln -s /usr/bin/gzip /opt/local/bin [needed by perl installs below]
 $$
sudo perl -MCPAN -e shell; install SHA; install YAML;
install HTML::WikiConverter::MediaWiki [for a project - also PhpWiki]
port install qt4-mac [needed by faust2coreaudio and faust2jaqt - along with dependents, occupies 25 GB!]
port install poppler [needed to diff PDF files using FileMerge - see
http://www.macosxhints.com/article.php?story=20091116055842805]
Remember that uninstall needs xmlcatmgr remove nextCatalog
/opt/local/share/xml/docbook/4.1.2/catalog.xml
and similarly for all docbook*
port install xpdf [needed to diff PDF files using FileMerge]
port install bibtool [needed to straighten out a fouled up bibtex file]
port install transmission [lightweight bittorrent client installed in
/Applications/MacPorts/Transmission.app -- I needed torrent support to download the Fedora 12 DVD image -- recommended by http://torrentfreak.com/mac-bt-clients/]
port install md5sha1sum [for /opt/local/bin/sha1sum, md5sum]
Installed MacGPG2-2.0.12 from SourceForge (no ``port'' as yet):
http://sourceforge.net/projects/macgpg2/
port install librsvg [needed rsvg-convert for .svg to .eps conversion]
port install psbind [said t be a smarter psnup]
port install Eterm [interesting replacement for Terminal]
port install bibtool [trying to convert BibTeX format]
Download and run the installer for 64/32-bit jackosx from http://www.jackosx.com/ (Grame) [installs JackPilot and JACK]
port install libsndfile
which also installs the following command-line programs:
 $$
port install i386-mingw32* [to try compiling VST plugins] $\Rightarrow$
  i386-mingw32-binutils @2.19.1_0 (active)
  i386-mingw32-gcc @3.4.5-20060117-2_1 (active)
  i386-mingw32-libunicows @1.1.1_0 (active)
  i386-mingw32-runtime @3.15.2_0 (active)
  i386-mingw32-w32api @3.13_0 (active)
Unfortunately there is a bug that prevents Faust compilations using sinf and powf. This was fixed by installing later mingw32 binaries.
 $$
defaults write com.apple.desktopservices DSDontWriteNetworkStores true
 $$
svn checkout http://pure-lang.googlecode.com/svn/trunk/ pure [to try out new pure-octave]
 $$
Various pure-octave add-ons such as faust2pd
 $$
port install git*
 $$
git clone git://juce.git.sourceforge.net/gitroot/juce/juce
 $$
sudo port install graphvis [needed by new faust2graph utility]
 $$
sudo port uninstall bibtool [install latest tarball instead]
 $$
sudo port install mp3blaster [hoped to play Ogg Vorbis videos from LAC-2010, but no luck]
 $$
Download and install QuickTime Ogg Vorbis plugin from http://www.xiph.org/quicktime/ [to play videos from LAC-2010]
 $$
sudo port install gtkmm [so I could compile foo-yc20-1.0.0.tar.bz2]
 $$
Download jack-tools-0.0.3.orig tarball
 $$
cd /usr/local/bin; sudo ln -s /opt/local/bin/glibtoolize libtoolize [needed for autogen.sh in jack-tools*/sw-27]
 $$
Download jamin dmg file [includes swh-plugins] [wanted a real-time spectral display for jack]
 $$
port install fftw [thought it was needed by jamin]
 $$
port install fftw-3-single [needed by jamin]
 $$
ln -s /Library/Audio/Plug-Ins/LADSPA ladspa [help jamin find required plugins]
 $$
Download Thunderbird dmg file
 $$
port install asciidoc [translates text doc to numerous formats]
 $$
port install qtiplot [looking for a Qt spectrum display widget]
 $$
port install latexmk [promising 'make' facility for LaTeX docs]
 $$
port install hydrogen NOT [drum machine - surprised to find it in Mac Ports - make fails]:
  svn co http://svn.assembla.com/svn/hydrogen/trunk hydrogen
  cd hydrogen
  setenv QTDIR /opt/local/libexec/qt4-mac
  scons
  ./hydrogen
  # I can symlink to the above "in-place" file
  # The folloring install works, but then hydrogen can't find its GUI widgets: 
  # sudo -E scons install
 $$
port install maxima [for my sporadic symbolic math needs]
 $$
Turn off %[mouse-down] as a Front Row launch:
http://forums.macrumors.com/showthread.php?t=437187
 $$
port install mpage [for printing multiple pages per page]
 $$
port install liblrdf [probably didn't need this - wanted LADSPA SDK ]
 $$
Download LADSPA SDK and install main header file:
cp ladspa.h /usr/local/include
 $$
Download meterbridge-0.9.2.tar.gz tarball
 $$
port install libsdl_image [required by meterbridge tarball]
 $$
svn co https://guitarix.svn.sourceforge.net/svnroot/guitarix/trunk guitarix
 $$
Download waf-1.5.18 tarball [to compile guitarix for Mac OS X]
 $$
port install boost [ibid.]
 $$
ln -s /opt/local/include/boost . [not familiar with waf]
 $$
Download and install libiconv-1.13.1 [for 64-bit version of libiconv.dylib]
 $$
Download and install gettext-tools portion of gettext-0.18.1.1 [for 64-bit version of libintl.dylib]
 $$
port install gtk2-clearlooks [guitarix wants it around]
 $$
defaults write org.gnu.Emacs AppleAntiAliasingThreshold 100
 $$
defaults write com.apple.iTunes full-window -1
 $$
port install moc [music on the console (and in the background)]
 $$
Manually install pal-0.4.2 from tarball [a command-line calendar utility]
 $$
Manually install Mencoder OSX for Mac from .sit file [for animations in Octave]
Following tips at http://www.krizka.net/2009/11/06/creating-animations-with-octave/
 $$
port install GitX [git GUI for Mac OS X]
 $$
port install pure-faust [also installs pure (the language), faust, and several p5-* utilities]
 $$
port install pure-xml [needed by faust2pd]
 $$
Download and unpack faust2pd from http://pure-lang.googlecode.com/files/faust2pd-2.3.tar.gz
make
make install ;; oops: ``dyld: Library not loaded: xml.dylib''
The problem is that faust2pd is looking for pure libraries under /usr/local, but they are installed instead under /opt/local (as are all MacPorts installs). Therefore, we need an environment variable providing the dynamic library search path:
  • In my .tcshrc file:
    setenv DYLD_LIBRARY_PATH /opt/local/lib/pure
  • In your .bashrc file, if you use bash (as most people do):
    DYLD_LIBRARY_PATH=/opt/local/lib/pure
    export DYLD_LIBRARY_PATH
 $$
Failure on netpbm of port upgrade outdated
port uninstall xfig [dependent]
port uninstall transfig [dependent]
port uninstall netpbm [losing package]
port upgrade outdated [ok, now it completes]
port install xfig [and deleted dependencies] - FAILS! Awaiting MacPorts bugfix...
port install xfig @3.2.4 [and deleted dependencies] - WINS! Beware 'upgrade outdated' now ...
 $$
port install librsvg [for SVG to PS conversion (LaTeX figures from Faust block diagrams)]
 $$
port install svg2pdf
 $$
Install SuperCollider.app et al.
Follow a subset of the directions for hooking up emacs to SC on OS-X at
http://sam.aaron.name/2010/02/09/hooking-supercollider-up-to-emacs-on-os-x.html
Instead of copies I used symbolic links, and I didn't do the defaults write (yet). At the moment, GUIs depending on SwingOSC do not yet work.
See also http://permalink.gmane.org/gmane.comp.audio.supercollider.user/73920
port install emacs-w3m [Needed for w3m GUIs in SC; Unfortunately installs emacs as well]
Edit /etc/man.conf to include MANPATH /opt/local/man and MANPATH /usr/local/man
Copy <linux_machine>:/usr/share/SuperCollider/Extensions to ~/Library/Application Support/SuperCollider/Extensions/ -- This brought over AmbIEM BBCut2 dewdrop_lib Help MathLib SC3plugins scide_scel SwingOSC
mkdir /usr/share/SuperCollider/ and
copy <linux_machine>:/usr/share/SuperCollider/SwingOsc to /usr/share/SuperCollider/
Now in Emacs on the Mac I can say SwingOSC.default.boot; Help.gui; Object.browse;
and I don't seem to need SuperCollider.app any more. Ya gotta love platform-independent code!
 $$
port install cmake [Needed to build SC from source]
 $$
sudo port upgrade -enforce-variants zlib +universal
sudo port upgrade -enforce-variants zlib +universal
sudo port install xdiskusage

 $$
port install wmctrl [using in Emacs-controlled SC]

 $$
port install octave-optim [unconstrained optimization tool box]

 $$
port install mercurial [pure uses hg instead of svn, git, etc.]

 $$
port install gimp [misc bitmap graphics]
Pulled in gimp-app gimp2 aalib gegl babl lensfun libopenraw libspiro openexr ilmbase libexif libgnomeui audiofile libbonoboui libgnome esound libgnomecanvas libglade2 libgnome-keyring gnome-keyring libwmf py27-gtk py27-cairo py27-numpy py27-nose py27-distribute py27-py py27-gobject webkit-gtk enchant hunspell gst-plugins-base gstreamer bison flex libsoup glib-networking libproxy gimp2 gimp-jp2 gimp-lqr-plugin liblqr gtk-nodoka-engine gutenprint icns-gimp ufraw cfitsio dcraw exiv2 gtkimageview xsane sane-backends libusb-compat libusb net-snmp - all for only about a gig!

 $$
Flux.app alters screen brightness and color based on time of day. However, it has problems with flickering.

 $$
port uninstall liblrdf - failed to build and didn't need it

 $$
$\ldots$


Next  |  Prev  |  Up  |  Top  |  JOS Index  |  JOS Pubs  |  JOS Home  |  Search

Download mycomputers.pdf
[Comment on this page via email]

``My Computers'', by Julius O. Smith III, Web document.
Copyright © 2014-03-25 by Julius O. Smith III
Center for Computer Research in Music and Acoustics (CCRMA),   Stanford University
CCRMA