[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] wget metalink support for Google Summer of Code 2012

From: Micah Cowan
Subject: Re: [Bug-wget] wget metalink support for Google Summer of Code 2012
Date: Mon, 23 Jul 2012 12:47:41 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120615 Thunderbird/13.0.1

There is now proper support in configure.ac to find your libmetalink
installation and so forth. The code İlim has added (and the original
concurrency code Giuseppe wrote) is not conditionally-compiled, so it's
not possible to build this version of wget properly _unless_ the proper
configure args are given (--enable-threads and --enable-metalink).

The metalink code in ./configure uses pkg-config, so make sure you have
that installed.

When you build and install the sources for libmetalink (link given below
in Anthony's message), make sure you also already have the development
package for libxml2 installed (libxml2-dev on Debian); otherwise
libmetalink will build okay, but won't provide essential symbols used by
the metalink-enabled wget.

Here's how I got my metalink-enabled wget working. YMMV.

- apt-get install libxml2-dev
- Downloaded libmetalink from the link given below
- In libmetalink dir: ./configure --prefix=$HOME/opt/libmetalink && make
&& install

NOTE: $HOME/opt/libmetalink is obviously a non-standard location. In
order to use it from there, I needed to do:

export PKG_CONFIG_PATH=$HOME/opt/libmetalink/lib/pkgconfig
export LD_LIBRARY_PATH=$HOME/opt/libmetalink/lib

- In metalink-capable wget dir: ./bootstrap && ./configure
--enable-metalink --enable-threads && make

Invocation is: src/wget -i METALINK-FILE --jobs=N (where N > 1 ... I use

BTW, the branch you want from İlim's git repo (below), is "parallel-wget".

I've attached a simple, sample metalink file for testing with.

The po/Makevars issue still seems to be present; you'll need to use the
workaround mentioned on this mailing list in order to get a working
build. I tried both the bootstrap from current official sources (seems
to break at the bootstrap step), and the bootstrap from latest gnulib;
neither seem to fix the issue (a failed symlink attempt for
build-aux/missing prevents bootstrap from reaching the Makevars part of
the script).


On 07/14/2012 01:57 PM, Anthony Bryan wrote:

> you need libmetalink: https://launchpad.net/libmetalink
> and you can try it out from here: https://github.com/ilimugur/GSoC-Project

Attachment: wget.metalink
Description: application/metalink

reply via email to

[Prev in Thread] Current Thread [Next in Thread]