I am completely new to Linux, just wanted to try compiling some C++ code in OpenSUSE. I have installed openSUSE 11.0 on a VMplayer (I am using the virtual machine). By default there was no C++ compiler present, so I downloaded gcc 3.2 and trying to run ./configure. It is taking a long time, already 5 hours are over and still running.
Any idea, in general how much time it should take to run the configure?
I tried adding the gcc from YaST > Sofware > Software Management. But as this is a virtual machine running under VMPlayer it doesn’t have internet connectivity. So when I am opening S/W Management it gives error saying unable to connect to Index of /. (May be it is trying to locate the installable from online store).
If I skip above error and search for gcc I am getting cpp43 (GCC Preprocessor) and libgcc43 (C Compiler runtime library). Not sure if these will be enough to compile a C++ code.
I am trying this on a virtual machine. So I don’t have the openSUSE physical machine installation setup (iso) file available. thats the reason I downloaded gcc 4.4, 3.2 from web and copied on the virtual machine. And trying to configure the same.
Is it possible to download and install only gcc, g++, make onto the virtual machine?
Of course it is possible BUY to compile things you also need kernel-source, make and gcc (additionally gcc-c++). But those names are only files to pull in the proper one’s like gcc-c++ 4.3
It is a bit difficult to loa software on a system that has no network connection, nor a CD/DVD attached. I think it must be possible to have those on a VM (mine has).
@BenderBendingRodrigue
IMHO you only need kernel-source when you want to compile kernel components (like modules), not for you own every day C programs.