Has anyone built asterisk on Centos 4? With 2.6 kernel (Fedora Core 3), I use to be able to do: ln -s /lib/modules/2.6.9-1.667/build/ linux-2.6 In order to compile zaptel. There is no "build" subdirectory in Centos 4. Any suggesions would be appreciated.
install the devel package for your kernel... I mean for kernel-smp-2.6.9-5.0.3.EL.i686.rpm you have to install kernel-smp-devel-2.6.9-5.0.3.EL.i686.rpm This will install /usr/src/kernels/2.6.9.xxxxx and two links pointing to this: /lib/modules/2.6.9-5.0.3.ELsmp/build /lib/modules/2.6.9-5.0.3.ELsmp/source I compiled and loaded successfully few kernel modules like drbd, nvidia and ati drivers. I hope this helps Cheers, Bruno Steven Frazier ha scritto:>Has anyone built asterisk on Centos 4? > >With 2.6 kernel (Fedora Core 3), I use to be able to do: > >ln -s /lib/modules/2.6.9-1.667/build/ linux-2.6 > >In order to compile zaptel. > >There is no "build" subdirectory in Centos 4. > >
Hi,> Has anyone built asterisk on Centos 4? > > With 2.6 kernel (Fedora Core 3), I use to be able to do: > > ln -s /lib/modules/2.6.9-1.667/build/ linux-2.6 > > In order to compile zaptel. > > There is no "build" subdirectory in Centos 4.shouldn''t kernel-devel package provide the build directory? On my system installing kernel-devel did contain the build directory. Daniel S. Reichenbach -- blog - http://people.best-off.org/~dsr/ gpg - http://people.best-off.org/~dsr/gpg.asc work - http://www.best-off.org/ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.caosity.org/pipermail/centos/attachments/20050302/5339aa6b/attachment.bin
Yes thank helped. That''s what it took. I was thinking kernel-source or something I didn''t know how to do it. Thanks, I appreciate the help!> -----Original Message----- > From: centos-bounces@caosity.org > [mailto:centos-bounces@caosity.org] On Behalf Of Bruno Depero > Sent: Wednesday, March 02, 2005 11:05 AM > To: CentOS discussion and information list > Subject: Re: [Centos] Asterisk on CenTos 4 > > > install the devel package for your kernel... I mean for > kernel-smp-2.6.9-5.0.3.EL.i686.rpm you have to install > kernel-smp-devel-2.6.9-5.0.3.EL.i686.rpm > This will install /usr/src/kernels/2.6.9.xxxxx and two links > pointing to > this: > /lib/modules/2.6.9-5.0.3.ELsmp/build > /lib/modules/2.6.9-5.0.3.ELsmp/source > > I compiled and loaded successfully few kernel modules like > drbd, nvidia > and ati drivers. > > I hope this helps > > Cheers, > Bruno > > Steven Frazier ha scritto: > > >Has anyone built asterisk on Centos 4? > > > >With 2.6 kernel (Fedora Core 3), I use to be able to do: > > > >ln -s /lib/modules/2.6.9-1.667/build/ linux-2.6 > > > >In order to compile zaptel. > > > >There is no "build" subdirectory in Centos 4. > > > > > > _______________________________________________ > CentOS mailing list > CentOS@caosity.org http://lists.caosity.org/mailman/listinfo/centos >
Yes, that did it, I wasn''t aware of what it took, thanks for your help. I appreciate it.> -----Original Message----- > From: centos-bounces@caosity.org > [mailto:centos-bounces@caosity.org] On Behalf Of Daniel S. Reichenbach > Sent: Wednesday, March 02, 2005 11:06 AM > To: CentOS discussion and information list > Subject: Re: [Centos] Asterisk on CenTos 4 > > > Hi, > > > Has anyone built asterisk on Centos 4? > > > > With 2.6 kernel (Fedora Core 3), I use to be able to do: > > > > ln -s /lib/modules/2.6.9-1.667/build/ linux-2.6 > > > > In order to compile zaptel. > > > > There is no "build" subdirectory in Centos 4. > shouldn''t kernel-devel package provide the build directory? > On my system installing kernel-devel did contain the build directory. > > Daniel S. Reichenbach > -- > blog - http://people.best-off.org/~dsr/ > gpg - http://people.best-off.org/~dsr/gpg.asc > work - http://www.best-off.org/ > >