Am 13.01.2013 um 14:18 schrieb Kornel Benko <kor...@lyx.org>: > Am Samstag, 12. Januar 2013 um 19:24:32, schrieb Jerry <lancebo...@qwest.net> > > Back on the bisection trail.... > > > > I'm having more trouble building from source for this bisection. > > > > When trying to build 2.0.0, I got > > > > LyX only supports automake 1.8 to 1.11. > > > > Macports made it easy to roll back from 1.12.5 or the like to some version > > of 1.11, at which point I got: > > > > LyX only supports autoconf 2.59c-2.68. > > > > which I don't have and which is getting crazy anyway. So I thought I would > > try cmake based on Edwin's suggestion and tried this on both 2.0.0 and > > master: > > > > cmake \ > > -DLYX_EXTERNAL_LIBINTL=ON \ > > -DLIBINTL_INCLUDE_DIR=/opt/local/include \ > > -DLYX_PROGRAM_SUFFIX=OFF \ > > -DLYX_PACKAGE_SUFFIX=OFF \ > > -DLYX_RELEASE=ON \ > > -DLYX_INSTALL=ON \ > > -DLYX_COCOA=ON \ > > -DLYX_INSTALL_PREFIX=/Applications/Words/LyX_outer_folder/Lyx-dev-app/ \ > > /Applications/Words/LyX_outer_folder/lyx-git/lyx/ > > > > This results in > > > > CMake Error: The following variables are used in this project, but they are > > set to NOTFOUND. > > Please set them or make sure they are set and tested correctly in the CMake > > files: > > QT_QT_INCLUDE_DIR (ADVANCED) > > used as include directory in directory > > /Applications/Words/LyX_outer_folder/lyx-git/lyx/src > > <etc. -- more similar lines > > > > > and adding this line as a guess as to what is missing > > > > -QT_QT_INCLUDE_DIR=/opt/local/include \ > > > > or this line > > > > -DLYX_QT_QT_INCLUDE_DIR=/opt/local/include \ > > > > did not help. How do I define QT_QT_INCLUDE_DIR? > > If you are on ubuntu/debian, you have to install the package libqt4-dev. > There should be > a appropriate package on your platform. > > > Also, does this cmake command pollute my source tree? How can I define a > > build tree? > > I tried to pollute as little as possible, but in general, you are not > encouraged to call > cmake from the source tree. > > Create some directory > #mkdir abcd > #cd abcd > #cmake <path to your lyx-source> …
I do it that way and for trunk this is working. For branch it is not. Jerry is on a Mac and want's to make a time travel from 1.6.10 over 2.0.x to 2.1.x. So, he has a problem to do so, probably. Stephan