[nmglug] sudo apt-get build-dep linux-image-$(uname -r)

a akaluta at taosnet.com
Mon Jun 29 05:43:25 PDT 2009


Trying to compile a program called "parapin" get this error message:
Error Message /usr/src/linux-2.6.13-generic/include/linux: No such file
ordirectory.
Looking in /usr/src/linux there are only header files,so my assumption
is I need the source there.What are your thoughts. Anthony

On Mon, 2009-06-29 at 06:28 -0600, Eric Krieger wrote:
> Are you trying to compile a kernel from the source?  If you are just
> looking for the kernel header the command is... 
> 
> sudo  apt-get install linux-headers-$(uname -r) 
> 
> 
> Thanks,
> 
> - Eric
> 
> ------------------------------
> Eric J. Krieger
> Ubuntu Member and Altruistic Network Ninja.
> 
> Email: grammatoncleric at ubuntu.com
> Wiki: https://wiki.ubuntu.com/GrammatonCleric
> NM LoCo: https://wiki.ubuntu.com/NewMexicoTeam
> 
> 
> On Mon, Jun 29, 2009 at 6:18 AM, a <akaluta at taosnet.com> wrote:
>         Anyone know if I am on the right track to get the kernel
>         source of (as
>         indicated below)required by "parapin" the file looks like over
>         300 mega
>         bites? Ubuntu site at its current rate is 16 days download
>         time
>         required,seems absurd,anyway am I headed in the right
>         direction,anyone?
>         Antonio
>         
>         Starting from Hardy (8.04) this has changed to:
>         
>         sudo apt-get build-dep linux-image-$(uname -r)
>         apt-get source linux-image-$(uname -r)
>         
>         Ubuntu modules source may also be needed if you plan to enable
>         PAE and
>         64GB support in the kernel for 32bit Hardy (8.04). The Ubuntu
>         supplied
>         modules may not be compatible with PAE enabled kernel.
>         
>         sudo apt-get build-dep linux-ubuntu-modules-$(uname -r)
>         apt-get source linux-ubuntu-modules-$(uname -r)
>         
>         _______________________________________________
>         nmglug mailing list
>         nmglug at nmglug.org
>         https://nmglug.org/mailman/listinfo/nmglug
> 
> _______________________________________________
> nmglug mailing list
> nmglug at nmglug.org
> https://nmglug.org/mailman/listinfo/nmglug




More information about the nmglug mailing list