How to install ratpoison with Cygwin
This is my OLD blog. I've copied this post over to my NEW blog at:
http://www.saltycrane.com/blog/2007/07/ratpoison-with-cygwin-works/
You should be redirected in 2 seconds.
Running the minimalist ratpoison window manager with Cygwin/X works. You will need to install the following Cygwin packages:
gcc-core make readline xorg-x11-base xorg-x11-develHere is how to install:
- Download ratpoison
$ tar xvfz ratpoison-1.4.2.tar.gz $ cd ratpoison-1.4.2 $ ./configure $ make $ make install
- Put the following lines in your startxwin.bat file (and remove the other old %RUN% commands):
%RUN% XWin -rootless -clipboard -silent-dup-error %RUN% /usr/local/bin/ratpoison
- Run the startxwin.bat file
UPDATE 11/08/2007:
When I installed this the first time, I had no problems. The second time I installed, after getting a new PC, I got the following error message when running configure:
configure: error: *** Can't find X11 headers and libsI thought the reason was because I forgot to install the
xorg-x11-devel
package which contains the X11 headers. But even after installing it, I still got the same error. I could not figure out the reason why configure was not finding the headers and libs. So after searching the GNU autoconf manual, I found a way to specify the X11 headers and libs on the command line.
./configure --x-includes=/usr/X11R6/include/X11/ --x-libraries=/usr/X11R6/lib/This did the trick. I'm not sure why it worked the first time and not the second time. See the GNU Autoconf manual for more information about the configure script. See also Cygwin, X, ratposoin, screen, rxvt setup
2 comments:
I ran the install and made the changes to the startwinx.bat file, but there is no ratpoison file in the /usr/local/bin directory. Can someone tell me what directory I should be in when I run the install script?
peterv:
I'm not sure why it didn't work. You should be in your untarred ratpoison directory when you run "make install".
Post a Comment