LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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
 
Search this Thread
Old 05-09-2011, 04:33 AM   #1
janakiramulu
Member
 
Registered: Jan 2011
Location: mangalore
Distribution: ubuntu
Posts: 167

Rep: Reputation: 0
gpm-1.20.6-make install-gpm error


i done lfs-6.7
now i moved to BLFS
when i installing GPM-1.20.6

-bash-4.1#pwd
/sources/gpm-1.20.6

but when i try to configuring gpm

-bash-4.1#make install-gpm
result
no git avilable ,not updating version
make:***No rule to make target 'install-gpm'.stop


[i downloaded from this site:http://www.nico.schottelius.org/soft....6.tar.bz2]-as book mentioned
why???
what would be the problem
 
Old 05-09-2011, 06:53 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
Because make install-gpm isn't part of the gpm build.....

(Here we go again) As stated in the book:
Quote:
Boot Script

Install the /etc/rc.d/init.d/gpm init script included in the blfs-bootscripts-20100825 package.
make install-gpm
I also have the feeling you did not:
- read chapter 2, especially the BLFS Boot Scripts part,
- do chapter 3, otherwise you would have come across this issue already.

Sigh......
 
Old 05-10-2011, 12:18 AM   #3
janakiramulu
Member
 
Registered: Jan 2011
Location: mangalore
Distribution: ubuntu
Posts: 167

Original Poster
Rep: Reputation: 0
hi druuna,before doing the things i want to understand the things first then i will move

what i am understand[i read once] from blfs book is:
1)chapter 1,2 is for basic information right?[we have to read it]
2)blfs work will start from chapter 3,but before this chapter-3 i need to install gpm[for mouse]
3)in gpm
below one is non root user[in my case user is janu]
./configure --prefix=/usr --sysconfdir=/etc &&
make

below is as root

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

4)for this command 'make install-gpm'
first i need to download blfs-bootscript package to /sources dir,there i need to untar it
then cd into blfs-bootscript dir:like
-bash-4.1#pwd
/sources/ blfs-bootscript
-bash-4.1# make install-gpm

is right?

5)i need to create following cat command 'in gpm extracted dir' right?
[means -bash-4.1#pwd
/sources/gpm-1.20.6

-bash-4.1# cat /etc/sysconfig/mouse file
MDEVICE="/dev/input/mice"[because i am using pc-desktop,usb mouse]
PROTOCOL="imps2"
GPMOPTS="

is this right?
or shall i read it once ?
 
Old 05-10-2011, 03:35 AM   #4
janakiramulu
Member
 
Registered: Jan 2011
Location: mangalore
Distribution: ubuntu
Posts: 167

Original Poster
Rep: Reputation: 0
> 1 step)
> i created file cat > /etc/sysconfig/mouse
> message was not created mouse ,then unfortunaltely i deleted sysconfig dir in etc/dir
>
[how to get back those other files other than mouse in /etc/sysconfig dir*]
>
> 2-step)i created mkdir sysconfig dir in etc/ dir
> then again i created file cat > /etc/sysconfig/mouse
> this time k
>
> 3 step) i rebooted
> on screen below message
> message /etc/rc.d/init.d/rc:line15:/etc/sysconfig/rc:No such file or
> directory
> INIT:id "1"respawning too fast:disabled for 5 minutes
> INIT:id "3"respawning too fast:disabled for 5 minutes
> INIT:id "5"respawning too fast:disabled for 5 minutes
> INIT:id "4"respawning too fast:disabled for 5 minutes
> INIT:id "6"respawning too fast:disabled for 5 minutes
> INIT:no more processes left in this runlevel
> INIT:id "3"respawning too fast:disabled for 5 minutes
> INIT:id "5"respawning too fast:disabled for 5 minutes
> ........................................ going on........
 
Old 05-10-2011, 03:38 AM   #5
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
Quote:
Originally Posted by janakiramulu View Post
4)for this command 'make install-gpm'
first i need to download blfs-bootscript package to /sources dir,there i need to untar it
then cd into blfs-bootscript dir:like
-bash-4.1#pwd
/sources/ blfs-bootscript
-bash-4.1# make install-gpm

is right?
Did you have any problems when you executed this? Experiment a bit, you can only learn by making mistakes and finding out what you did wrong. If I tell you "Yes, this is correct", you wont learn anything at all.

A tip: extract the blfs bootscripts in /etc/rc.d/init.d. I personally think this is a more suitable location (you might remove the sources directory at one point).

Quote:
5)i need to create following cat command 'in gpm extracted dir' right?
is this right?
No it is not. The location of the file that will be created is inside the cat command, it doesn't matter where you execute it.

Code:
cat > /etc/sysconfig/mouse << "EOF"
# Begin /etc/sysconfig/mouse

MDEVICE="<yourdevice>"
PROTOCOL="<yourprotocol>"
GPMOPTS="<additional options>"

# End /etc/sysconfig/mouse
EOF
The above part does the following: It creates a file called /etc/sysconfig/mouse and fills that file with everything between EOF and EOF (a so called HERE-Document).
 
Old 05-10-2011, 03:41 AM   #6
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
Quote:
Originally Posted by janakiramulu View Post
then unfortunaltely i deleted sysconfig dir in etc/dir

