Thomas de Roo | 8 Feb 22:47
Gravatar

no keyboard or mouse in Xorg

Dear all,

 

I just finished building Xorg. I have xome problems getting the config right. When I start X, I get the following output:

---------------------------------------------------------------------------------------------------------------

X.Org X Server 1.11.2

Release Date: 2011-11-04

X Protocol Version 11, Revision 0

Build Operating System: Linux 3.2.4 i686

Current Operating System: Linux forentientje 3.2.4 #6 SMP Tue Feb 7 12:06:39 CET 2012 i686

Kernel command line: BOOT_IMAGE=/boot/vmlinuz root=/dev/sda3 ro

Build Date: 08 February 2012  08:32:13PM

 

Current version of pixman: 0.24.0

        Before reporting problems, check http://wiki.x.org

        to make sure that you have the latest version.

Markers: (--) probed, (**) from config file, (==) default setting,

        (++) from command line, (!!) notice, (II) informational,

        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.

(==) Log file: "/var/log/Xorg.0.log", Time: Wed Feb  8 22:36:29 2012

(==) Using config file: "/etc/X11/xorg.conf"

(==) Using config directory: "/etc/X11/xorg.conf.d"

(==) Using system config directory "/usr/X11/share/X11/xorg.conf.d"

Parse error on line 7 of section InputClass in file /etc/X11/xorg.conf.d/10-evdev.conf

        "Section" is not a valid keyword in this section.

(EE) Problem parsing the config file

(EE) Error parsing the config file

 

Fatal server error:

no screens found

 

Please consult the The X.Org Foundation support

         at http://wiki.x.org

for help.

Please also check the log file at "/var/log/Xorg.0.log" for additional information.

 

Server terminated with error (1). Closing log file.

xinit: giving up

xinit: unable to connect to X server: Connection refused

---------------------------------------------------------------------------------------------------------------

 

Why is "Section" not a valid keyword in /etc/X11/xorg.conf.d/10-evdev.conf?

When I remove al the config-files from /etc/X11/xorg.conf.d/, Xorg will start, but mouse and keyboard do not work. Any suggestions?

 

Regards,

Thomas

--

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
wim meest | 8 Feb 19:37
Picon
Gravatar

Some comments compiling kde4

Some more comments compiling KDE4, could be my strange linux setup or
it could be some valid typo's in lfs  :-).

---------------------
http://www.linuxfromscratch.org/blfs/view/svn/general/libiodbc.html
I had to:
unset MAKEFLAGS
during make
normally I use:
export MAKEFLAGS="-j 4"
-----------------------
http://www.linuxfromscratch.org/blfs/view/svn/kde4/akonadi.html
site not found, downloaded it from:

http://ftp.osuosl.org/pub/blfs/svn/kde4/akonadi-1.5.0.tar.bz2
-------------------------------
http://www.linuxfromscratch.org/blfs/view/svn/kde4/qimageblitz.html
not found, downloaded from:
http://mirrors.isc.org/pub/kde/stable/qimageblitz/qimageblitz-0.0.6.tar.bz2
----------------------
http://www.linuxfromscratch.org/blfs/view/svn/kde4/oxygen-icons.html
 http://mirrors.isc.org/pub/kde/stable/4.6.0/src/oxygen-icons-4.6.0.tar.bz2
not found, downloaded version 4.8.0 from:
http://mirrors.isc.org/pub/kde/stable/4.8.0/src/oxygen-icons-4.8.0.tar.bz2
---------------------
http://www.linuxfromscratch.org/blfs/view/svn/kde4/kde4libs.html
not found, downloaded:
http://artfiles.org/kde.org/4.8.0/src/kdelibs-4.8.0.tar.bz2

hmm needed:
shared-desktop-ontologies-0.8.1
 instead of Shared-desktop-ontologies-0.5
-----------------
--

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

wim meest | 7 Feb 20:13
Picon
Gravatar

Compiling KDE4 some comments

Alright my first message if I have the wrong list, I'm sorry and I'm a
really big fan of LFS (for years) keep up the good work.

------------------
on page:
http://www.linuxfromscratch.org/blfs/view/svn/kde4/pre-install-config.html

several packages configured by python have the commandline
python ./configure
it must be:
python configure.py
-----------------------
libatasmart:
http://www.linuxfromscratch.org/blfs/view/svn/general/libatasmart.html
the web site doesn't work anymore:
http://0pointer.de/public/libatasmart-0.17.tar.gz
I downloaded it from:
http://ftp.osuosl.org/pub/blfs/svn/l/libatasmart-0.17.tar.gz
----------------------#

pyQT4
Compile it python ./configure
doesn't work for me (script uses qtmake form qt3), I did this:
python configure.py -q /usr/local/qt4/bin/qmake
(could be my problem all my dirs are a bit screwed compared to FHS).
-------------------------

anyway thanks for making LFS, lot's of work but I love it :-).
--

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

jasonpsage | 6 Feb 04:47
Favicon

Intro Xorg-7.6-2 - Should we Skip half the page if prefix = /usr ?

Hello Folks,

