Hello,
I know I don’t really need it on OpenSUSE 11.4 and I’ve text editor build in in Midnight Commander
I’m playing with it only to understand how to download files, extract them and get software installed in terminal
- I got nano-2-2-4.tar gz with wget
- Got it extracted with tar -zxvf nano-2.2.4.tar.gz
- Now when I try t\ install it by running ./configure, it says: “no acceptable C compiler found in $PATH”
As far as I understand $PATH is a variable which says where it have to look for C compiler. It suppose to be a bunch of directories where it suppose to look for all sorts of utilities and applications. Is that correct?
Where is the standard location of C compiler in OpenSUSE 11.4? How can add this location to $PATH?
Thanks in advance!
The gcc is in /usr/bin/cc, so you won’t have to add any $PATH once it is installed. I recommend installing a basic development environment by using the respective pattern (a “meta-package”):
zypper in patterns-openSUSE-devel_C_C++
Depending on the package you’d like to compile, you might need more, especially devel-packages (the output of [for example] ‘./configure’ will tell you which ones in case they are missing).
But: do I get you right that you actually want to fiddle with that? A simple
zypper in nano
will give you nano.
I’m playing with it only to understand how to download files, extract them and get software installed in terminal
You will learn none of these by compiling software.
I also recommend to learn how to create installable packages (.rpm in case of openSUSE) while learning how to compile, as the classic way (‘make install’) will most likely create chaos in your system.