[gobolinux-users] cant install xorg 7.1, Compile freezes
teique
teique at gmail.com
Sun Aug 13 16:51:52 GMT 2006
Lucas C. Villa Real wrote:
> On 8/13/06, Lucas C. Villa Real <lucasvr at gobolinux.org> wrote:
>> On 8/11/06, teique <teique at gmail.com> wrote:
>> >
>> > # I type:
>> > Compile -B xorg
>> > # so I have all packages fetched previously to compile'em
>> > # but then, the fetching/checking stops/freezes just after
>> xorg-server
>> > # look the last entry
>
> By the way, it just worked fine here. All files were fetched and I was
> redirected to the command line at the end of the operation. Maybe
> there was a timeout in certain url?
>
# ok, I did some brain-storm debug on these scripts: Compile,
OptionParser and FetchArchive (they seem all ok about this matter btw
^^); I think if I had used the "Verbose" option it would have been
easyer to figure out ^^
# I found out that after the download of
http://xorg.freedesktop.org/releases/X11R7.1/src/xserver/xorg-server-X11R7.1-1.1.0.tar.bz2
# it was requiring the download of
$httpSourceforge/mesa3d/MesaLib-6.5.tar.bz2
# (these data are from the recipe of xorg-server)
# then I look for $httpSourceforge that is at
/Programs/Compile/Settings/Compile/Compile.conf
# that variable was pointing to
http://unc.dl.sourceforge.net/sourceforge/
# but this url is unresponsive :/, I think it is an old setup from an
old Compile version, I had problems with other packages from sourceforge
also, cuz of same prob (I know it now)
# ok then I moved this path /Programs/Compile/Settings to a temp and
typed SymlinkProgram Compile, but as it wasnt recreated I made a copy of
/Programs/Compile/Current/Resources/Defaults/Settings
# to
/Programs/Compile/
# and now
Compile -B xorg
# is working worked great (still compiling hehe)!!! XD
#####################################
# btw, that Settings path shouldnt be auto-recreated after
SymlinkProgram in case it doesnt exist?
#####################################
# btw I was thinking...
# I understand that /Programs/Compile/Settings (the same to other
packages that have Settings path created) should not be removed or
updated automatically with package defaults,
# as user can make changes to it...,
# so I thought on a cool thing, instead of updating from time to time
the variable httpSourceforge,
# if there could have a looped timeout at all servers where sourceforge
keep files!
# (average download rate, server global proximity to user etc, well many
ideas arise from that...)
# this same idea could be used to other sources that have known mirrors,
# it would work like
(example of dead server)
httpSourceforge="http://unc.dl.sourceforge.net/sourceforge/"
httpSourceforge="http://${baseURL}.dl.sourceforge.net/sourceforge/"
# where baseURL would be set, in a loop, to each of these, after a
timeout failure set at wget:
superb-east
ufpr
puzzle
mesh
superb-west
heanet
optusnet
nchc
kent
surfnet
jaist
switch
belnet
internap
easynews
umn
# I got this data from HTML source code of this url
http://prdownloads.sourceforge.net/audacity/audacity-src-1.3.0b.tar.gz?use_mirror=ufpr
# I think this would be very reliable concerning sourceforge files and
other sources with mirrors :)
# I am going to implement it on a script like "FetchMirrors"
# that I will try to fit into FetchArchive (I think...) w/o much mess
# so I can easly patch new releases of Compile (unless u also like the idea)
# any tip is welcome :)
# I just still wonder if there is already some code to handle timed-out
alternate-mirrors in a loop?
More information about the gobolinux-users
mailing list