A few mistakes in BLFS SVN

gabriel batir gbatir at gmail.com
Wed Aug 9 10:21:31 PDT 2006


Alex Merry wrote:
> This should be installed by xinit-1.0.2 in Xorg-applications.
> 
> Can you do a "which xset" (assuming you have installed which)?
> 
> Also, what prefix have you installed Xorg to? If it's /usr, it should
> work without a problem. If it's something else, you probably need to
> adjust $PATH (have a look at 
> http://www.linuxfromscratch.org/blfs/view/svn/postlfs/profile.html)
> 
> Alex :-)
> 
> 
Thanks for the reply. It solved my problem.

root at proteus:/sources/BLFS# which xset
/usr/bin/xset

root at proteus:/sources/BLFS# which xinit
which: no xinit in (/usr/local/sbin:/usr/local/bin:/bin:/usr/bin:/sbin:/usr/sbin)

root at proteus:/sources/BLFS# which startx
which: no startx in (/usr/local/sbin:/usr/local/bin:/bin:/usr/bin:/sbin:/usr/sbin)

root at proteus:/sources/BLFS# which Xorg
/usr/bin/Xorg

After installing xinit-1.0.2:
root at proteus:/sources/BLFS/xorg-7.1/app/xinit-1.0.2# which xinit
/usr/bin/xinit

This is strange because I used copy&paste to build xorg.

And something else. This is probably my fault, but what have I done wrong?

root at proteus:/sources/BLFS/xorg-7.1/app# cat /etc/group
root:x:0:
bin:x:1:
sys:x:2:
kmem:x:3:
tty:x:4:
tape:x:5:
daemon:x:6:
floppy:x:7:
disk:x:8:
lp:x:9:
dialout:x:10:
audio:x:11:
video:x:12:
utmp:x:13:
usb:x:14:
cdrom:x:15:

root at proteus:/sources/BLFS/xorg-7.1/app# cat /etc/passwd
root:x:0:0:root:/root:/bin/bash

root at proteus:/sources/BLFS/xorg-7.1/app# groupadd -g 25 apache &&
> useradd -c "Apache Server" -d /dev/null -g apache \
>         -s /bin/false -u 25 apache
useradd: unknown GID 100 <- this disapears if I delete GROUP=100 from /etc/default/useradd
useradd: invalid numeric argument 'apache'

Now I have the Apache group with GID 25 but no user apache.

root at proteus:/sources/BLFS/xorg-7.1/app# useradd -c "Apache Server" -d /dev/null -g apache \
>         -s /bin/false -u 25 apache
useradd: unknown GID 100
useradd: invalid numeric argument 'apache'

root at proteus:/sources/BLFS/xorg-7.1/app# useradd -c "Apache Server" -d /dev/null -s /bin/false -u 25 apache
useradd: unknown GID 100
useradd: group apache exists - if you want to add this user to that group, use -g.

Until now i've built apache, mysql, cups and I have the same problem.

Could this be because I have Shadow-4.0.18?

Thanks.



More information about the blfs-dev mailing list