Koozali.org: home of the SME Server

Developer Tools

Offline yythoss

  • *
  • 532
  • +0/-0
    • http://www.hylafax-client.de
Developer Tools
« on: January 24, 2009, 11:11:54 AM »
I have a fresch SME 7.4 installed and have installed the Developer Tool:

Code: [Select]
yum install gcc kernel-devel kernel-smp-devel cpp gcc-c++ flex cvs libstdc++-devel glibc-kernheaders glibc-headers glibc-devel
But now I have the wrong kernelheaders:

Code: [Select]
2.6.9-78.0.13.EL-smp-i686

but I need for actuel kernel:

Code: [Select]
2.6.9-78.0.8.EL-smp-i686
Can anyone help me?

yythoss

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: Developer Tools
« Reply #1 on: January 24, 2009, 03:10:35 PM »
hi

just a question: why are you installing dev tools? what are you trying to do?

Ciao
Stefano

Offline Craig Cabrey

  • ***
  • 79
  • +0/-0
Re: Developer Tools
« Reply #2 on: January 24, 2009, 03:44:14 PM »
EDIT: Seems there are no updates for the kernel available. You could try downloading and installing the correct rpm manually...

Try this:
Code: [Select]
yum upgrade kernel

Code: [Select]
signal-event post-upgrade; signal-event reboot

Craig
« Last Edit: January 24, 2009, 03:46:35 PM by Craig Cabrey »

Offline Normando

  • *
  • 841
  • +2/-1
    • Unixlan
Re: Developer Tools
« Reply #3 on: January 24, 2009, 03:54:01 PM »
Use
Code: [Select]
yum install kernel-devel-2.6.9-78.0.8.EL for non SMP or
Code: [Select]
yum install kernel-smp-devel-2.6.9-78.0.8.EL

Offline yythoss

  • *
  • 532
  • +0/-0
    • http://www.hylafax-client.de
Re: Developer Tools
« Reply #4 on: January 24, 2009, 05:12:29 PM »
I need the Devel Tool to compile Source Code.
Thank you for this info, because I have found the rpm's with Google.

yythoss

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: Developer Tools
« Reply #5 on: January 24, 2009, 06:55:37 PM »
I need the Devel Tool to compile Source Code.
Thank you for this info, because I have found the rpm's with Google.

yythoss


compiling source code on SME is always a bad thing.. if you plan to expose your SME to wan is a stupid one..

the best thing to do is install a centos 4.x with dev tools and the same kernel, compile your module/sw/anything you want/wish/need and then move to SME

btw, I think you should put some smiley in your last post.. because it sounds sarcastic..

Ciao

Stefano

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Developer Tools
« Reply #6 on: January 24, 2009, 07:08:24 PM »
I need the Devel Tool to compile Source Code.
Thank you for this info, because I have found the rpm's with Google.
What are you trying to compile? Are you sure that the stuff you need is not already available in any other major repository like ATrpms, Dag, Dries or EPEL?
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline yythoss

  • *
  • 532
  • +0/-0
    • http://www.hylafax-client.de
Re: Developer Tools
« Reply #7 on: January 24, 2009, 08:22:18 PM »
Sorry, I did not want to sound sarcastic.

I have a Test System and I compile all Soucecode on this Machine and make all my Test's and then I transfer this proramm or what ever on the SME live machine.
But I have make a fresh install on this Test System and had this Problem's with the kernelheader.

Now it is all fine and I can compile the Souce.
In the Moment it is a driver for a nic card, that's all.

yythoss

Offline m

  • ****
  • 276
  • +0/-0
  • Peet
Re: Developer Tools
« Reply #8 on: January 24, 2009, 10:23:03 PM »
btw, I think you should put some smiley in your last post.. because it sounds sarcastic..
I cannot see anything that sounds sarcastic, at the worst a wrong conjunction word. Please have in mind that not all poster are native English speakers.

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: Developer Tools
« Reply #9 on: January 24, 2009, 10:33:48 PM »
I cannot see anything that sounds sarcastic, at the worst a wrong conjunction word. Please have in mind that not all poster are native English speakers.

Hi

I'm not an english mother-tongue.. I'm italian :-)

I apologize, but re-reading this post I realize that I probably misunderstood it

Ciao
Stefano