PHYSICA

From DaqWiki
Jump to navigation Jump to search

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)