PHYSICA: Difference between revisions

From DaqWiki
Jump to navigation Jump to search
Line 37: Line 37:
** sudo /bin/sh
** sudo /bin/sh
** port -v selfupdate
** port -v selfupdate
** port install gd2 +universal
** port install gd2 +universal ### (will take forever because it thinks it needs to build most of gnome)


* svn checkout https://ladd00.triumf.ca/svn/daqsvn/trunk/physica
* svn checkout https://ladd00.triumf.ca/svn/daqsvn/trunk/physica
* cd physica
* cd physica
* make
* make

Revision as of 08:45, 29 June 2012

Physica Links

Extrema links

Build on Linux

Only 32-bit PHYSICA is known to work. 64-bit is known to not work. When building on 64-bit Linux, many 32-bit "devel" packages need to be installed.

The Linux Makefile builds 3 flavours of the physica executable:

  • physica : normal dynamically linked executable
  • physica-static : fully static executable (no shared libraries), same as old versions of physica. Cannot be built on SL5/SL6 because they do not supply libX11.a static libraries
  • physica-half-static : link as many libraries as possible statically. This is the recommended executable for general use. It can only be built on 32-bit SL5. (SL6 do not provide many 32-bit static libraries).

Build:

Build on MacOS 10.7

  • install required libraries using MacPorts
    • install MacPorts: download the MacPorts-xxx-Lion.pkg from http://www.macports.org/install.php, install
    • sudo /bin/sh
    • port -v selfupdate
    • port install gd2 +universal ### (will take forever because it thinks it needs to build most of gnome)