Super noob question about make
right this is getting silly. im using suse 9.2 and i cant compile anything. i checked yast and the gcc is definatly installed but make has no affect. here is what i type.
Rich@linux:~> cd Documents/ Rich@linux:~/Documents> cd ktoon/ Rich@linux:~/Documents/ktoon> qmake ktoon.pro Rich@linux:~/Documents/ktoon> make bash: make: command not found Rich@linux:~/Documents/ktoon> arg. it made the makefile. i really have no idea whats going on. i havent been able to compile anything from source since ive been using linux :( |
You need to install the make package.
|
ok well i did that, didnt realise it was so simple... but now i get this
Rich@linux:~> cd Documents/ Rich@linux:~/Documents> cd ktoon/ Rich@linux:~/Documents/ktoon> qmake ktoon.pro Rich@linux:~/Documents/ktoon> make cd src && qmake src.pro -o Makefile cd src && make -f Makefile make[1]: Entering directory `/home/Rich/Documents/ktoon/src' g++ -c -pipe -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -Wall -W -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -DQT_NO_DEBUG -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/lib/qt3/mkspecs/default -I. -I../src -I/usr/include -I/usr/lib/qt3/include -I/usr/include -I/usr/X11R6/include -o animation.o animation.cpp make[1]: g++: Command not found make[1]: *** [animation.o] Error 127 make[1]: Leaving directory `/home/Rich/Documents/ktoon/src' make: *** [sub-src] Error 2 Rich@linux:~/Documents/ktoon> is that somethink (edit: or even something) wrong with ktoon or make? ktoon is still in beta stage, but you would have thought it could compile... |
you don't have the c++ compiler installed. gcc is the c compiler, g++ is the c++ compiler. by default, most rpm distro's do not install a working development environment. you either have to select all the packages during installation, or go back and install the packages afterward. gcc, g++, and make are just the beginning, you'll need more if you want to compile. Also beware rpm distro's like to split some pieces off into separate packages, like the -devel packages for most libraries and things like libstdc++ ( and libstdc++-devel) which comes with g++.
|
All times are GMT -5. The time now is 03:00 PM. |