[ LSD on a MAc ]

 
 


INSTALLING LSD AS A NATIVE APPLICATION:

  1. (1)A Mac running Mac OS X 10.5 (either PPC or Intel Processor)

  2. (2)Apple’s XCode : To be found on Mac OS X installation CD/DVD

  3. (3)The ActiveState distribution of Tcl/Tk Libraries : click here

  4. (4)The Latest distribution of LSD : click here

  1. (a)Insert the intallation CD/DVD.

  2. (b)Launch the installation of the package “XCode Tools.mpkg” in the “XCode Tool” folder


  1. (a)Open the downloaded disk image.

  2. (b)Launch the installation of the package.

  1. (a)Unpack the LSD distribution on your preferred location. (NB: Prefer your own user directory)

  2. (b)Open a Terminal and reach the LSD folder.

  3. (c)Compile LSD using the Mac OS X makefile file: type: make -f Makefile-OSX

  4. (d)After the compilation launch the LMM with the command ./lmm or click the LMM icon from the finder.

 

Tutorial for :


  1. 1. Mac OS X 10.6: A step-by-step tutorial to install and run LSD with X11.

  2. 2.Mac OS X 10.5: Completes the information available in the Read-me file to make them accessible to common Mac users.

  3. 3.Mac OS X 10.4 / 10.3: A step-by-step tutorial for the users with little experience with Unix systems, to install and run LSD with X11.

  4. 4.Mac OS X 10.2 /10.1: Please follow the LINK

  5. 5.Additional informations can be found on the LSD forum

2. LsD with Mac Os x 10.5 (Leopard)

Requirements :

  1. (1)A Mac running Mac OS X 10.4 or 10.3 (either PPC or Intel Processor)

  2. (2)Apple’s X11 : To be found on Mac OS X Installation CD/DVD

  3. (3)Apple’s XCode : To be found on Mac OS X installation CD/DVD

  4. (4)Tcl/Tk Libraries : click here (Note : You need to download both tcl and tk files)

  5. (5)Unix distribution of LSD : click here

  6. (6)Mac OS intallation script : Makefile-OSX.zip

  1. (a)Insert the installation CD/DVD.

  2. (b)Launch the installation of the package “Optional Install”.

  3. (c)Within the “Application” menu, select “X11” and click “up-date”.

  1. (a)Insert the intallation CD/DVD.

  2. (b)Launch the installation of the package “XCode Tools.mpkg” in the “XCode Tool” folder

  3. (c)Make sure the “X11 SDK” option is selected. Check it using “Personalised Installation”.


  1. (a)Make sure the Tcl and Tk libraries are located on your Desktop.

  2. (b)Uncompress the files.

  3. (c)Open X11

  4. (d)With the xterm terminal, get to the unix folder of the Tcl  folder.

  5. (e)Configure the installer of the Tcl Libraries: type ./configure

  6. (f)Compile the Tcl Libraries: type make

  7. (g)Install the Libraries
    . You need to be logged as administrator: type sudo make install
  8. (h)You are now asked your administrator password)

  1. (a)Use the same procedure to install the Tk Libraries.

  2. (b)Type : cd /Desktop/tk8.4.1unix/

  3. (c)Type : ./configue

  4. (d)Type : make

  5. (e)Type : sudo make install

  1. (a)Unzip the LSD file and move the folder to your home directory.

  2. (b)Unzip Make-file-OSX.zip

  3. (c)Drag the Makefile-OSX file into the Lsd5.6 folder

  4. (d)Open X11

  5. (e)Using xterm, go into the LSD folder : type cd  Lsd5.6

  6. (f)Compile LSD using the installation script : type make -f Makefile-OSX

  7. (g)Once the process ended type ./lmm If LMM launches, the installation went well                        

  1. (a)Select the lmm file from the Lsd5.6 folder and press “ i” to get the information menu

  2. (b)Modify the Open with menu choosing X11 from the Applications/Utilities folder

  3. (c)From now on you can simply launch LSD by double clicking the lmm file

  4. (d)Launch LSD

  5. (e)Choose a model from the list

  6. (f)Select System Compilation Option from the Model menu

  7. (g)Set the options as follows :                                                                                                                       

 