> 2-step)i created mkdir sysconfig dir in etc/ dir
Recreating that directory isn't enough. While building LFS more files were created in that directory. You need to check all the steps in LFS chapter 6 (and possibly 7/8) to find out which files you need to recreate.
 
Old 05-10-2011, 04:02 AM   #7
janakiramulu
Member
 
Registered: Jan 2011
Location: mangalore
Distribution: ubuntu
Posts: 167

Original Poster
Rep: Reputation: 0
k thanks for reply,i got that point

see my etc/sysconfig/mouse file in 5) on post#3

after rebooting still that lines are going on since 1 hour -step3) on post#4
is that because of we missed some[Those files would have come from lfs-how to get back those]files in /etc/sysconfig dir??

what to do in my case ,plz suggest any idea
 
Old 05-10-2011, 05:45 AM   #8
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
Quote:
Originally Posted by janakiramulu View Post
k thanks for reply,i got that point

see my etc/sysconfig/mouse file in 5) on post#3

after rebooting still that lines are going on since 1 hour -step3) on post#4
is that because of we missed some[Those files would have come from lfs-how to get back those]files in /etc/sysconfig dir??

what to do in my case ,plz suggest any idea
See post #6: You need to recreate all the files that are supposed to be in /etc/sysconfig/. The only way you can find out which files that are: Check all of chapter 6 of the LFS book.
 
Old 05-10-2011, 06:23 AM   #9
janakiramulu
Member
 
Registered: Jan 2011
Location: mangalore
Distribution: ubuntu
Posts: 167

Original Poster
Rep: Reputation: 0
k,thanks druuna
k let me check[using lfs-livecd]chapter6,(possible 7,8)
 
Old 05-11-2011, 01:27 AM   #10
janakiramulu
Member
 
Registered: Jan 2011
Location: mangalore
Distribution: ubuntu
Posts: 167

Original Poster
Rep: Reputation: 0
hi duuna
today i rebooted system
i inserted lfs-live cd started checking like below:
1]i done chapter2.4 to chapter4
2]then exited from lfs user then root[ / ]# chapter5.33,after this return root[ / ]#
3]then root[ / ]#here i done chapter 6.2,6.2.1,6.2.2,6.2.3
4]then root[ / ]#6.63. Cleaning Up ,result is root[ / ]#[in white]
5]root[ / ]#[in white]here i redone chapter7
6)then root[ / ]#[in white] chapter 8,in chapter 8:
my fdisk -l :result is sda1-lfs,sda2-swap,sda3-rest partition[i mounted to /media]
but in my fstab file,i used below
/dev/hda1-ext3,/dev/hda2-swap
then root[ / ]#[in white]8.4.2. Setting Up the Configuration

grub-install /dev/sda [here i remove '--grub-setup=/bin/true' part because i dont have any other os[like windows] this time]
result is below:
installtion finished,no error reported
7]then root[ / ]#[in white]grub-mkconfig -o /boot/grub/grub.cfg
result is below
generating grub.cfg..........
found linux image:/boot/linux-2.6.35.4-lfs-6.7
done
[in boot/grub/grub.cfg file>
some starting part
### BEGIN /etc/grub.d/10_linux ###
menuentry "GNU/Linux, Linux 2.6.35.4-lfs-6.7" {
insmod ext2
set root='(hd0,1)']
8]root[ / ]#[in white]/sbin/reboot
...
grub> root (hd0,1)
grub> kernel /boot/grub/core.img
grub> boot
after issuing above command,its rebooted then its not booting into grubvvvvvvv[its booting into lfs live cd]
[ in /mnt/lfs/ existed this file 'grubvvvvvvv']

am i done any mistake??

Last edited by janakiramulu; 05-11-2011 at 03:01 AM.
 
Old 05-11-2011, 02:45 AM   #11
janakiramulu
Member
 
Registered: Jan 2011
Location: mangalore
Distribution: ubuntu
Posts: 167

Original Poster
Rep: Reputation: 0
hi druuna
this time i removed lfs-livecd from cd-rom,
on grub menu i selected 'GNU-LINUX.linux -lfs-6.7'
after some time following message
FAILURE:
file system errors were encountered that could not be fixed automatically.this sysytem cannot continue to boot and will therefore be halted until those errors are fixed manually by a system administrator.
after you press enter,this system will be halter and powered off.

press enter to continue..............

what to do??
any solution?

Last edited by janakiramulu; 05-11-2011 at 03:00 AM.
 
Old 05-11-2011, 03:17 AM   #12
janakiramulu
Member
 
Registered: Jan 2011
Location: mangalore
Distribution: ubuntu
Posts: 167

Original Poster
Rep: Reputation: 0
how to fix that problem[file system errors] from option 'linux -lfs-6.7(recover mode)-on grub menu
 
Old 05-12-2011, 02:00 AM   #13
janakiramulu
Member
 
Registered: Jan 2011
Location: mangalore
Distribution: ubuntu
Posts: 167

Original Poster
Rep: Reputation: 0
hi druuna
i fix the problem
this time my lfs-is working great


thanku
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
GPM error on Fedora 9 login LloydM Fedora 2 10-31-2008 01:51 PM
GPM not working on 10.2 distantlyyours Slackware - Installation 1 09-25-2005 04:15 PM
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 01:28 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