On Tue, Jun 30, 2009 at 08:07:25PM -0400, Ben M. wrote:
> 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

There is a policy of not allowing new autotools versions without testing.
However, I am using automake 1.11 on Solaris from almost a month now
and nothing seems to have been broken, so I committed a patch to trunk
for allowing automake 1.11, too. If nobody reports breakage of some sorts,
after a while we can also apply that to branch.

> 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?

Note that the need for the ugly flags is not a problem with gcc4 itself,
but rather a sort of bug with the ld in the binutils package, so the
version of the loader should be checked rather than the gcc version.
Then, gcc3 is the current default in cygwin and gcc4 must be explicitly
installed and selected as default through the alternatives mechanism,
or used through appropriate configure variables.
So, at it stands, lyx is fully supported on (standard) cygwin and I am
not eager to propose patches for circumventing specific bugs on specific
platforms when the bugs can be easily worked around.

-- 
Enrico

Reply via email to