LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 06-29-2011, 05:33 AM   #1
kumartnj
LQ Newbie
 
Registered: Apr 2009
Posts: 15

Rep: Reputation: 0
Lightbulb Unable to configure gcc on opensuse11.3


Hi,

I have installed apache on opensuse11.3, with that i need to install gcc to setup mod_proxy html.

I installed gcc, g++, make packages and also i have a file called "gcc-4.6.0.tar.gz" and i extracted this file in /home location.

when I try to run the ./configure file on this folder,I'm getting the below error.

/home/gcc/gcc-4.6.0 # ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... /usr/bin/sed
checking for gawk... gawk
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/home/gcc/gcc-4.6.0':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.

Please let me know what could be the issue.

Thanks in advance !

- Kumar
 
Old 06-29-2011, 07:56 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Quote:
I installed gcc, g++, make ..
How did you do that ? With Yast ? Or # zypper in gcc-c++ make ?
Then you should definitely have a working gcc.

Quote:
/home/gcc/gcc-4.6.0 # ./configure
GCC cannot be configured in that way. And do not run 'configure' as root.
Gcc-4.6.0 may not be very useful : Is for future software mostly.
May not be able to compile very much current or last years software.
The compilers already available for Suse 11.3 will do fine.

A gcc build example :
http://www.linuxquestions.org/questi...-1-a-842567/#2
I.e gcc requires a build directory outside the gcc source directory.

..
 
Old 07-05-2011, 01:43 AM   #3
kumartnj
LQ Newbie
 
Registered: Apr 2009
Posts: 15

Original Poster
Rep: Reputation: 0
Smile

Quote:
Originally Posted by knudfl View Post
How did you do that ? With Yast ? Or # zypper in gcc-c++ make ?
Then you should definitely have a working gcc.


GCC cannot be configured in that way. And do not run 'configure' as root.
Gcc-4.6.0 may not be very useful : Is for future software mostly.
May not be able to compile very much current or last years software.
The compilers already available for Suse 11.3 will do fine.

A gcc build example :
http://www.linuxquestions.org/questi...-1-a-842567/#2
I.e gcc requires a build directory outside the gcc source directory.

..
Installed gcc with yast

I've successfully installed gcc through yast. Thanks
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to install gcc, gcc-++ ameer. Linux - Newbie 10 05-27-2011 04:50 AM
unable to connect to wireless access when running opensuse11 in live mode postmanpat16940 Linux - Wireless Networking 1 10-11-2009 02:06 PM
no GCC make in openSUSE11? Mark_667 SUSE / openSUSE 5 08-14-2008 07:10 AM
Unable to compile "hello world" module on openSuse11 knockout_artist Linux - Kernel 6 08-12-2008 04:58 AM
gcc 3.3.1 configure: unable to determine size of short disciple061 Linux - Software 0 12-08-2003 03:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 10:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration