Prompt what package to install when it is missing

Scott Webster sewebster at
Fri Nov 11 14:06:11 PST 2011

Presumably the "easy" thing we could do is keep track of which files
exist in the binary archives...


On Fri, Nov 11, 2011 at 1:31 PM, Brandon Allbery <allbery.b at> wrote:
> On Fri, Nov 11, 2011 at 16:17, Ryan Schmidt <ryandesign at> wrote:
>> Other times, we want to know what port provides a certain header or
>> library we don't have on our systems that's causing some port to fail to
>> build because someone forgot a dependency.
> This we need anyway, as it's a basis for what's being requested.
>> What do Ubuntu or other distributions do, and how do they do them? I
>> haven't used them.
> They define in an /etc/profile.d inclusion a command-not-found trap that
> queries a master database (a la "port provides" but against a database of
> file locations if someone had every port installed) and suggests installing
> (one of the) packages that provides it.
> --
> brandon s allbery                                      allbery.b at
> wandering unix systems administrator (available)     (412) 475-9364 vm/sms
> _______________________________________________
> macports-users mailing list
> macports-users at

More information about the macports-users mailing list