LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 10-24-2012, 06:22 AM   #1
Forget-Me-Not
Member
 
Registered: Oct 2012
Posts: 55
Blog Entries: 1

Rep: Reputation: Disabled
I can't install anything after installed Python (installing BLFS) & please help me!


I'm building BLFS. I don't know why couldn't install anything after installed Python

I use this document: http://linuxgazette.net/164/laycock.html
Thus I'm sure that nothing's wrong in the Base libraries. And I'm installing the Platform libraries. Help me!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
It's taken me so much time!
Thanks in advance!

Last edited by Forget-Me-Not; 10-24-2012 at 08:15 AM.
 
Old 10-24-2012, 10:14 AM   #2
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
Why not just follow the instructions in the BLFS book to build gnome? The two guides may not be compatible.
 
Old 10-24-2012, 11:30 AM   #3
Forget-Me-Not
Member
 
Registered: Oct 2012
Posts: 55

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
Yes, I did. I've followed instruction in BLFS book.
I just use this document (linuxgazette.net/164/laycock.html) to get idea about minimum system. This is the first time I build the system however I don't think that the packages of BLFS will be installed all. I don't know how can solve this problem! Might you suggest to me another way,too?

Thank you very much!
 
Old 10-24-2012, 11:40 AM   #4
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
exactly where is the problem what package will not install what chapter of the book are you on?
 
Old 10-24-2012, 12:14 PM   #5
Forget-Me-Not
Member
 
Registered: Oct 2012
Posts: 55

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
I installed the packages as following:
Libxml2—Dbus
Gvfs—Intltool
XML::Parser—FreeType
FontConfig—Glib
ATK—Pixman
Cairo-Libpng
Pango—Gtk—PYTHON 2.6.4 <~ Stand here

I knew that the problem wasn't missing package. Because when I installed Python whenever.
For example: pixman~> cairo~> atk. If PYTHON was installed behind cairo, atk counldn't be installed.
Also I can't install another packages after installation of PYTHON.

Please help me!!!

Last edited by Forget-Me-Not; 10-24-2012 at 12:15 PM.
 
Old 10-24-2012, 12:43 PM   #6
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
what version of the book are you using as it looks like your build order is way out I used the latest version ( Version 2012-10-18 ), I installed python before those other packages, this is the download/install order I used from python to Gtk
Code:
wget "http://www.python.org/ftp/python/2.7.3/Python-2.7.3.tar.xz"
wget "http://xcb.freedesktop.org/dist/xcb-proto-1.7.1.tar.bz2"
wget "http://xmlsoft.org/sources/libxml2-2.9.0.tar.gz"
wget "http://xmlsoft.org/sources/libxslt-1.1.27.tar.gz"
wget "http://xcb.freedesktop.org/dist/libxcb-1.8.1.tar.bz2"
wget "http://downloads.sourceforge.net/freetype/freetype-2.4.10.tar.bz2"
wget "http://downloads.sourceforge.net/expat/expat-2.1.0.tar.gz"
wget "http://fontconfig.org/release/fontconfig-2.10.1.tar.bz2"
wget "http://xorg.freedesktop.org/releases/individual/xcb/xcb-util-0.3.9.tar.bz2"
wget "http://dri.freedesktop.org/libdrm/libdrm-2.4.39.tar.bz2"
wget "ftp://ftp.freedesktop.org/pub/mesa/9.0/MesaLib-9.0.tar.bz2"
wget "ftp://ftp.freedesktop.org/pub/mesa/glu/glu-9.0.0.tar.bz2"
wget "http://xorg.freedesktop.org/releases/individual/data/xbitmaps-1.1.1.tar.bz2"
wget "http://downloads.sourceforge.net/libpng/libpng-1.5.13.tar.xz"
wget "http://downloads.sourceforge.net/libpng-apng/libpng-1.5.13-apng.patch.gz"
wget "http://xorg.freedesktop.org/releases/individual/data/xcursor-themes-1.0.3.tar.bz2"
wget "http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/XML-Parser-2.41.tar.gz"
wget --no-check-certificate "http://launchpad.net/intltool/trunk/0.50.2/+download/intltool-0.50.2.tar.gz"
wget "http://xorg.freedesktop.org/releases/individual/data/xkeyboard-config/xkeyboard-config-2.6.tar.bz2"
wget "http://xorg.freedesktop.org/releases/individual/proto/printproto-1.0.5.tar.bz2"
wget "http://xorg.freedesktop.org/releases/individual/lib/libXp-1.0.1.tar.bz2"
wget "ftp://sourceware.org/pub/libffi/libffi-3.0.11.tar.gz"
wget "http://www.linuxfromscratch.org/patches/blfs/svn/libffi-3.0.11-includedir-1.patch"
wget "http://ftp.gnome.org/pub/gnome/sources/glib/2.34/glib-2.34.1.tar.xz"
wget "http://cairographics.org/releases/pixman-0.26.2.tar.gz"
wget "http://ftp.gnome.org/pub/gnome/sources/atk/2.6/atk-2.6.0.tar.xz"
wget "http://cairographics.org/releases/cairo-1.12.4.tar.xz"
wget "http://www.linuxfromscratch.org/patches/blfs/svn/cairo-1.12.4-expose_snapshot-1.patch"
wget "http://www.ijg.org/files/jpegsrc.v8d.tar.gz"
wget "http://download.osgeo.org/libtiff/tiff-4.0.3.tar.gz"
wget "http://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/2.26/gdk-pixbuf-2.26.4.tar.xz"
wget "http://download.icu-project.org/files/icu4c/49.1.2/icu4c-49_1_2-src.tgz"
wget "http://www.freedesktop.org/software/harfbuzz/release/harfbuzz-0.9.5.tar.bz2"
wget "http://ftp.gnome.org/pub/gnome/sources/pango/1.32/pango-1.32.1.tar.xz"
wget "http://icon-theme.freedesktop.org/releases/hicolor-icon-theme-0.12.tar.gz"
wget "http://ftp.gnome.org/pub/gnome/sources/gtk+/2.24/gtk+-2.24.13.tar.xz"
which installs fine
What do you mean exactly when you say you can't install anything? what is the specific package/error?

