Originally Posted by bharath285
I am very new to this forum as well as linux. I am using fedora9. Following code is the contents of my Makefile.
$(CC) main.o -o main -L$(LIBS)
$(CC) -c main.cpp -I$(INCLUDE)
rm -rf *.o main
And I am getting following error while runnning make.
[bharath@bharath-sys sample]$ make
g++ -c main.cpp -I/opt/qtsdk-2009.02/qt/include/QtDBus -I/opt/qtsdk-2009.02/qt/include/QtCore
make: g++: Command not found
make: *** [main.o] Error 127
Please help me to get out of it.........
Thanks & Regards,
hey what Flavour are u using
if u know how to user yum
do yum list |grep gcc*
let us know if it is installed or not
then do a yum install GCC
for this you need to have Yum configured and have the server packages in you machine