On May 20, 2007, at 4:47 AM, Roger Mc Murtrie wrote:
Hi Bennet,
I've been trying to compile lyx-1.5.0beta3 but get the following in
response to make:
Making all in config
make[1]: Nothing to be done for `all'.
Making all in development
Making all in MacOSX
Making all in spotlight
make[3]: *** No rule to make target `LyX-Metadata', needed by `all-
am'. Stop.
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
config command:
./configure --prefix=/Applications/"LyX.app" --with-version-
suffix=-1.5 --without-x --with-frontend=qt4 --with-qt4-dir=/usr/
local/Trolltech/Qt-4.2.2 --with-included-gettext --enable-
optimization=-Os --disable-stdlib-debug --disable-concept-checks --
enable-debug --enable-assertions
Setting prefix to /Applications/"LyX.app" seems to correctly
produce bundledir in the spotlight makefile.
I checked that spotlightbindir is set to /Applications/LyX.app/
Contents/Library/Spotlight/LyX-Metadata.mdimporter/Contents/MacOS
which does contain the file LyX-Metadata
Have you any ideas on what might be going wrong?
This is a problem introduced in preparing the sources for beta 3;
it's not a problem for svn. What should happen is that the LyX
application bundle should get automatically created in the directory
specified by the --prefix option; that won't happen because of the
compile failure you're getting. The workaround is to take an existing
version of LyX.app and copy it to the --prefix directory, and then do:
make -k
make -k install
(The -k tells make to continue after errors, such as the one you
encountered. There shouldn't be any other errors.)
Bennett