Claus, thanks a lot for your answer, I 'll cc this to the devel list since it might interest the guys there. As it looks like, we made the exact same experiences. >> My version of cygwin << I used to have cygwin-b20 and was naive enough to delete my old installation and get the all new version... Anyway, I have cygwin-1.1.2 net release with gcc-2.95.2. I did _not_ install the X11R6.4 libraries and header files from the cygwin site, but I had these with cygwin-b20 and, yes, the header files X11.h and Xutil.h cause gcc-2.95.2 to freak out... The X11R6.4 release is outdated and should no longer be used. I did report this to the cygwin list but I was told more or less to shut up.... Setting -fpermissive allowed me to compile LyX w/cygwin-b20. My conclusion is that the X11R6.4 package from the cygwin site is way outdated. The headers seem to be older than what you will find on Linux for example. I therefore got the Xfree86 stuff from the cygwin site and I do not have problems with these warnings anymore. << Xforms >> Yes, forms library is not correctly recognized even when you specify --with-extra-inc --with-extra-lib. This might be because 0.881 is fairly old, yet the newest one you can find for cygwin. If I need to say anything else about the dreaded xforms library I'll just get mad so I wont. << manually adding xforms >> Yes, same here ignoring the warning and manually modifying config.status to include the libraries will compile everything almost cleanly (except for warnings for the rb_tree inline stuff). But linking fails with the unresolved symbol _ctype_ . A change in the glibc could be the reason, I am not sure where the undefined symbol comes from maybe it is libforms.a in that case we are s.o.l. and a new forms library is mandatory to get things to run with cygwin-1.1. I know that some of the developers are on the Xforms mailing list. Xforms is moving extremely slow these days and it is becoming more obsolete know that even Motif has at least halfway seen the light. Anyway maybe someone could get a new version of Xforms to be compiled against cygwin-1.1.2 but I kinda doubt it. I will probably move back to cygwin-b20 for now. Good luck - please keep me posted. I would very much like a package the one could "just install". There is even rpm for windows these days, rpm beats all the windows installers hands down a million times. << XFree86>> Looking good, I got it to run on my NT box, full screen mode only, but hey - this is a huge step forward. Put on KDE and run it as the default shell instead of explorer and you'd have a decent environment on NT :-) Well, just kidding, but as a free solution this is not bad at all. Thanks Roland Claus Hentschel wrote: > Roland, > > here is my answer to your questions mailed this weekend: > > > could you post a few instructions on how you did the port, i.e. which > > version of Cygwin and xforms? I am having some trouble with the latest cvs > > code, i.e. I get errors when compiling from the forms.h header files.... > > Really strange since it used to work. I am using cygwin-1.1.2 the net > > release and bxforms-0881 from the xforms website. Also which version of > X11 > > do you have? I always get tons of warnings and I have to set the compiler > > switch -fpermissive in config.status. > > I am using XFree86-4.0 from the Cygwin website. > > The released version has been compiled with cygnus b20.1 and xforms-0881 for > win32 from the xforms website. I am using an x11r64 release which fetched > from a site which I didn't remember because of some win9x crashes. > > Last week I installed cygwin 1.1.2 and the official X11R6.4 package for > b20.1! And -- same as you have written -- I got tons of error messages. At > the moment I have fixed Xlib.h and Xutil.h which allows compiling without > the -fpermissive flag set. > > Problems I have detected for now: > 1. libforms.a isn't recognized although installed correctly in /usr/lib > ????? > 2. Manually setting -lforms in the src-Makefile leads in some unresolved > externals. All telling me that '_ctype_' isn't recognized for many functions > in libforms.a???? > > So I cannot link Lyx.exe with the new release! > > You told, that with your installation you can build lyx.exe!? So what is > different at your site? Maybe you can explain me a little bit more your > environment. I think: It's time to move to cygwin 1.1 because the new > release of cygwin seams to be much more stable than b20.1!! > > > PS: For all you guys that cant afford a real X-server :-) The Cygwin guys > > now have a "stable" port of XFree86 for Windows - It is quite amazing > after > > all these years. I have not tried LyX with it but as soon as I get it to > > compile I'll test it. > > That is very interesting!!! So it maybe possible to present a real > out-of-the-box package with ALL you need to run LyX! Please send me details > of your tests! > > Thats for now! > > Regards > Claus -- Dr.-Ing. Roland Krause Engineering Software Research and Development Inc, Saint Louis, MO voice: (314) 983 0649-12
