[Bug 12] gpm-1.19.3

bugzilla at linuxfromscratch.org bugzilla at linuxfromscratch.org
Tue Jul 24 10:37:13 PDT 2001


http://blfs-bugs.linuxfromscratch.org/show_bug.cgi?id=12





------- Additional Comments From jeremy at linux-phreak.net  2001-07-24 10:37 -------
Here are the install instructions for GPM as it stands right now:

tar zxf gpm-1.19.3.tar.gz &&
bunzip2 gpm-1.19.3.diff.bz2 &&
cd gpm-1.19.3 &&
patch -p1 < ../gpm-1.19.3.diff &&
./configure --prefix=/usr &&
make &&
make install

Adding to boot-scripts:

cat >> /etc/init.d/gpm << "EOF"
#!/bin/sh
# Begin /etc/init.d/gpm

#
# Include the functions declared in the /etc/init.d/functions file
#

source /etc/init.d/functions

case "$1" in
        start)
                echo -n "Starting gpm mouse daemon..."
                loadproc gpm -t imps2
                ;;

        stop)
                echo -n "Stopping gpm mouse daemon..."
                killproc gpm
                ;;

        restart)
                $0 stop
                /usr/bin/sleep 1
                $0 start
                ;;

        status)
                statusproc gpm
                ;;

        *)
                echo "Usage: $0 {start|stop|restart|status}"
                exit 1
        ;;

esac

# End /etc/init.d/
EOF
cd /etc/rc3.d
ln -s ../init.d/gpm S201gpm
cd ../rc4.d
ln -s ../init.d/gpm S201gpm
cd ../rc5.d
ln -s ../init.d/gpm S201gpm

You also need to create the /dev/mouse device as a symlink to the actual mouse
device (such as psaux)

ln -s /dev/psaux /dev/mouse



More information about the blfs-book mailing list