On Mon, 2003-06-02 at 18:59, Harold L Hunt II wrote: > Chris, > > Christopher Thielen wrote: > > > Hello all, > > I'm wanting to experiment with XFree86 on cygwin so I decided I'd try > > to build it from source (plus I'd like Xft2 :)). I downloaded X CVS and > > added #include <cygwin.rules> to config/cf/host.def. > > That is a mistake. You don't need to do that to host.def and it would > be an error to do so. > > Let me point you to a set of directions I wrote that should walk you > through this process: > > http://xfree86.cygwin.com/docs/cg/cygwin-xfree-cg.html
Alright, I followed the instructions as on the URL. Looking through the logs, I found the make all section for programs/xterm, and it appears, while trying to produce resize.exe, it tried to link with "-llibncurses.dll", which did not exist, so it stopped there. I installed the libncurses-devel package and that fixed that. Looking through the World.log for any "Error" or "error", I also came across an error building fontconfig. It appears I needed either ed or ex to complete the installation of fontconfig. I installed the ed package, which did the trick and now, numerous cyg____.dll libs appear in /usr/X11R6/bin. I tried symlinking cygX11.dll to libX11.dll but it still didn't work. I then guessed that maybe symlinking wouldn't work, so I copied cygX11.dll to libX11.dll and it worked! :-) Thanks Harold! Is there anywhere that the requirements for building X are listed? I think that would be a great improvement to the tutorial, but thanks for all your help! Now I can experiment with Xft! :-) -- Chris Thielen ([EMAIL PROTECTED]) > However, after > > issuing make World, make install, and make install.man, I found that > > although X would run, (XWin -rootless was very very cool) any > > application that didn't come with X would report that it could not find > > libX11.dll and applications like xterm were missing. > > I looked into it and from googling and checking the XFree86 packages > > from cygwin I discovered libX11.dll goes in /usr/X11R6/bin. > > /usr/X11R6/bin is in my PATH variable, but the X compile produced no > > libX11.dll, just libX11.dll.a which was symlinked to libX11-6.dll.a. > > My question is this: > > What did I do wrong? How can I get a libX11.dll and how can I get xterm > > working from source? > > xterm should be compiling. Check your build log (see the Contributor's > Guide for info on how to create a build log) for errors related to xterm. > > The library names have changed in CVS, so most documentation on the web > is out of date. The PATH variable does have to be set to point to the > libraries. > > > Harold >
