Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Feb 2009 23:19:11 -0900
From:      Mel <fbsd.questions@rachie.is-a-geek.net>
To:        freebsd-questions@freebsd.org, glyn@millingtons.org
Cc:        ipfreak@yahoo.com
Subject:   Re: xi?
Message-ID:  <200902282319.11605.fbsd.questions@rachie.is-a-geek.net>
In-Reply-To: <86sklxn7w4.fsf@nowhere.org>
References:  <519648.29931.qm@web52107.mail.re2.yahoo.com> <86sklxn7w4.fsf@nowhere.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 28 February 2009 20:12:43 Glyn Millington wrote:
> gahn <ipfreak@yahoo.com> writes:
> > Hi all:
> >
> > I am rebuilding those ports and run into some problems. one of those
> > is:
> >
> > checking for XINPUT... configure: error: Package requirements (x11 xext
> > xi >= 1.2 inputproto >= 1.5) were not met:
> >
> > Requested 'xi >= 1.2' but version of Xi is 1.1.3
> >
> > searching for a while and can't find this "xi". how could I upgrade
> > this "xi"?
>
> /usr/ports/X11/libXi  would be my guess :-)

The long answer:
- this is an error from pkg-config
- pkg-config stores version information in .pc files
- xorg uses descriptive names for these modules, which don't always match the 
capitalization or lib prefix of the port, but sometimes does.
- /usr/ports/Mk/bsd.xorg.mk maps the .pc files to the port directories

Therefore, to find out:
$ grep xi.pc /usr/ports/Mk/bsd.xorg.mk
xi_LIB_PC_DEPENDS=              ${LOCALBASE}/libdata/pkgconfig/xi.pc:
${PORTSDIR}/x11/libXi

-- 
Mel

Problem with today's modular software: they start with the modules
    and never get to the software part.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902282319.11605.fbsd.questions>