How to install ratpoison with Cygwin
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
3
Comments
—
Comments feed for this post
#2 sofeng commented on 2008-02-03:
peterv:
I'm not sure why it didn't work. You should be in your untarred ratpoison directory when you run "make install".
#3 Robert commented on 2008-08-14:
You need to include 'make' package to that list since the default cygwin install doesn't include that.
Post a comment
About
I'm Eliot and this is my notepad for programming topics such as Python, Django, Ubuntu, Emacs, etc... more »
Search Blog
Tags
-
algorithms
(5)
-
aws
(9)
-
blogproject
(20)
-
c_cplusplus
(12)
-
cardstore
(8)
-
colinux
(2)
-
concurrency
(13)
-
conkeror
(2)
-
core
(2)
-
cygwin
(17)
-
datastructures
(14)
-
datetime
(4)
-
decorators
(4)
-
django
(40)
-
emacs
(22)
-
files_directories
(11)
-
git
(5)
-
hardware
(5)
-
install_setup
(8)
-
javascript
(3)
-
keyboard
(9)
-
matplotlib
(5)
-
mercurial
(4)
-
nginx
(2)
-
persistence
(5)
-
preferences
(7)
-
processes
(4)
-
pyqt
(18)
-
python
(144)
-
ratpoison
(3)
-
regexes
(6)
-
rsync
(3)
-
softwaretools
(17)
-
sql
(14)
-
ssh
(10)
-
subversion
(6)
-
twisted
(7)
-
ubuntu
(65)
-
urxvt
(5)
-
vxworks
(25)
-
webdev
(5)
-
wmii
(7)
Blogroll
- Adam Gomaa
- Alex Clemesha
- Amir Salihefendic
- Armin Ronacher
- David Beazley
- David Ziegler
- Duncan McGreggor
- Gareth Rushgrave
- Glyph Lefkowitz
- Guido van Rossum
- Ian Bicking
- Jacob Kaplan-Moss
- James Bennett
- James Tauber
- Jesper Noehr
- Marty Alchin
- Matt Harrison
- Nikolay Kolev
- Parand Darugar
- Peter Baumgartner
- Peter Bengtsson
- Rob Hudson
- Simon Willison
- Will McGugan
#1 PETERV commented on 2008-02-03:
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?