JMarc and me are trying to merge all current diffs concerning Win32 into the
current cvs. I have downloaded it today from the US and changed all things
which still are not merged into cvs taken from Ruurds patch file.
I've tried to configure and compile LyX. But I do have many problems because
the Makefiles aren't usable!
Here is what I am using to configure/compile LyX cvs. (All tools are part of
the current CygWin package)
autoconf 2.13
automake 1.4
gettext 0.10.35
GNU m4 1.4
GNU make 3.79.1
ltmain.sh (GNU libtool) 1.3.4 (1.385.2.196 1999/12/07 21:47:57)
I have done the following:
export CXXFLAGS='-O2'
export CFLAGS='-O2'
export LDFLAGS='-lregex'
./autogen.sh
./configure --prefix=/usr
No warning other than XFORM 0.89 may be not usable ;-)
Then when calling make this happens:
[lyx-1.2cvs] $make
make[1]: Entering directory `/src/lyx-1.2cvs'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/src/lyx-1.2cvs'
[lyx-1.2cvs] $
Look at this in the Makefile near line 203:
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in $(srcdir)/aclocal.m4 \
SUBDIRS = intl po sigc++ boost src lib
The backslash make SUBDIRS to be empty! And SUBDIRS is parsed in traget
all-recursive!
Is this an error or due to any tool which differs in functionality?
In 1.1.6fix2 the MAINTENANCE... line looks like this (I have manually
included the linebreaks! In the original Makefile there is one long single
line:
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in $(srcdir)/aclocal.m4 \
$(srcdir)/configure $(srcdir)/development/lyx.spec \
$(srcdir)/acinclude.m4
SUBDIRS = intl po sigc++ boost src lib
After that change po/Makefile was called and runs smoothly. Bit
sigc++/Makefile produces the following error:
make[1]: Leaving directory `/src/lyx-1.2cvs/po'
Making all in sigc++
make[1]: Entering directory `/src/lyx-1.2cvs/sigc++'
Makefile:137: *** Recursive variable `BUILT_SOURCES' references itself
(eventually). Stop.
make[1]: Leaving directory `/src/lyx-1.2cvs/sigc++'
make: *** [all-recursive] Error 1
It seems that there is a similar error in sigc++/Makefile:
BUILT_SOURCES = slot.h object_slot.h func_slot.h class_slot.h \
libsigc_la_SOURCES = $(BUILT_SOURCES) \
libsigc_la_LDFLAGS = \
noinst_LTLIBRARIES = libsigc.la
Any tool called from ./configure obviously has permanntly forgotten to write
following lines or has escaped the newline although it wasn't necessary!
Any idea?
Claus
If there is any question: please mail directly to me because I'm not
subscribed to lyx-devel!