2 Ronald Florence <ron@18james.com>
3 Modified by Bennett Helm <bennett.helm@fandm.edu>
5 LyX/Mac is built from the LyX source, the GPL-licensed Trolltech
6 Qt/Mac library, and a custom application bundle.
8 You will need the MacOSX development tools. The procedure described
9 here builds LyX linked with a static Qt library. If you are using the
10 tcsh shell, change the "export VAR=value" statements to
13 1. Download the GPL-licensed Qt/Mac Free Edition library source code
14 from <http://www.trolltech.com/download/qt/mac.html>, untar in a
15 convenient directory, cd to the top of the Qt source hierarcy, and:
19 ./configure -static -no-exceptions [for Panther, use "./configure -static -no-exceptions -lresolv"]
23 2. Download the LyX/Mac skeleton from
24 <ftp://ftp.lyx.org/pub/lyx/stable/lyx-mac-1.3.5-skeleton.tar.gz> and
25 unpack it in /Applications. Change the references to "1.4.0" in
26 /Applications/LyX.app/Contents/Info.plist to reflect the current
29 3. Using the same terminal session you used to build the Qt library,
30 cd to the top of the LyX source hierarchy, and:
32 export LDFLAGS="-framework Carbon -framework OpenGL -framework AGL -framework QuickTime -lz"
33 ./configure --with-frontend=qt --without-x --datadir=/Applications/LyX.app/Contents/Resources --bindir=/Applications/LyX.app/Contents/MacOS --mandir=/Applications/LyX.app/Contents/Resources/man --enable-maintainer-mode --with-included-gettext --enable-optimization=-Os
37 rm /Applications/LyX.app/Contents/Resources/LyX/images/lyx.xpm
39 [Note that removing lyx.xpm -- the point of the last line above -- is
40 necessary to use the Mac OS X native icon files included in the
43 The information on this page is believed to be accurate, has been used
44 successfully on many systems and sites, and has benefited from the
45 comments and suggestions of many users. Due to the variations in
46 individual systems, this information is conveyed as is with no
49 For more information on LyX/Mac, see <http://wiki.lyx.org/pmwiki.php/LyX/Mac>.