Results 1 to 5 of 5
Alright! I downgrade to openSUSE 11.1 on my VM (VMWare sever). I installed gcc and gcc-c++. When I try to configure a program I get the error:
checking for c ...
- 11-23-2009 #1Just Joined!
- Join Date
- Nov 2009
- Posts
- 2
C compiler cannot create executables
Alright! I downgrade to openSUSE 11.1 on my VM (VMWare sever). I installed gcc and gcc-c++. When I try to configure a program I get the error:
checking for c compiler default output file name...
configure: error: C compiler cannot create executables
See 'config.log' for more details.
I have searched forums and figured out I need to install build-essential. I found the equivalent for that would be:
zypper install -t pattern devel_C_C++
I also installed kernel-source and kernel-syms.
It's really getting on my nerve
Is there any solution?
thanx
- 11-23-2009 #2
You should only need Kernel headers to build programs. Unless they are drivers.
Are you sure you have full permissions on the directories that you are building things in??
Did you install gcc through Yast or some other way?
What are you trying to compile? Are you sure that there is no binary in the repositories??
- 12-04-2009 #3Just Joined!
- Join Date
- Jan 2008
- Posts
- 53
the kernel-sources are need sometimes for compiling some app and i have get the same message whan leak of apps needed.
- 12-05-2009 #4Just Joined!
- Join Date
- Nov 2009
- Posts
- 7
I was facing similar problem few days back in SLES. I was trying to install gcc manually but i had no luck. I was getting the C compiler error again and again. So what i did atlast i installed gcc from YAST. I must say YAST is one powerfull tool for managing softwares in SLES. I am thankful to novell bringing YAST to SLES.
- 12-05-2009 #5Just Joined!
- Join Date
- Jan 2008
- Posts
- 53
to use Yast for installing a package use
# yast2 -i $packagename
simple like that!


Reply With Quote