LinuxQuestions.org
Review your favorite Linux distribution.
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 10-24-2007, 05:47 PM   #1
chars098
LQ Newbie
 
Registered: Oct 2007
Posts: 11

Rep: Reputation: 0
error configuration?


Hi I have come up against something greater than me and most people would say reinstall but I say no because I am the exception. I was wondering if someone can help me with this because they like to solve problems. This is a common error because I have searched and searched but received no complete answers to my own situation. Here it goes. I have installed openSUSE 10.3. I am trying at the moment to install a component on this desktop machine which refuses to install. It is displayed in yast as installed which is gcc. I have installed from cd installation except it shows up as being uninstalled.

These are the components showing up as being installed in YAST

gcc-ij
gcc42-gij
libgcc42
libgcj42

If there are any other components that need installing please tell me.

So I decided to manually install gcc after that so I downloaded the component gcc4.2.2 from the opensuse website repositories. I extract it and place it in usr/bin folder I try to install and the configuration log of the new gcc says.

configure 630: checking host system type
configure 651: checking target system type
configure 669: checking build system type
configure 724 checking for a BSD compatible install
configure 777: checking whether ln works
configure 801: checking whether ln -s works
configure 1886: checking whether the C compiler (gcc )
configure 1995: gcc -o conftest conftest.c 1>65
./configure: line 1994: gcc: command not found
configure: failed program was:

#line 1990 "configure"
#include "confdefs.h"

main (){return(0);}

How do I get it to recognize this gcc? I'll just mention this as well. there is another folder in usr/bin called gcc already this is probably the YAST installed gcc which doesn't work. Also when trying to install the new gcc it says something about configure: error: installation or configuration problem: C compiler cannot create executables. This is a biggie.

Cheers,

Chars
 
Old 10-24-2007, 06:25 PM   #2
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
This package contains the c++ compiler ftp.opensuse.org/distribution/SL-OSS-factory/inst-source/suse/i586/gcc42-c++-4.2.2_20071008-2.i586.rpm. Maybe that's what you need to install.
 
Old 10-25-2007, 09:02 AM   #3
chars098
LQ Newbie
 
Registered: Oct 2007
Posts: 11

Original Poster
Rep: Reputation: 0
Thanks many,

I followed your instructions but now I'm stuck on one area. I need a dependency called the linux-kernel headers. Where do I find this I don't know where to look for it because I don't know what they are but I do know there are different builds of the kernel. Can someone help me find them?

Cheers,

Char
 
Old 10-25-2007, 01:43 PM   #4
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
Quote:
Originally Posted by chars098 View Post
Thanks many,

I followed your instructions but now I'm stuck on one area. I need a dependency called the linux-kernel headers. Where do I find this I don't know where to look for it because I don't know what they are but I do know there are different builds of the kernel. Can someone help me find them?

Cheers,

Char
Sure, first start a terminal or console session and type: uname -r, this will show your current kernel. Next use your package manager (or commandline) to locate and add your kernel-source, select the one that matches your current kernel.

e.g. If uname -r returns 2.6.22.9-xxx-xxx you need the kernel-source that matches 2.6.22.9-xxx-xxx, it may show up as kernel-source-2.6.22.9-xxx-xxx (remember this is only an example, yours may differ in what is displayed).

Last edited by {BBI}Nexus{BBI}; 10-25-2007 at 01:45 PM.
 
Old 10-26-2007, 04:31 AM   #5
chars098
LQ Newbie
 
Registered: Oct 2007
Posts: 11

Original Poster
Rep: Reputation: 0
thanks for the help bear with me. It still says I need linux kernel headers even though I installed the kernel source. I think from what I've searched the kernel headers are a seperate package but I can't to find them on the open suse website repositories. debian has them on their website though. I've been to this roadblock before with the kernel headers. Is it possible that suse has them somewhere am I on the right track?

Cheers,

char
 
Old 10-26-2007, 10:47 AM   #6
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
Quote:
Originally Posted by chars098 View Post
thanks for the help bear with me. It still says I need linux kernel headers even though I installed the kernel source. I think from what I've searched the kernel headers are a seperate package but I can't to find them on the open suse website repositories. debian has them on their website though. I've been to this roadblock before with the kernel headers. Is it possible that suse has them somewhere am I on the right track?

Cheers,

char
Go here: http://rpm.pbone.net/. Click the Advanced RPM Search link, Click Uncheck All. Put a check mark where is says OpenSuSe. Now in the search box type: kernel-headers, then click search. Choose the one that matches your current kernel.
 
Old 10-27-2007, 07:32 PM   #7
chars098
LQ Newbie
 
Registered: Oct 2007
Posts: 11

Original Poster
Rep: Reputation: 0
thanks! thats solved now but now I have another question to ask. I keep getting an error with a program I'm meant to install gnu compiler. I don't know where I can locate these packages I thought it was something to do with gcc. I'll come back to you. I found out that gcc is not installed yet or these other dependencies autoconf and automake need installing see how I go.

cheers,


char

Last edited by chars098; 10-27-2007 at 07:58 PM.
 
Old 10-27-2007, 09:01 PM   #8
chars098
LQ Newbie
 
Registered: Oct 2007
Posts: 11

Original Poster
Rep: Reputation: 0
gcc still doesn't seem to be installed. I ran this command sudo zypper install gcc make automake autoconf kernel-source and it comes up as not being installed even though I did install it just before and it seemed to install perfectly anyway except for this. Any ideas?
cheers,



char
 
Old 10-28-2007, 12:07 AM   #9
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
Startup YaST (Yet another Setup Tool) using the search facility find each of these and mark them for install: glibc-devel, gcc & make. Now hit that install button
 
  


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
Debian error , E: Internal Error, Could not perform immediate configuration (2) sridhar_dct3 Linux - Server 5 12-18-2010 11:45 PM
network configuration error schneiderj Linux - Hardware 7 04-18-2005 05:39 PM
Configuration error Ice Dragon Linux - Software 2 12-24-2004 05:12 PM
Error after kernel configuration ramya272 Linux - Newbie 1 02-05-2004 09:30 AM
Another error during configuration yigal Mandriva 4 08-26-2003 02:34 PM

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

All times are GMT -5. The time now is 11:52 AM.

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