3. LSD with Mac OS X 10.4 (tiger) & 10.3 (panther)

INSTALLING LSD AS A UNIX APPLICATION:

  1. (1)A Mac running Mac OS X 10.6

  2. (2)Apple’s X11 : To be found on Mac OS X Installation CD/DVD

  3. (3)Apple’s XCode : To be found on Mac OS X installation CD/DVD

  4. (4)Tcl/Tk Libraries : click here (Note : You need to download both tcl and tk files)

  5. (5)Unix distribution of LSD : click here

  6. (6)Mac OS installation script : Makefile-OSX-SnowLeopard.zip

  7. (7)Gnuplot : http://www.gnuplot.info

  1. (a)Insert the installation CD/DVD.

  2. (b)In the “Optional Install” folder, launch the installation of the package “Optional Installs.mpkg”.

  3. (c)Within the “Application” menu, select “X11” and click “up-date”.

  1. (a)Insert the installation CD/DVD.

  2. (b)In the “Optional Install” folder, launch the installation of the package “Xcode.mpkg”.


  1. (a)Make sure the Tcl and Tk libraries are located on your Desktop.

  2. (b)Uncompress the files.

  3. (c)Open X11

  4. (d)With the xterm terminal, get to the unix folder of the Tcl folder.

  5. (e)Configure the installer of the Tcl Libraries with the following options: type ./configure --disable-share

  6. (f)Compile the Tcl Libraries: type make

  7. (g)Install the Libraries. You need to be logged as administrator: type sudo make install

  8. (h)You are now asked your administrator password)

  9. (i)With the xterm terminal, get to the unix folder of the Tk folder:

  10. (j)Configure the installer of the Tk Libraries with the options: type ./configure --disable-share --with-tcl=/usr/local/lib

  11. (k)Compile the Tcl Libraries: type make

  12. (l)Install the Libraries. You need to be logged as administrator: type sudo make install

  13. (m)You are now asked your administrator password)

  1. (a)Unpack the LSD distribution on your preferred location. (NB: Prefer your own user directory)

  2. (b)Open a Terminal and reach the LSD folder.

  3. (c)Compile LSD using the Mac OS X makefile file: type: make -f Makefile-OSX

  4. (d)After the compilation launch the LMM with the command ./lmm or click the LMM icon from the finder.

  1. (a)Launch LSD by double-click on the lmm file.

  2. (b)Choose a model from the list

  3. (c)Select System Compilation Option from the Model menu

  4. (d)Click on “Default UNIX” and modify the options accordingly:

LSDROOT=/Users/Your User Name/LSD (Do not modify this)

TCL_VERSION=8.5

TK_VERSION=8.5

DUMMY=

PATH_TCL_LIB=.

PATH_TK_LIB=.

PATH_TK_HEADER=/usr/include/

PATH_TCL_HEADER=/usr/include

PATH_LIB=/usr/local/lib/

INCLUDE_LIB=-I/usr/local/include/ -I/usr/X11R6/include/

CC=g++

SRC=src

EXTRA_PAR=

SSWITCH_CC=-O2

EXT=



  1. (a)Unpack the gnuplot files.

  2. (b)Open a Terminal and reach the gnuplot folder (NB: the installation fails if you use xterm).

  3. (c)Configure the installer with the following options: type ./configure --with-readline=bsd --x-include=/usr/include/X11 --x-libraries=/usr/X11/lib

  4. (d)Compile the gnuplot: type make

  5. (e)Install gnuplot. You need to be logged as administrator: type sudo make install

  6. (f)You are now asked your administrator password)

1. LsD with Mac Os x 10.6 (Snow Leopard)

Forewords