Last edited by Keith Hedger; 10-24-2012 at 12:46 PM.
 
1 members found this post helpful.
Old 10-24-2012, 01:37 PM   #7
Forget-Me-Not
Member
 
Registered: Oct 2012
Posts: 55

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
I installed Python 2.7.3 and I recognize that my system can't install the packages with unprivileges user. I mean it just can execute command-line with root.
If I install all packages with root, what will be wrong with my system?

Thank you so much!
 
Old 10-24-2012, 01:45 PM   #8
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
By the time you are where you are you should be logged in as root NOT as a normal user either in the booted system or in the chroot system, if you install "sudo" you can install as a normal user but you will still need to install "sudo" as root.
Make sure when you are installing as root you are in the chrooted environment OR have booted into your LFS system.
 
1 members found this post helpful.
Old 10-24-2012, 01:48 PM   #9
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
See This chapter:http://www.linuxfromscratch.org/lfs/...06/chroot.html
 
1 members found this post helpful.
Old 10-24-2012, 01:59 PM   #10
Forget-Me-Not
Member
 
Registered: Oct 2012
Posts: 55

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
THANK YOU VERY MUCH! You're awesome.
 
Old 10-24-2012, 02:29 PM   #11
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
You're welcome.
 
Old 10-26-2012, 01:06 AM   #12
Forget-Me-Not
Member
 
Registered: Oct 2012
Posts: 55

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
I find LiveCD with Linux-3.5.2 & Please help me!

I'm going to build LFS version 7.2
http://www.linuxfromscratch.org/lfs/view/7.2/

I could just find message below which talk about livecd:
http://cross-lfs.org/~kb0iic/livecdupd/

I don't know that should I use it or not?

Replaced 2.6.22.5 kernel with 2.6.39.4 kernel to meet host system requirements (livecd)
Linux-3.5.2 (LFS version 7.2)

Might you give me your advice? Thank you so much!

Sorry!I posted wrong place. I don't know how to remove my wrong record.

Last edited by Forget-Me-Not; 10-26-2012 at 01:14 AM.
 
  


Reply



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
[SOLVED] Installing software in blfs ubuntudude12 Linux From Scratch 7 04-13-2012 10:17 PM
Why do we need Python installed if we use Python apps in Linux? Mr. Alex Linux - Software 3 07-29-2011 06:05 AM
[SOLVED] Installing package(s) with command yum -y install python-libs .. Jan-Ivar Linux - Newbie 6 07-21-2011 08:40 AM
How can I uninstall a python package installed with python setup.py install? milomak Linux - Software 1 11-16-2009 09:22 PM
Why dbus-python is installed, but it is flagged as not installed? redhatwannabe Linux - Enterprise 2 09-26-2009 03:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 08:35 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration