You will need the MacOSX development tools. The procedure described
here builds LyX linked with a static Qt library. If you are using the
-tcsh shell, change the "export VAR=value" statements to
+tcsh shell, change the "export VAR=value" statements to
"setenv VAR value".
1. Download the GPL-licensed Qt/Mac Free Edition library source code
from <http://www.trolltech.com/download/qt/mac.html>, untar in a
convenient directory, cd to the top of the Qt source hierarcy, and:
- export QTDIR=`pwd`
+ export QTDIR=`pwd`
sudo gcc_select 3.3
./configure -static -no-exceptions [for Panther, use "./configure -static -no-exceptions -lresolv"]
- make
+ make
rm lib/libqt.la
2. Download the LyX/Mac skeleton from
unpack it in /Applications. Change the references to "1.4.0" in
/Applications/LyX.app/Contents/Info.plist to reflect the current
version number.
-
+
3. Using the same terminal session you used to build the Qt library,
cd to the top of the LyX source hierarchy, and: