LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices

Reply
 
LinkBack Search this Thread
Old 03-17-2011, 03:18 PM   #1
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: Ubuntu 12.04/12.10/13.04/LFS/Centos6.3/Debain/PCBSD/Mageia 3
Posts: 1,611
Blog Entries: 1

Rep: Reputation: 226Reputation: 226Reputation: 226
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
 
Old 03-18-2011, 04:05 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
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.
 
Old 03-19-2011, 05:29 PM   #3
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: Ubuntu 12.04/12.10/13.04/LFS/Centos6.3/Debain/PCBSD/Mageia 3
Posts: 1,611
Blog Entries: 1

Original Poster
Rep: Reputation: 226Reputation: 226Reputation: 226
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]
 
Old 03-20-2011, 04:05 AM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
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.
 
Old 03-20-2011, 04:17 AM   #5
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: Ubuntu 12.04/12.10/13.04/LFS/Centos6.3/Debain/PCBSD/Mageia 3
Posts: 1,611
Blog Entries: 1

Original Poster
Rep: Reputation: 226Reputation: 226Reputation: 226
That worked thks, The reason I didn't try that because it said it was for usb.
 
  


Reply

Tags
blfs, gpm


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
GPM not working on 10.2 distantlyyours Slackware - Installation 1 09-25-2005 04:15 PM
gpm problem? ingerul Fedora 0 11-01-2004 10:44 AM
Boot without GPM erickFis Slackware 2 02-12-2004 09:16 AM
Is GPM necessary? erickFis Slackware 10 01-30-2004 05:05 AM
Why does gpm not working? gxie Linux - General 4 11-21-2003 10:52 AM


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

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration