[pacman-dev] pacman-git/master doesn't compile to me
Henning Garus
henning.garus at googlemail.com
Mon Aug 24 16:14:03 EDT 2009
On Mon, Aug 24, 2009 at 07:24:49PM +0200, Xavier wrote:
> On Mon, Aug 24, 2009 at 6:58 PM, Nagy Gabor<ngaba at bibl.u-szeged.hu> wrote:
> > Hi!
> >
> > Since bugs.archlinux.org is off-line, I send my problem here. When I
> > want to compile pacman, I get the following error:
> >
> > dload.c: In function ‘download_internal’:
> > dload.c:107: error: ‘struct url’ has no member named ‘last_modified’
> > dload.c:145: error: ‘FETCH_UNCHANGED’ undeclared (first use in this function)
> > dload.c:145: error: (Each undeclared identifier is reported only once
> > dload.c:145: error: for each function it appears in.)
> >
> > Probably my libfetch is too old, but our autoconf system should catch
> > this.
> >
>
> patch welcome :)
>
> I have no idea if it's possible to do that in autoconf.
> And this compilation error makes it very easy to detect your libfetch
> is too old.
>
You can't detect versions directly, but you can check for features, like the
url struct having a member call last_modified. I have sent a patch.
More information about the pacman-dev
mailing list