[asterisk-dev] make install in zaptel copies modules to wrong location with Ubuntu 5.10

Mike Fedyk mfedyk at mikefedyk.com
Sun May 21 22:37:06 MST 2006


Tzafrir Cohen wrote:
> On Sun, May 21, 2006 at 04:57:11PM -0700, Mike Fedyk wrote:
>   
>> Tzafrir Cohen wrote:
>>     
>>> On Fri, May 19, 2006 at 05:28:43PM -0700, Mike Fedyk wrote:
>>>  
>>>       
>>>> Tzafrir Cohen wrote:
>>>>    
>>>> It looks like Ubuntu doesn't package their kernels it like Debian does.
>>>>    
>>>>         
>>> It does. Either upstream has changed it in 2.6.12 or Debian have changed
>>> it in 2.6.12 (which still was the last kernel-image package that Debian
>>> Etch used before the transition to linux-image)
>>>
>>> $ grep EXTRAVERSION /usr/src/kernel-headers-2.6.12-1-686/Makefile 
>>> EXTRAVERSION =
>>> KERNELRELEASE=$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)$(LOCALVERSION)
>>> export  VERSION PATCHLEVEL SUBLEVEL EXTRAVERSION LOCALVERSION
>>> KERNELRELEASE \
>>>
>>> Now, would you please provide me the information I asked for (that 'make
>>> check'). Private mail or IRC will do, as I have some follow-up
>>> questions.
>>>       
>> KVERS=2.6.12-9-686, KSRC=/lib/modules/2.6.12-9-686/build.
>> ls -ld /lib/modules/2.6.12-9-686/build
>> lrwxrwxrwx  1 root root 35 2006-05-15 19:10 
>> /lib/modules/2.6.12-9-686/build -> /usr/src/linux-headers-2.6.12-9-686
>> dpkg -l kernel-\* linux-\* | grep ^.i
>> ii  linux-386                             2.6.12.16.1        Complete 
>> Linux kernel on 386.
>> ii  linux-headers-2.6.12-10               2.6.12-10.32       Header 
>> files related to Linux kernel version
>> ii  linux-headers-2.6.12-10-686           2.6.12-10.32       Linux 
>> kernel headers 2.6.12 on PPro/Celeron/
>> ii  linux-headers-2.6.12-9                2.6.12-9.23        Header 
>> files related to Linux kernel version
>> ii  linux-headers-2.6.12-9-686            2.6.12-9.23        Linux 
>> kernel headers 2.6.12 on PPro/Celeron/
>> ii  linux-image-2.6.12-10-686             2.6.12-10.32       Linux 
>> kernel image for version 2.6.12 on PPr
>> ii  linux-image-2.6.12-9-386              2.6.12-9.23        Linux 
>> kernel image for version 2.6.12 on 386
>> ii  linux-image-2.6.12-9-686              2.6.12-9.23        Linux 
>> kernel image for version 2.6.12 on PPr
>> ii  linux-image-386                       2.6.12.16          Linux 
>> kernel image on 386.
>> ii  linux-image-686                       2.6.12.16.1        Linux 
>> kernel image on PPro/Celeron/PII/PIII/
>> ii  linux-kernel-headers                  2.6.11.2-0ubuntu13 Linux 
>> Kernel Headers for development
>> ii  linux-restricted-modules-2.6.12-9-386 2.6.12.4-11        Non-free 
>> Linux 2.6.12 modules on 386
>> ii  linux-restricted-modules-386          2.6.12.16          Restricted 
>> Linux modules on 386.
>> ii  linux-restricted-modules-common       2.6.12.4-11.1      Non-free 
>> Linux 2.6.12 modules helper script
>> ii  linux-sound-base                      1.0.9b-4           base 
>> package for ALSA and OSS sound systems
>>     
>
> So you have the following kernels installed:
>
> headers:
> 2.6.12-10-686
> 2.6.12-9-686
>
> images:
> 2.6.12-10-686
> 2.6.12-9-686
> 2.6.12-9-386
>
> Which kernel do you actually want to build for?
>   
Just like my original message:
$ uname -r
2.6.12-9-686

I have no problems compiling on Debian Sarge, but I do on Ubuntu Breezy.

Also note I am trying to use zaptel's "make install" instead of any 
debian/ubuntu specific tools.
> Also, as a point of reference:
>
> http://pkg-voip.buildserver.net/debian/pool/main/z/zaptel-modules/
> http://pkg-voip.buildserver.net/ubuntu/pool/main/z/zaptel-modules/
>
> (those are built using linux-headers , rather than kernel-headers that I
> use as a Sarge user)
Does that use "make install" within the build script under fakeroot or 
chkinstall?



More information about the asterisk-dev mailing list