LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (http://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Gpm 1.20.6 blfs (http://www.linuxquestions.org/questions/linux-from-scratch-13/gpm-1-20-6-blfs-869256/)

spiky0011 03-17-2011 04:18 PM

Gpm 1.20.6 blfs
 
I,m having a problem with GPM 1.20.6 in blfs. I ran the 1st part of the command
Code:

./configure --prefix=/usr --sysconfdir=/etc &&
make

When i try the 2nd part
Code:

make install                                                        &&
install-info --dir-file=/usr/share/info/dir \
              /usr/share/info/gpm.info                              &&
ln -v -s libgpm.so.2.1.0 /usr/lib/libgpm.so                        &&
install -v -m644 conf/gpm-root.conf /etc                            &&
install -v -m755 -d /usr/share/doc/gpm-1.20.6                      &&
chmod  -v    755    doc/{changes,support}                          &&
chmod  -v    644    doc/{changes/*,support/*,FAQ,HACK_GPM,README*} &&
cp      -v -R        doc/{FAQ,HACK_GPM,README*,changes,support} \
                    /usr/share/doc/gpm-1.20.6

I only get as far as
Code:

make install &&
install-info --dir-file=/usr/share/info/dir \

I only get as far as \ then enter, It then runs through the install process and of course an error

druuna 03-18-2011 05:05 AM

Hi,

You probably have a space or tab after the \, there shouldn't be.

You can rewrite the given steps like this if you want to:
Code:

make install &&
install-info --dir-file=/usr/share/info/dir /usr/share/info/gpm.info        &&
ln -v -s libgpm.so.2.1.0 /usr/lib/libgpm.so                                &&
install -v -m644 conf/gpm-root.conf /etc                                    &&
install -v -m755 -d /usr/share/doc/gpm-1.20.6                              &&
chmod  -v    755    doc/{changes,support}                                  &&
chmod  -v    644    doc/{changes/*,support/*,FAQ,HACK_GPM,README*}        &&
cp      -v -R        doc/{FAQ,HACK_GPM,README*,changes,support} /usr/share/doc/gpm-1.20.6

Hope this helps.

spiky0011 03-19-2011 06:29 PM

ok thks for that installed ok, now I have a problem setting up the mouse to work, I am running a laptop the mouse worked in lfs. I HAVE set MDEVICE to "dev/psaux" THEN "dev/syn" THEN "dev/synps2". PROTOCOL is set to "imps2" There dos'nt seem to much help on google. Just before the login screen GPM is started [ok]

druuna 03-20-2011 05:05 AM

Hi,

Assuming you use an actual mouse on your laptop, the steps given should work.

I use the following options:
Code:

MDEVICE="/dev/psaux"
PROTOCOL="imps2"
GPMOPTS=""

You don't mention trying /dev/input/mice as option for MDEVICE, which is used in general for USB mice (/dev/psaux is for ps2 mice). The LFS liveCD uses this:
Code:

MDEVICE="/dev/input/mice"
PROTOCOL="imps2"
GPMOPTS=""

Hope this helps.

spiky0011 03-20-2011 05:17 AM

That worked thks, The reason I didn't try that because it said it was for usb.


All times are GMT -5. The time now is 02:13 AM.