I'm dusting off my LFS 7.0 and BLFS work, and I have been thinkning
about why XOrg won't compile for me.

I keep hearing about references to PKG_CONFIG_PATH in emails here and in
articles and things I find online.

Does anyone think maybe I should NOT skip the rest of that page [ BLFS /
x / xorg7.html ] ?

It seems harmless enough to do if you have /usr as your prefix. 

I'm just curious what you folks think :) Thank You.

--Jason

--

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

周平 | 5 Feb 21:25
Favicon
Gravatar

How to build a mini&useful LAMP with SSH server

 Hello Everyone!

After I finished the LFS building,I hope to build  a mini&useful LAMP with SSH server.
So this time I start to build the system after building the toolchain.
And  I think these packages are in need:GRUB, Kernel, Glibc, Bash, IPRoute2, Apache2, PHP,  OpenSSH, OpenSSL,MySQL,CMake,cURL,libarchive,expat.

But I'm not sure If I was right,could you give me some suggestion?

Thank you!~


--

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
tony lemaire | 5 Feb 14:17
Picon
Gravatar

Error building llvm-3.0


.ExternalClass .ecxhmmessage P {padding:0px;} .ExternalClass body.ecxhmmessage {font-size:10pt;font-family:Tahoma;}
Hello everybody,

I have successfully build my own LFS system (SVN-20120122) and now, i continue with the BLF book.
I currently try to implement the X Windows System Environnement (chapter 24), but i failled.

I'm at the step where I must build MesaLib-7.11.2 with it's dependencies called LLVM-3.0.

When i'm compiling LLVM-3.0, i've got this error :

llvm[2]: ======= Finished Linking Release Executable not (without symbols)
make[2]: Leaving directory `/sources/llvm-3.0.src/utils/not'
make[2]: Entering directory `/sources/llvm-3.0.src/utils/unittest'
make[3]: Entering directory `/sources/llvm-3.0.src/utils/unittest/googletest'
llvm[3]: Compiling gtest.cc for Release build (PIC)
llvm[3]: Compiling gtest-death-test.cc for Release build (PIC)
llvm[3]: Compiling gtest-filepath.cc for Release build (PIC)
llvm[3]: Compiling gtest-port.cc for Release build (PIC)
llvm[3]: Compiling gtest-printers.cc for Release build (PIC)
llvm[3]: Compiling gtest-test-part.cc for Release build (PIC)
llvm[3]: Compiling gtest-typed-test.cc for Release build (PIC)
llvm[3]: Linking Release Shared Library libGoogleTest.so
make[3]: Leaving directory `/sources/llvm-3.0.src/utils/unittest/googletest'
make[3]: Entering directory `/sources/llvm-3.0.src/utils/unittest/UnitTestMain'
llvm[3]: Compiling TestMain.cpp for Release build (PIC)
llvm[3]: Linking Release Shared Library libUnitTestMain.so
make[3]: Leaving directory `/sources/llvm-3.0.src/utils/unittest/UnitTestMain'
make[2]: Leaving directory `/sources/llvm-3.0.src/utils/unittest'
make[1]: Leaving directory `/sources/llvm-3.0.src/utils'
make[1]: Entering directory `/sources/llvm-3.0.src/lib/VMCore'
llvm[1]: Building Intrinsics.gen.tmp from Intrinsics.td
/sources/llvm-3.0.src/Release/bin/llvm-tblgen: error while loading shared libraries: libLLVMTableGen.so: cannot open shared object file: No such file or directory
make[1]: *** [/sources/llvm-3.0.src/lib/VMCore/Release/Intrinsics.gen.tmp] Error 127
make[1]: Leaving directory `/sources/llvm-3.0.src/lib/VMCore'
make: *** [all] Error 1
root [ /sources/llvm-3.0.src ]#

For your information, all packages which i've compiled before LLVM-3.0 have successfully compiled.

I didn't find any solution in the web, or i hope to find a solution with the LFS/BLFS community.

If somebody have any solution or idea, it'll be nice to explain me what can i do.

Best regards,

Tony
--

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
DJ Lucas | 5 Feb 09:14
Picon
Favicon

Re: make shadow fails after installation of Linux-PAM

On 02/04/2012 07:43 AM, Ronnie van Aarle wrote:
> $ if [ -L /lib/libpam.so ]; then
>     for LINK in libpam{,c,_misc}.so; do
>         ln -v -sf ../../lib/$(readlink /lib/${LINK}) /usr/lib/${LINK} &&
>         rm -v /lib/${LINK}
>     done
> fi
>
> I do have my doubts on this last if-statement for-loop, because I don't
> realy think it does what it is supposed to do. In my situation, I am
> building shadow from
>
> /sources/security/shadow-4.1.3/
>
> So ../../lib does not exist. I suppose that I can just drop the ../../
> because I think the /lib/libpam{,c,_misc}.so are the files that are
> required. While I'm writing this email I just decided that that is also
> the next thing I want to try, however, I would realy appreciate some
> confirmation from someone who has more skills and routine in bash than I do.

