Kernel-devel

Kevin J. Cummings cummings at kjchome.homeip.net
Thu Aug 12 21:25:38 UTC 2010


On 08/12/2010 04:15 PM, Albert Bonomo wrote:
> Kevin, I'm using a server from a company in spain that rents dedicated
> servers.
> At first, the server was setup with Fedora 13. Clean, no other stuff in it.
> I started the process of installing Asterisk the same way I did with
> another server that we have
> but with Fedora 12. This other server was already 'prepered' by someone
> else. They let
> me the server after using it for a while and I successfully installed
> Asterisk on it with no problems at all.

I'm confused.  Fedora has an Asterisk RPM in their repositories.  How
hard can it be?

> yum install kernel-devel and everything else worked fine.

Which bring us back to the question of what kernel RPMs were
installed/available on your server system.

> So, when I started to have problems on the new server with Fedora 13, I
> decided to downgrade to Fedora 12.
> The problem is that the company that rents me the server, don't support
> Fedora 12 anymore.
> They have Fedora 11 or 13. So I choose Fedora 11x64. And here I'm.

I'd go back to Fedora 13 at this point.

What problems did you have with Asterisk?

> With fedora 13 I couldn't install gcc either. Some dependencies were
> looking for kernel > 2.2.1 or
> something like it. So I decided to downgrade to 12.( that became 11
> becouse the didn't have 12 )

gcc is also available in RPMs.  You should not be having these problems.
 I suspect you are not installing software properly.

> Someone here told me Fedora 11 is no longer supported. Is that true ? No
> more repos available ?

Fedora 11 hit End-Of-Life 1-2 months after Fedora 13 was made available
for general release (May 25, 2010), which would have been between June
25-July 25, 2010.  So, Yes.  Fedora 11 is no longer supported.

The repos from Fedora are still available, they just aren't getting any
more updates.  Certain 3rd party repos are still updating their copies
of Fedora 11 software, but not all are.  It really is recommended that
you update to either Fedora 12, Fedora 13, or the yet unreleased Fedora
14 (currently in ALPHA).

> So far the only thing that I can not do is to install kernel-devel.

>From what I've seen, you are *not* running a Fedora 11 kernel, therefore
you will have problems installing software that has particular kernel
dependencies.  And guess what?  kernel-devel needs a proper kernel RPM
to be installed.

> Can I install some other version of kernel-devel and compile anyway ?

You will need the proper kernel-headers for the version of the kernel
that you are building your software to run on.  I strongly suggest that
you back to a vanilla Fedora 13 install (*with a proper F13 kernel*) and
install the Fedora RPM for asterisk.

> Can I trick it by changing the dir name ?

RPM dependencies arise from looking at the RPM database.  You'd have to
trick that.  Makefile dependencies can be tricked with symlinks.
Personally, I wouldn't trust any software built by tricking
dependencies.  You are just asking for trouble when things don't match
up in your running kernel.

> Asterisk needs this headers to 'make' it so ...

Install the already built asterisk package from Fedora.

> Here you have the /etc/grub.conf
> [root at ns310181 etc]# more grub.conf
> default=0
> timeout=5
> 
>     title linux fedora11_64
>     kernel /boot/bzImage-2.6.33.5-xxxx-grs-ipv4-64 root=/dev/md1  ro
>     root (hd0,0)
> 
> Looks like a "special" Fedora version ( some xxxx there ), not a free
> one you can download from internet.
> May be the guys that let me the other server, installed a new kernel.
> Can I do that ?
> Can you give me some tips ( tips, guides, urls ) on how to do it ? I see
> that you are kind of an expert on linux.
> Obviously I'm not. But not afraid to try new things.

Back to basics until you rise above the newbie stage.

> u'r d man !!!

Good Luck.   (And please!   Learn how to use a spell checker!)

> Thanks.
> Albert.

-- 
Kevin J. Cummings
kjchome at rcn.com
cummings at kjchome.homeip.net
cummings at kjc386.framingham.ma.us
Registered Linux User #1232 (http://counter.li.org)


More information about the users mailing list