X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=INSTALL.MacOSX;h=3f7502b3d0c2a08d4848be11f1bf1ae66afa4272;hb=f36359c7f1abd15d0ca86667ff0adfae050832ed;hp=e3c500147de9a6032d30bbdc1d1e8cb4e1c7c84b;hpb=014b9da9e54c37228bd3b8ea9a5b093dede94491;p=lyx.git diff --git a/INSTALL.MacOSX b/INSTALL.MacOSX index e3c500147d..3f7502b3d0 100644 --- a/INSTALL.MacOSX +++ b/INSTALL.MacOSX @@ -10,15 +10,26 @@ here builds LyX linked with a static Qt library. If you are using the tcsh shell, change the "export VAR=value" statements to "setenv VAR value". -At the moment, compiling LyX/Mac requires using gcc version 3.3. You -can tell OS X to use this compiler by entering the following in the -terminal: +PREREQUISITES - sudo gcc_select 3.3 +1. Qt/Mac Free Edition, version 3.3. This library is GPL-licensed +and can be downloaded from +. You will need to +compile it yourself (as described below). -1. Download the GPL-licensed Qt/Mac Free Edition library source code -from , untar in a -convenient directory, cd to the top of the Qt source hierarcy, and: +2. automake, version 1.9 or higher. The easiest way to get this is +to use FinkCommander, which can be downloaded from +. + +BUILD INSTRUCTIONS + +Note that building LyX/Mac requires gcc version 3.3 or higher. (You +can check your version by entering "gcc -v" in the Terminal; you +can change your gcc version to version 3.3, for example, by entering +"sudo gcc_select 3.3".) + +1. Decompress Qt/Mac in a convenient directory, cd to the top of the +Qt source hierarcy, and: export QTDIR=`pwd` ./configure -static -no-exceptions -lresolv [for OS X 10.2, use "./configure -static -no-exceptions"] @@ -35,6 +46,7 @@ you read the note in step 3. cd to the top of the LyX source hierarchy, and: export LDFLAGS="-framework Carbon -framework OpenGL -framework AGL -framework QuickTime -lz" + ./autogen.sh ./configure --with-frontend=qt --without-x --with-included-gettext --enable-optimization=-Os --disable-concept-checks [Note: If you have moved or renamed the LyX/Mac application bundle @@ -53,4 +65,4 @@ comments and suggestions of many users. Due to the variations in individual systems, this information is conveyed as is with no warranty of any kind. -For more information on LyX/Mac, see . +For more information on LyX/Mac, see .