kernel-headers problem
Peter Teuben
teuben at astro.umd.edu
Sat Aug 17 16:30:48 UTC 2013
On 08/17/2013 08:45 AM, Gergely Buday wrote:
> Hi there,
>
> I have a problem. I cannot compile a piece of software that would
> include kernel headers with <zlib.h> for example. I have
>
> $ uname -r
> 3.8.0-26-generic
>
> and I also have
>
> linux-headers-3.8.0-26-generic install
>
> But then I have
>
> $ make Solver.o
> Compiling: Solver.o
> In file included from
> /home/macbook/local/satallax-2.7/minisat/utils/Options.h:30:0,
> from /home/macbook/local/satallax-2.7/minisat/core/Solver.h:27,
> from Solver.cc:24:
> /home/macbook/local/satallax-2.7/minisat/utils/ParseUtils.h:27:18:
> fatal error: zlib.h: Nincs ilyen fájl vagy könyvtár
> compilation terminated.
> make: *** [Solver.o] Error 1
>
> where ParseUtils.h contains
>
> #include <zlib.h>
>
> What can I do here so that make sees the standard include path for the
> kernel headers?
>
> - Gergely
>
i think you need another package:
% dpkg -S /usr/include/zlib.h
zlib1g-dev: /usr/include/zlib.h
More information about the ubuntu-users
mailing list