Koozali.org: home of the SME Server

SME 5.0 and Compiler

Ari

SME 5.0 and Compiler
« on: October 21, 2001, 10:18:25 PM »
In the "FAQ" section the following is listed:
If you are still certain that you would like to have the ability to compile and make packages directly on your e-smith server and gateway, you'll need to install the RedHat 7.0 rpms listed below. They can be downloaded from any RedHat mirror site.

cpp
glibc-devel
glib-devel
make
libstdc++-devel
gcc
gcc-c++
kernel-headers

Will this work with SME 5.0 or do you need the same packages from RedHat 7.1?

Ari

n/a

Re: SME 5.0 and Compiler
« Reply #1 on: October 21, 2001, 11:34:32 PM »
I think SME is still based on E-Smith 4.1.2, so the RH7.0 RPMS should work.

Ari

Re: SME 5.0 and Compiler
« Reply #2 on: October 22, 2001, 12:54:51 AM »
Well.. at first attempt, it seems that there's a couple of additional rpm's required.
glibc
glibc-common

these are, of course, in addition to the list req'd for the compiler.

After adding these rpm's, everything seemed to install just fine (no extensive testing has been done yet). This installation was performed on an SME v5.0 sp2 server.

The list of rpm's and versions used were:

cpp-2.96-85.i386.rpm
gcc-2.96-85.i386.rpm
gcc-c++-2.96-85.i386.rpm
glibc-2.2.4-18.7.0.i386.rpm
glibc-common-2.2.4-18.7.0.i386.rpm
glibc-devel-2.2.4-18.7.0.i386.rpm
glib-devel-1.2.8-4.i386.rpm
kernel-headers-2.4.0-0.26.i386.rpm
libstdc++-devel-2.96-85.i386.rpm
make-3.79.1-5.i386.rpm

The command used install these RPM's was:

[root@localhost make]#  rpm -Uvh cpp-2.96-85.i386.rpm gcc-2.96-85.i386.rpm gcc-c++-2.96-85.i386.rpm glibc-2.2.4-18.7.0.i386.rpm glibc-devel-2.2.4-18.7.0.i386.rpm glib-devel-1.2.8-4.i386.rpm glibc-common-2.2.4-18.7.0.i386.rpm kernel-headers-2.4.0-0.26.i386.rpm libstdc++-devel-2.96-85.i386.rpm make-3.79.1-5.i386.rpm

Kelvin

Re: SME 5.0 and Compiler
« Reply #3 on: October 22, 2001, 02:10:31 PM »
Just a note on this. The kernel versions are different between 4.1.2 and SME 5. You will need to get kernel headers for SME 5 which uses kernel 2.2.19 (which I think is neither RH 7.0 nor RH 7.1). Maybe check out www.kernel.org for the kernel sources.

Darrell May

Re: SME 5.0 and Compiler
« Reply #4 on: October 23, 2001, 03:00:39 AM »
I've just put together a HowTo for this yesterday.  Available here:

http://myEZserver.com/docs/mitel/kernel-src-howto.html

Regards,

Darrell