I've now successfully installed Lyx-1.2.1 on MacOS 10.2 and used it 
long enough to be comfortable with it.  I thought other potential 
users, and the LyX development team, might be interested in my 
experience.  It is not quite as shrink-wrapped as building on Solaris.

Prerequisites:  Follow the directions at 
http://www.la.utexas.edu/~tnishino/osx_lyx/
to install the developer tools, Xdarwin, OroborOSX, fink, and teTeX.  
This takes a bit of fiddling, as fink isn't quite ready with MacOS 
10.2. Make sure fink has installed the newest xforms library (sudo fink 
install xforms).

LyX: Fink will install LyX for you, but I chose to build and install 
from source.  You need to modify  .../boost/boost/detail/limits.hpp to 
include the following:
              #ifndef __APPLE__
              #include <whcars>
              #endif
This would be a useful developer addition to the source code.  You also 
need to declare two environment variables before running make:
         CPPFLAGS = -no-cpp-precomp
         CXX = g++2
The second makes gcc-3.1 emulate gcc-2.95.2.

Configuration: I found that the xdvi in teTeX would not correctly build 
the needed fonts, until I created a wrapper /sw/bin/xdvi.lyx:

    #!/bin/sh
    TEXMF=/usr/local/teTeX/share/texmf
    export TEXMF
    /sw/bin/xdvi "$@"

and configured LyX to use xdvi.lyx as the dvi viewer.  You can 
configure the PDF viewer as "open -a Preview" or use Acrobat.  If you 
get MacGhostViewX, you can configure the Postscript viewer as "open -a 
MacGhostViewX".  I found a networked Postscript printer easy to 
configure in LyX.  There are Mac DVI viewers that could be substituted 
for xdvi.

After many years on Sparc Solaris boxes, I find MacOS 10.2 is a nice 
platform for LyX.  PowerMacs are fast, the option-key functions as a 
native Mac compose key for foreign and special characters, and the Mac 
display and fonts are easy on the eyes.

I hope these notes are useful.

Ronald Florence                 www.18james.com

Reply via email to