Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
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.


  Search this Thread
Old 09-27-2008, 03:01 AM   #1
Registered: Apr 2008
Location: Singapore
Distribution: Slackware 14.0
Posts: 131

Rep: Reputation: 15
Question BLFS - X windows system; a simple query.

While i was following the instructions for the Fontconfig-2.4.2
i discovered that,for the second part of the instruction , we need to log in as "root".

Aren't we suppose to log in as "root" for the whole of BLFS?
Would i break anything if i use "root"
for all the compilations of BLFS?

Thanks in advance.

./configure --prefix=/usr \
    --sysconfdir=/etc --localstatedir=/var \
    --disable-docs --without-add-fonts \
    --with-docdir=/usr/share/doc/fontconfig-2.4.2 &&
then log in as "root" for the below.

make install &&
install -v -m644 doc/*.3 /usr/share/man/man3 &&
install -v -m644 doc/*.5 /usr/share/man/man5 &&
install -v -m755 \
        -d /usr/share/doc/fontconfig-2.4.2/fontconfig-devel &&
install -v -m644 doc/*.{html,pdf,txt} \
        /usr/share/doc/fontconfig-2.4.2 &&
install -v -m644 doc/fontconfig-devel/* \

Last edited by just.srad; 09-27-2008 at 03:51 AM.
Old 09-27-2008, 07:15 AM   #2
ReliaFree Maintainer
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,779
Blog Entries: 1

Rep: Reputation: 243Reputation: 243Reputation: 243
You have to be root to do the install step. The configure and make steps don't need to be executed as root and it's really not a good habit to get into. IIRC, all the instructions say "Now, as the root user:" before the step that installs the package.
Old 09-27-2008, 08:54 PM   #3
Registered: Apr 2008
Location: Singapore
Distribution: Slackware 14.0
Posts: 131

Original Poster
Rep: Reputation: 15
Thanks for the info.. got it !


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
Doubleprompt in LFS-6.3 system after starting BLFS....?? andrew.sharp3 Linux - Software 0 01-15-2008 08:29 PM
Very weird errors compiling freetype-2.1.10 on my BLFS system athenian200 Linux - Software 1 03-13-2007 01:21 AM
Simple query sachinh Linux - Hardware 2 12-28-2004 11:42 PM
a simple query sachinh Linux - Security 1 11-29-2004 06:13 AM
maybe NOT so simple an output query dougp Linux - General 1 09-05-2002 08:42 PM

All times are GMT -5. The time now is 01:36 PM.

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