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-18-2006, 11:53 AM   #1
silkenphoenixx
Member
 
Registered: Aug 2006
Location: Pretoria, South Africa
Distribution: Linux Mint 13 Cinnamon
Posts: 66

Rep: Reputation: 16
clfs X setup


I just downloaded all the packages and finished building a pure64 clfs 1.0.0 system, which worked quite well. I then used the instructions at the wiki (http://cblfs.cross-lfs.org/index.php/Main_Page) to basically just fix up the /etc/profile and then I went about trying to install x11r7.

I got to the protocol headers, and on some of them the configure scripts failed, complaining that "pkg-config" cannot be found. Does it sound like I've done something wrong? Is something just missing that I need to install, or can I somehow bypass it?

Thanks in advance
silkenphoenixx
 
Old 10-19-2006, 05:24 AM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
You'll have to install pkg-config. It's not part of the CLFS build. There are instructions on the WIKI. BTW, here is a script that will automate some of the Xorg7 installation.
 
Old 10-19-2006, 10:45 AM   #3
silkenphoenixx
Member
 
Registered: Aug 2006
Location: Pretoria, South Africa
Distribution: Linux Mint 13 Cinnamon
Posts: 66

Original Poster
Rep: Reputation: 16
Ok, thanks, I'll look for it now.

Thanks for the script, but since this is my first build I want to do it all by myself, it's a learning experience.
 
Old 10-19-2006, 11:27 AM   #4
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
I understand that. I would recommend that you use the *.wget files to download all the tarballs. Once you've downloaded one tarball manually, you've downloaded them all manually.

You'll need to install wget to download the tarballs. You'll also need expat, FreeType2, Fonconfig, and libpng to make it through the Xorg build. It tells you that in the wiki, but its less frustrating to know up front.
 
Old 10-20-2006, 11:32 AM   #5
silkenphoenixx
Member
 
Registered: Aug 2006
Location: Pretoria, South Africa
Distribution: Linux Mint 13 Cinnamon
Posts: 66

Original Poster
Rep: Reputation: 16
Thanks. BTW, I'm booting slackware and using it to surf and download, because I'm not Quite so comfortable with a console-only interface, so I don't need to install wget yet, though I should probably get around to it at some stage. I have all the xorg7 tarballs already.
 
Old 10-21-2006, 06:04 AM   #6
silkenphoenixx
Member
 
Registered: Aug 2006
Location: Pretoria, South Africa
Distribution: Linux Mint 13 Cinnamon
Posts: 66

Original Poster
Rep: Reputation: 16
Ok, new problem, arow, I wonder if you can help:

I installed pkg-config along with all the other things that you recommended (libpng, expat, freetype, etc) and all went rather smoothly.

When I attempted to install the X Protocol headers (the utility macros went well) most of them went fine until Imake I think, which instead of complaining about pkg-config being missing, complained that the package XPROTO could not be found.

Undeterred, I installed the xproto package in the proto directory (I used wget to download all the stuff into directories as the wiki advises) and then tried to install imake (and subsequently the remaining problematic packages) again but the same thing happened. Was there some config file that I missed editing, some environment variable that I didn't put in?
 
Old 10-25-2006, 08:07 AM   #7
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Quote:
Originally Posted by silkenphoenixx
I installed the xproto package in the proto directory
Clarify this for me. Did you do this?
Quote:
install -dv {app,data,doc,driver,font,lib,proto,util}
You don't install the protocol headers into these directories, just work in them. Everything should be installed in $XORG_PREFIX/<where_it_goes>.

If I just misunderstood, try
Code:
PKG_CONFIG_PATH=$XORG_PREFIX/lib/pkgconfig ./configure $XORG_CONFIG
if you're doing a non-multilib build.

BTW imake is not a proto header, it's a utility. You need to install the headers first.

Last edited by weibullguy; 10-25-2006 at 09:06 AM.
 
Old 10-26-2006, 11:56 AM   #8
silkenphoenixx
Member
 
Registered: Aug 2006
Location: Pretoria, South Africa
Distribution: Linux Mint 13 Cinnamon
Posts: 66

Original Poster
Rep: Reputation: 16
hmmm... to tell you the truth, I'm not actually sure what I did, I can't remember.

Quote:
install -dv {app,data,doc,driver,font,lib,proto,util}
Where is this, or rather, where should it be? In my working directory? I think I did this, then I cd'd into the various diredctories like the wiki said to and used the little list provided (and wget) to download all the necessary packages.

I haven't gotten to my clfs build for a while actually, I've been busy. I'll get back to it either today or tomorrow, then I'll let you know if I come right...

Thanks
silkenphoenixx
 
Old 10-26-2006, 12:40 PM   #9
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Yup. Install those subdirectories in the main X11 working directory (called xc in the wiki). You end up with /xc/app, /xc/data, etc.

If you're interested in what goes where, you can check out this link. All the proto headers are there already. Check back often, 'cause it changes daily.
 
  


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
CLFS: error while making texinfo 4.8 magesing Linux From Scratch 3 02-05-2009 10:17 AM
How do I use GRUB with x86_64 CLFS? fatsheep Linux From Scratch 2 10-18-2006 11:58 AM
CLFS 1.0.0 Released mdh Linux From Scratch 1 09-30-2006 09:42 PM
The differenc between CLFS,BLFS ALFS and LFS sumargin Linux From Scratch 5 09-29-2006 04:46 AM
CLFS Expect-5.43.0 caio53 Linux From Scratch 3 05-05-2006 07:16 AM

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

All times are GMT -5. The time now is 01:30 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