LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-19-2008, 11:38 PM   #1
just.srad
Member
 
Registered: Apr 2008
Location: Singapore
Distribution: Slackware 14.0
Posts: 126

Rep: Reputation: 15
BLFS - to download X-window packages.


We are advised to use the script which make use of wget to download the related packages for X-window.


The script looks for http://xorg.freedesktop.org/releases/individual/${section}
and try to download those required packages... not really sure how the script works.

When i run the script.. it just exit from running script and show me the prompt.

Anyone knows what is the issue? Thanks in advance.
 
Old 09-20-2008, 05:12 PM   #2
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,684

Rep: Reputation: 54
I think you should take the time and effort to download what you need individually - it is only one file from each subdirectory.
The script is an example that may have worked some time ago - but not with how the files on that server are organized now.
I'd go for the newest in each directory - or keep to one specific version for all the different versions in subdirectories in:
http://xorg.freedesktop.org/releases/individual/
The script fails (maybe only partly because...) the "version=7.2" is not found there on the server anymore - it has been organized differently since then.

Maybe you can update the script to the current layout of the files on the server there - and suggest that change to the BLFS Team?

Not tested - my 2 ct
 
Old 09-24-2008, 07:09 AM   #3
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,694
Blog Entries: 1

Rep: Reputation: 219Reputation: 219Reputation: 219
If the script completes successfully, it will exit and return you to the prompt so I presume it is exiting without completing. The example script in the Xorg introduction section will work for the protocol headers, but will need to be changed for the utilities, libraries, applications, etc. This line will need to be changed for each
Code:
section=proto
Additionally, you need to have the *.wget and *.md5 files one directory level higher than the directory you are building in.

Are all the tarballs being downloaded? If so, then you know the error is occurring during the build. If the error is occuring during the build, look at the log file that will be created when you execute the script.

The script will work with the way the files are organized on the server now (and for a long time). The version variable has nothing to do with the URL for the Xorg server, it is used in the filename of the *.wget and *.md5 files. And it is way more than one file from each subdirectory so use the script for sure.
 
  


Reply


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
Need to download packages in windows nightwalker1977 Ubuntu 4 11-19-2007 12:35 AM
can't use adept to download packages mad_alfred Linux - Desktop 2 09-25-2006 03:37 PM
BLFS packages dsider Linux From Scratch 2 10-15-2005 02:18 PM
Mplayer - Which packages to download? madlinux VectorLinux 5 02-09-2004 04:40 PM
apt-get to download packages... mahamkali Linux - Software 3 12-11-2003 10:25 AM


All times are GMT -5. The time now is 06:50 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration