LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   LINUX SUSE, "./configure" no gcc (https://www.linuxquestions.org/questions/linux-newbie-8/linux-suse-configure-no-gcc-831350/)

ziadh 09-10-2010 06:14 AM

LINUX SUSE, "./configure" no gcc
 
Hello, again!

i have dowloaded a progra; *.tar.gzip

i did
gunzip <file_name>
then,
tar -xvf <file_name>
now i need to configure, so i can do, make & make Install
but when i type ./configure in the correct directory i get the following
loading cache ./config.cache
checking for gcc... no
cheching for cc... no
configure: error: no acceptable cc found in $PATH

actualy i dont have a compiler, i have the yast function

anyhow, does any1 knows how i can dowload "gcc" or instal it on my Linux?

thanks!

suprstar 09-10-2010 06:38 AM

From a command line (as root) you should be able to do:

zypper install gcc
and
zypper install gcc-c++

From a gui desktop, there's yast:

Click computer (menu), Install software, Search for 'gcc', select gcc, click Install

or something similar

MTK358 09-10-2010 07:14 AM

ziadh: you don't have dev tools installed. SUSE might have a single dev tools package group like othe rdistros, but I don't know how it would be called.

jmc1987 09-10-2010 09:21 AM

Agree with the other posters find the development package and install it. Also I would like to know if you have a tar ball that is compress with gunzip you can extract it with one command like this

tar xvzf package.tar.gz

note the options of tar as I listed are
x extract
v verbose
z filter archive through gunzip
f file

if its a bzip file you can also use the j option. That way you can decompress and extract at the same time.

ziadh 09-10-2010 09:32 AM

thanks everyone for your replies, it was helpful and informative!


All times are GMT -5. The time now is 04:25 PM.