Huh.

I never had to do any of this to get it to compile and run on
Cygwin 1.3.6.

I wonder what the difference is?

                        ---Kayvan

On Tue, Jan 22, 2002 at 12:15:52PM +0100, Claus Hentschel wrote:
> Attached is my patch against the sources to make Lyx running on Win32 using
> the Cygwin environment (release 1.3.6). Maybe someone is interested and this
> patch will be included in future releases.
> 
> Some remarks to that patch:
> 
> 1) lib/configure.m4 wasn't part of the sources tarball. I've picked that
> using
> http://www.lyx.org/cgi-bin/cvsweb.cgi/lyx-devel/lib/configure.m4?only_with_t
> ag=lyx-1_1_6fix4
> (URL mailed to me by JMarc).
> 
> 2) One more patch in config/libtool.m4 was necessary to ensure configure
> runs without an error. I have just removed the --no-verify option to
> ltconfig.
> My attempt to insert a
>     case "$lt_target" in
>     *-*-cygwin*) ....
>         ;;
>     *) ...
>         ;;
>     esac
> didn't work. Obviously $lt_config can only determined later (Moving that
> part
> before the case statement shows no diff, i.e. the * branch was called ;-(
> 
> 3) To compile it 'out of the box', I've done this:
>     patch -p1 < ../Win32_116fix4.diff
>     export LDFLAGS='-lregex -lintl'
>     export CXXFLAGS='-O2'
>     export CFLAGS='-O2'
>     ./autogen.sh
>     ./configure --prefix=/usr --datadir=/usr/share
>     Uncommented #define HAVE_MKFIFO 1 in src/config.h
>     make install
> Furthermore I have manually moved all lyx.mo files into
> /usr/share/locale/... because the default location /usr/lib/locale will not
> be recognized by Cygwin automatically!
> 
> JMarc wrote me that setting -O2 in both CXXFLAGS and CFLAGS will be the
> default in 1.2 release. I've just set that to save disk space and time!
> 
> Because I'm not described into this list, please send any reply to my eMail
> address directly!
> 
> Claus
> 



-- 
Kayvan A. Sylvan          | Proud husband of       | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)

Attachment: msg31946/pgp00000.pgp
Description: PGP signature

Reply via email to