wiki:ArbOSX

ARB on M1

Warning:
Under some circumstances ARB freezes when running under M1/Rosetta!
See ticket #844 for details.

We've been reported ARB has sucessfully been installed on M1 using the following steps:

  1. Check the "Open using Rosetta" checkbox in Terminal Info.
  2. Check the following in Terminal.
    $ uname -m
    x86_64
    
  3. Install Homebrew in /usr/local.
    $ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
    
  4. Make a path.
    $ export PATH=/usr/local/bin:$PATH
    
  5. Download ARB
    $ brew install arb-project/arb/arb@7
    (https://github.com/arb-project/homebrew-arb)
    
    For details and options see homebrew-arb.
  6. Open ARB
    $ arb
    

Steps to build ARB on Mac OSX (Macports; probably out-dated)

These instruction are from 2015; for version using Macports.
Currently its recommended to brew your own arb using homebrew-arb.

  • install Apple"s XCode (from app store or from https://developer.apple.com/downloads/index.action)
  • install Apple's Command Line Developer Tools (from https://developer.apple.com/downloads/index.action)
  • Run XCode at least once and accept the EULA (otherwise the command line tools will not run)
  • Install macports http://www.macports.org
  • run
    sudo port -v selfupdate
    
    (uses rsync, some firewalls may not like that)
  • Install XQuartz from http://xquartz.macosforge.org/landing/
  • restart your computer to use XQuartz as default X11 display
  • restart to use XQuartz as default X11 display
  • install following packages using macports
    sudo port install imake makedepend lynx openmotif gsed sablotron glw glew xfig gv xorg-libXaw gtime coreutils
    
  • svn co http://vc.arb-home.de/readonly/trunk
  • set ARBHOME
  • set LD_LIBRARY_PATH to $ARBHOME/lib
  • Add $ARBHOME/bin to PATH
  • export PREFIX≤macports prefix> (usually /opt/local)
  • Edit config.makefile to enable OSX and disable OpenGL (see arb_OS_X.txt in $ARBHOME for infos on how to get open gl working)
  • compile and run!

Last modified 2 years ago Last modified on Jun 21, 2022, 11:44:48 AM