Mac OS X

From ExpressionPlot
Jump to: navigation, search
  • Turn on web server: Apple menu-> System preferences->Sharing then click "Web sharing"
    • For version of Mac OS X beginning at 10.6.5 or later you might want to edit line 64 of /usr/sbin/apachectl. Change it to ULIMIT_MAX_FILES="".This should suppress a warning message but I'm not certain if it is necessary to do this.
  • Install MySQL server/client: Download MySQL server from and follow install instructions. You might need to actually start your server with the following command:
 sudo /usr/local/mysql/bin/mysqld_safe
  • Create links to put mysql and mysql_config in your path.
 cd /usr/local/bin
 sudo ln -s ../mysql/bin/mysql
 sudo ln -s ../mysql/bin/mysql_config
  • You will need to install DBD::mysql from source. You have to install "by hand" so that you can tell the system where the mysql dynamic library is located for that package (see [1] for more info):
    • After running perl Makefile.PL, make and make test, look for a file called mysql.bundle:
      • find ./ -name "mysql.bundle" -print
    • In my case it was in .//blib/arch/auto/DBD/mysql/mysql.bundle</code>.
    • Run install_name_tool on this file:
      • sudo install_name_tool -change libmysqlclient.18.dylib /usr/local/mysql/lib/libmysqlclient.18.dylib .//blib/arch/auto/DBD/mysql/mysql.bundle
    • Install with sudo make install
 warning: no debug symbols in executable (-arch x86_64)
  • If you don't already have fink installed it is easier to just install wget from source than go through fink. Download the latest version from, then unpack it, run configure, make, and sudo make install.
  • Now grab the ExpressionPlot install tarball:
 tar xf expressionplot-install-current.tar

  • You will probably need to set the following in install-config.ini:
  • On my test machine /usr/local/bin is actually not in the apache user's (_www's) path. You can fix this by adding a link:
 cd /usr/bin
 sudo ln -s ../local/expressionplot-config