Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: hans354 on July 07, 2007, 06:15:54 PM
-
Hou can i install gcc compiler and where can i download a goor version voor sme?
Please.help me.
-
yum install gcc
-
Thank you Michael,
And what version of gcc do i need?
gcc-4.2.0-20070316.tar.bz2
gcc-4.2.0-20070316.tar.gz
ada, core, g++ etc???
Thanks
-
yum will find and install the latest version. Yum only installs RPM packages.
You should never manually install tarballs!
When you need additional packages install them using yum, too.
i.e.
yum install g++
Read the yum manual to get further information.
-
Ok, Michael. I did it, but i think it isn't good.
[root@server files]# yum install g++
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "fastestmirror" plugin
Loading "smeserver" plugin
Setting up Install Process
Setting up repositories
smeaddons 100% |=========================| 951 B 00:00
updates 100% |=========================| 951 B 00:00
base 100% |=========================| 1.1 kB 00:00
smeos 100% |=========================| 951 B 00:00
smeupdates 100% |=========================| 951 B 00:00
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
Parsing package install arguments
No Match for argument: g++
Nothing to do
================================================================
No new rpms were installed. No additional commands are required.
================================================================
[root@server files]# make
gcc -Wall -D__KERNEL__ -DMODULE -I/lib/modules/2.6.9-42.0.3.ELsmp/build/include -I/usr/src/linux-2.6.9-42.0.3.ELsmp/drivers/usb/serial/ -O -c -o ftdi_sio.o ftdi_sio.c
make: gcc: Command not found
make: *** [ftdi_sio.o] Error 127
-
yum install gcc
-
You are assumed to have the default yum repositories enabled: http://wiki.contribs.org/SME_Server:Documentation:FAQ#Which_repositories_should_be_enabled
If you originally installed your SME from any iso prior to 7.1 then you may need to enable the Centos - os and Centos - updates repositories before yum will find gcc...
-
Thanks, thats good information!!
-
And what version of gcc do i need?
You probably don't need any. SME server is not a development workstation.
-
Remember to perforn
signal-event post-upgrade
signal-event reboot
I just did, and it work like a charm :D