Missing files
Bob Nielsen
nielsen at oz.net
Wed Jan 25 22:30:18 UTC 2006
On Jan 25, 2006, at 10:19 AM, Darryl Clarke wrote:
> On 25/01/06, Bob Nielsen <nielsen at oz.net> wrote:
>> While trying compilation source code recently, I had some error
>> messages about missing some includes. I checked and the files were
>> not there. I know that they should have been included in an
>> installed package, but somehow they do not exist on my system.
>> Reinstalling that package did not correct the situation. Here are
>> the specifics:
>>
>> $ apt-file list libax25 |grep include
> [snip]
>
> apt-file searches all known files regardless of their installed state.
>
>>
>>
>> $ dpkg -L libax25|grep include
>
> This command won't have any include files shown since there are none
> in the 'libax25' package. They are in 'libax25-dev'
>
>>
>> My /usr/include/netax25 directory only includes ax25.h, which is
>> installed by libc6-dev. If the other files are not there, why
>> doesn't reinstalling libax25 correct the problem?
>
> Try installing libax25-dev
> [snip]
> HTH.
Yes, that was my problem--somehow had forgotten all about the -dev.
Since apt-file searches using a pattern rather than the package name,
it showed them when I used libax25 although they are in libax25-dev.
I was about to reinstall breezy and am glad I didn't rush into doing
that. Thanks for pointing out what should have been obvious to me
but wasn't!
Bob
More information about the ubuntu-users
mailing list