# Installation on Mac OS X

## Prerequisites

- A recent Mac with Intel processor, PPC processors are not supported at the moment.

- Mac OS X 10.4 or better.

## Instructions to install the binaries on Mac OS X.

- Download the install file, i.e. skychart-3.1-i386-macosx.dmg

- Open the file to mount the virtual disk.

- The disk folder opens, it contains the package installer skychart.pkg.

- Right click the package icon, select Open and follow the instruction to install the software. Depending on your security setting you may have to accept that the package is unsigned. Read more information about Gatekeeper

- You can now umount the virtual disk (drag to the trash).

## Start the program

- Open the Applications - Cartes du Ciel folder.

- Open the “skychart” icon.

## Options

### Telescope drivers

The INDI drivers are required to drive the telescope. Look at this page to know if your telescope is supported.

The simplest way is to install a package for Mac OS X available from http://www.cloudmakers.eu/indi

You can also install INDI from source using MacPort.

- If not already done, install Xcode from your Mac distribution CDrom or dowload it from Apple web site.
- Install MacPort using the .dmg file for your Mac OS version available from http://www.macports.org/install.php
- Install INDI from a terminal with this command:

      sudo port install indi

- To update to a new version use this command:

      sudo port selfupdate
      sudo port upgrade outdated

### Wine

Wine is required to compute the artificial satellites position in the Calendar.

The easiest way is to install with MacPort as for INDI. The most tricky part is to make the new PATH environment know from the applications launched from the Application menu.

- Do the first two step above to install Xcode and MacPort.
- Open a terminal and type:

      sudo port install wine

- After the installation logout and login again, open a terminal and type

      wine --version

  to check it is installed successfully.

- Type the following command to make it available from Skychart:

      defaults write ${HOME}/.MacOSX/environment PATH "${PATH}"

- Logout and login again before to try with Skychart.
- If it still say that wine is not installed, type the command:

      echo $PATH

  Copy the result and edit the file /etc/launchd.conf to add the following line including the full content of your $PATH environment:

      setenv PATH /opt/local/bin:/opt/local/sbin:...

See also : http://wiki.winehq.org/MacOSX/Installing

### DOSBox

If you also want the Iridium flare prediction with the satellites pass you need to install the DOSBox software.

- Download the DOSBox dmg from: http://www.dosbox.com/download.php?main=1
- Install in /Applications
- To let Skychart use it, copy the binary file to a location in you PATH, for example the same location as Wine above. Be sure to rename the file with all lowercase letter when you do the copy:

      sudo cp /Applications/DOSBox.app/Contents/MacOS/DOSBox /opt/local/bin/dosbox

- To test, type dosbox from a terminal.

### Video recording

Video recording requires the ffmpeg software.

You can install it with MacPort

- Install MacPort as indicated above for INDI.
- Install ffmpeg from a terminal with this command:

      sudo port install ffmpeg

A static version of the program is also available here: http://ffmpeg.arrozcru.org/autobuilds/

You can also try to install it this way.