On Tue, Jun 30, 2009 at 6:04 PM, Enrico Forestieri<for...@lyx.org> wrote: > Note that those three lines are actually what is necessary to compile > and install LyX provided that 1) you set the QT4DIR environment variable > to the directory where you installed Qt4, and 2) you use the gcc3 compiler.
Well, almost. Is there a good reason automake 1.11 isn't supported? Paraphrasing autogen.sh: case $automake_version in *' '1.[5-9]*|*' '1.10*) echo "This automake version is not supported by LyX." echo "LyX only supports automake 1.5 to 1.10."; exit 1 > When using gcc4, though, the configure script needs a small tweak due > to a still unresolved problem with weak symbols, and some ugly compiler > flags (such as -Wl,-enable-auto-import -Wl,-enable-stdcall-fixup) are to > be used. Ah, I was wondering why those were necessary... and sad when my build failed without them. Thanks for the explanation! > So, it is more handy having a script doing that rather than > manually typing. Yes, but shouldn't that script be ./configure itself? Since ./configure already detects the gcc version, would it be easy (for an automake expert) to add these flags while we wait for binutils and the weak symbols problem? > As regards the extra cygwin stuff, I am going to commit something > to development/cygwin, such that when building LyX from the sources, you > will automatically have installed the necessary scripts and ancillary > programs. That will be awesome! =) -Ben