Item of possible interest to Mac users.
I recently had to do a clean install of Mac OSX 10.5 Leopard on my
Intel Mac.
Following this I found that building LyX required qt-mac-opensource-
src-4.3.3 as LyX builds using previous qt versions resulted in a LyX
that crashed.
To build any qt-mac-opensource version (I tried 4.2.2 which previously
worked OK when built under Tiger and 4.3.2 as well as 4.3.3):
1. I had to delete -fconstant-cfstrings FLAG declarations from
qbase.pri files
2. For a number of files I had to change infix relations such as a==b
to prefix relations such as operator==(a,b). in one case I had to
use ::operator==(a,b), These changes were necessary due to the
compiler producing compilation errors that complained about
"ambiguity". I assume this is problem with the compiler supplied with
Xcode3.0 as for each failure two "candidates" were suggested, one
candidate requiring two parameters and the other requiring one
parameter. As the relations involve two parameters (a and b), it's
hard to see where the "ambiguity" arises!
My configure instruction:
./configure --prefix=/Applications/"LyX1.5svn.app" --with-version-
suffix=-1.5 --without-x --with-qt4-dir=/usr/local/Trolltech/Qt-4.3.3 --
with-included-gettext --enable-optimization=-Os --enable-debug --
enable-assertions
I have pkg-config installed as I need it for other projects.
Regards,
Roger