Glad you got it fixed, but I thought I'd point out the misunderstanding 
above as well. When using relative links, they are relative to the link 
target, not the current directory (a very common misconception). IOW: 
/usr/lib/../../lib, not /sources/lib. The difference between ../../lib 
and /lib in the link becomes very important if you were to mount that 
partition elsewhere.

HTH

-- DJ Lucas

--

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

alupu | 5 Feb 02:23
Picon

Questions on (b)lfs-bootscripts-20120127

>> Alex:
>>  4. How is the 'setclock' script run on "stop" (reboot, poweroff, etc.)?
>> There used to be a 'K46setclock' in 'rc6.d' (i.e. level 6):
>> "Setting hardware clock..."
>>  hwclock --systohc ...

> Bruce:
> Yes, I remember that.  It should have been in an old version of the LFS
> Makefile for the boot scripts, but I went back 8 years and couldn't find it.

So the bottom line is 'setclock' no longer stops nowadays,
i.e., we'll forever miss the thrill of seeing 
the current script code section,
stop)
"Setting hardware clock..."
  hwclock --systohc ...

in action.

-- Alex
--

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
alupu | 5 Feb 01:34
Picon

Questions on (b)lfs-bootscripts-20120127

 4. How is the 'setclock' script run on "stop" (reboot, poweroff, etc.)?

There used to be a 'K46setclock' in 'rc6.d' (i.e. level 6):

"Setting hardware clock..."
 hwclock --systohc ...

What am I missing?
Thanks,
-- Alex
--

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

John Burrell | 4 Feb 22:55
Picon

kmod-4


Bruce - strictly lfs - sorry, but I'm not registered in lfs-support.

I replaced module-init-tools with kmod.

In the configure --libdir=/lib

This means that kmod puts libkmod.pc in /lib/pkgconfig

Of course, there are many ways to get the pc file into /usr/lib/pkgconfig, where it belongs.

I did:

sed -i 's|pkgconfigdir = $(libdir)/pkgconfig|pkgconfigdir = /usr/lib/pkgconfig|' Makefile.am

autoreconf

then as per the book.

I'm sure you'll have your preferred solution.

jb.
 		 	   		  
--

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Andrew Benton | 4 Feb 14:54
Picon

Re: make shadow fails after installation of Linux-PAM

On Sat, 4 Feb 2012 14:43:36 +0100
Ronnie van Aarle <ronnie.van.aarle <at> gmail.com> wrote:

> Well, I tried, and it seems my assuptions on the libdir= from
> libpam_misc.lawas right. I did the same thing again for
> libpam.la because libpam.so also was not found.
> 
> However, now I ran into a new problem, and I am not sure how to fix it. The
> issue now is:
> 
> $ ls -lag /usr/lib/libpam{,misc}.so
> lrwxrwxrwx 1 blfs 10 feb  3 13:24 /usr/lib/libpam_misc.so -> ../../lib/
> lrwxrwxrwx 1 blfs 10 feb  3 13:24 /usr/lib/libpam.so -> ../../lib/
> 
> It seems like both symlinks are pointing to the directory ../../lib.
> 
> I know some basics on bash, but its still puzzling for me and far from
> routine. I thought I might have done something wrong so I went on step
> back, unzipped Linux-PAM again and did these steps over:
> 
> $ make install
> $ chmod -v 4755 /lib/security/unix_chkpwd
> 
> I skipped the tests that had to do with *.la because these files are
> updated with the new path and allready in place.
> 
> $ mv -v /lib/security/pam_tally /sbin
> 
> $ if [ -L /lib/libpam.so ]; then
>    for LINK in libpam{,c,_misc}.so; do
>        ln -v -sf ../../lib/$(readlink /lib/${LINK}) /usr/lib/${LINK} &&
>        rm -v /lib/${LINK}
>    done
> fi
> 
> I do have my doubts on this last if-statement for-loop, because I don't
> realy think it does what it is supposed to do. In my situation, I am
> building shadow from
> 
> /sources/security/shadow-4.1.3/
> 
> So ../../lib does not exist. I suppose that I can just drop the ../../
> because I think the /lib/libpam{,c,_misc}.so are the files that are
> required. While I'm writing this email I just decided that that is also the
> next thing I want to try, however, I would realy appreciate some
> confirmation from someone who has more skills and routine in bash than I do.
> 
> I'm a bit afreight of deviating from the instructions from the book,
> because in the past, with earlier attempts of installing lfs, I also found
> issues that forced me to attempt solving things myself and I did end up
> with a broken or incomplete build, which is luckily not the case this time.
> 
> Besides that I'm also a bit paranoid on every package that has to do with
> security, because in the near future I want to make another lfs build that
> I want to use for website hosting, and I do need to be able to guarantee my
> future users a stable service.
> 
> This one is on a notebook, with which I want to develop and test the
> applications and configurations that I want to deploy on the next
> installation, a server for hosting them.
> 
> Any assistance is realy appreciated, because I have to rely on the quality
> and stability of the resulting builds in the future.
> 

I'm sorry for your troubles, unfortunately I'm a bit busy at the moment
and I won't be able to look at this for a day of two.

Andy
--

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Gmane