LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-22-2004, 12:33 AM   #1
xstealthrtx
Member
 
Registered: Nov 2004
Posts: 31

Rep: Reputation: 15
C compiler not installing


mandrake 10.0
i'm trying to install superkaramba and i extracted the files and then i read the install file. it says just type ./configure to compile it and then make. but i can't get past the compile part. from the error shown i obviously need a c compiler. when i go to rpmdrake to install software and select the development box windows pop up for dependencies inwhich i click ok. and then it asks for cd's. after it downloads the files it gives me a long list of files that errored at installation. i've tried this many times thinking that the first time it was just being angry but it does the same thing over and over again. i have no idea what to do..........and yes i've read a bunch of other posts, no help.


[root@localhost superkaramba-0.35]# ./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 for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.

thanks
 
Old 11-22-2004, 03:16 AM   #2
SirSlappy
Member
 
Registered: Jun 2003
Location: Glendale AZ
Distribution: Slackware 10
Posts: 153

Rep: Reputation: 30
yeh, you should always install some type of compiler on your linux system. It's pretty useless without one unless you're going to only use RPMs or binaries.

Anyway, check out rpmfind.net and see if you can locate the newest gcc compiler and install it with ..

rpm -ivh gcc-whatever.rpm

That might help.


if not, give us the "long list of files that error" when you try to install it via RPMdrake
 
Old 11-22-2004, 11:07 AM   #3
xstealthrtx
Member
 
Registered: Nov 2004
Posts: 31

Original Poster
Rep: Reputation: 15
i wen to that web site and downloading something that i thought looked right. gcc-3.4.1-4mdk.src.rpm

when i go to the command line and type the file in i get this long list

[root@localhost Documents]# rpm -ivh gcc-3.4.1-4mdk.src.rpm
1:gcc warning: user gb does not exist - using root
warning: group gb does not exist - using root
warning: user gb does not exist - using root
warning: group gb does not exist - using root
warning: user gb does not exist - using root
warning: group gb does not exist - using root
warning: user gb does not exist - using root( 90%)
warning: group gb does not exist - using root
warning: user gb does not exist - using root
warning: group gb does not exist - using root
warning: user gb does not exist - using root
warning: group gb does not exist - using root
warning: user gb does not exist - using root
warning: group gb does not exist - using root
warning: user gb does not exist - using root
warning: group gb does not exist - using root
warning: user gb does not exist - using root
warning: group gb does not exist - using root
warning: user gb does not exist - using root
warning: group gb does not exist - using root
warning: user gb does not exist - using root
warning: group gb does not exist - using root
warning: user gb does not exist - using root
warning: group gb does not exist - using root
warning: user gb does not exist - using root
warning: group gb does not exist - using root
warning: user gb does not exist - using root
warning: group gb does not exist - using root
warning: user gb does not exist - using root
warning: group gb does not exist - using root
warning: user gb does not exist - using root
warning: group gb does not exist - using root
warning: user gb does not exist - using root
warning: group gb does not exist - using root
warning: user gb does not exist - using root
warning: group gb does not exist - using root
warning: user gb does not exist - using root
warning: group gb does not exist - using root
warning: user gb does not exist - using root
warning: group gb does not exist - using root
warning: user gb does not exist - using root
warning: group gb does not exist - using root
warning: user gb does not exist - using root
warning: group gb does not exist - using root
warning: user gb does not exist - using root
warning: group gb does not exist - using root
warning: user gb does not exist - using root
warning: group gb does not exist - using root
warning: user gb does not exist - using root
warning: group gb does not exist - using root
warning: user gb does not exist - using root
warning: group gb does not exist - using root
warning: user gb does not exist - using root
warning: group gb does not exist - using root
########################################### [100%]
warning: user gb does not exist - using root
warning: group gb does not exist - using root
warning: user gb does not exist - using root
warning: group gb does not exist - using root
warning: user gb does not exist - using root
warning: group gb does not exist - using root
warning: user gb does not exist - using root
warning: group gb does not exist - using root
warning: user gb does not exist - using root
warning: group gb does not exist - using root
warning: user gb does not exist - using root
warning: group gb does not exist - using root
warning: user gb does not exist - using root
warning: group gb does not exist - using root
warning: user gb does not exist - using root
warning: group gb does not exist - using root
warning: user gb does not exist - using root
warning: group gb does not exist - using root



but when i double click on the file it says:

You have selected a source package:

/home/owen/Documents/gcc-3.4.1-4mdk.src.rpm

You probably didn't want to install it on your computer (installing it
would allow you to make modifications to its sourcecode then compile it).

What would you like to do?


i clicked 'yes, really install it'

then it cam up with this:

Some package requested cannot be installed:
gcc-3.4.1-4mdk.src (due to unsatisfied binutils[>= 2.15.90.0.3-1mdk])
do you agree ?



i guess i need to get somethign call binutils that's greater or equal to ver. 2.15.90.0.3-1

can i find an rpm of that on rpmfind.net
 
Old 11-22-2004, 01:36 PM   #4
MartinN
Member
 
Registered: Nov 2003
Location: Ronneby, Sweden
Posts: 555

Rep: Reputation: 30
Hi!

I think you should get this rpm:
http://rpmfind.net//linux/RPM/mandra...6mdk.i586.html

This contains the gcc executable, as opposed to the src rpm which contains the gcc source code.

Good luck!
Martin
 
Old 11-22-2004, 02:32 PM   #5
xstealthrtx
Member
 
Registered: Nov 2004
Posts: 31

Original Poster
Rep: Reputation: 15
i got that file and installed it. went perfect thanks! buuuuuuuuuuuuuuuut....there's usually a but,

the files still didn't completely compile. i did get a lot farther though!!!!!!!!!

[root@localhost superkaramba-0.35]# ./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 for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking whether g++ supports -Wundef... no
checking whether g++ supports -Wno-long-long... no
checking whether g++ supports -Wnon-virtual-dtor... no
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.

i'm wondering, do i need to get all the things that it says no to? I'm just lost on what i actually need to get and what i don't.
keep the help comin', we're (i'm) making progress!
 
Old 11-22-2004, 02:58 PM   #6
MartinN
Member
 
Registered: Nov 2003
Location: Ronneby, Sweden
Posts: 555

Rep: Reputation: 30
Hi again

Ehrm ... It seems that the C preprocessor wasn't included in that package. (If you have seen at least a little C orc C++ code: the preprocessor takes care of all directives like #include and #define.)

Anyway, I assume that you need this package too:
http://rpmfind.net//linux/RPM/mandra...6mdk.i586.html

Sorry, I haven't installed a gcc from RPM before, I always make sure that is's included when I install the distro.

Martin
 
Old 11-22-2004, 03:37 PM   #7
xstealthrtx
Member
 
Registered: Nov 2004
Posts: 31

Original Poster
Rep: Reputation: 15
when i installed that file it said that the preprocessor was already installed. should i just reinstall Linux and make sure it installs all that stuff first? hahahaha
 
Old 11-22-2004, 03:45 PM   #8
MartinN
Member
 
Registered: Nov 2003
Location: Ronneby, Sweden
Posts: 555

Rep: Reputation: 30
I've never used Mandrake, but on a RedHat/Fedora system there is an application to manage installed packages (Start menu > System Settings > Packages) and that allows you to install missing packages from the install CDs. Doesn't Mandrake have any such? Try installing the packages from the "Programming" section.

Also, you could read a little in the log file (config.log) that the ./configure command tells you about.

Don't reinstall! That's for (Windows 98) losers!

Martin
 
Old 11-22-2004, 03:52 PM   #9
xstealthrtx
Member
 
Registered: Nov 2004
Posts: 31

Original Poster
Rep: Reputation: 15
yeah i've tried installing the packages right from the cd's but all it does is error. I would copy what it says but it won't let me highlight the stuff in the window and copy it. i tried to do a printscreen but i guess linux doesn't do that the same as Windows. In windows all you do is hit printscreen and go into photoshop or something and do ctrl-v. i dont' know how to make it work in linux
 
Old 11-22-2004, 03:58 PM   #10
MartinN
Member
 
Registered: Nov 2003
Location: Ronneby, Sweden
Posts: 555

Rep: Reputation: 30
Type ksnapshot in a terminal window (if you have that installed).

Martin
 
Old 11-22-2004, 11:58 PM   #11
xstealthrtx
Member
 
Registered: Nov 2004
Posts: 31

Original Poster
Rep: Reputation: 15
uuuuuuummmm, ooooooooook linux isn't even working right anymore. it flickers a bunch of times when loading stuff and then just goes to a pure text console. I have no idea how to get it 'back into kde'
 
Old 11-23-2004, 10:56 AM   #12
MartinN
Member
 
Registered: Nov 2003
Location: Ronneby, Sweden
Posts: 555

Rep: Reputation: 30
Oh dear ... Maybe you need to reinstall after all. If you haven't changed anything and it just stops working, then I would suggest some kind of hardware failure -- possibly a bad sector on your hard disk. Another possibility is bad RAM.

Kind of hard to tell from here, actually. Run memtest86:
http://www.memtest86.com/
on the machine to rule out bad RAM (it runs from a bootable floppy or CD).

After that, I'm kind of inclined to reformatting and reinstalling. If one or more of your dynamic library-files is broken, it's very difficult to find.

Sorry
Martin
 
Old 11-23-2004, 11:12 AM   #13
xstealthrtx
Member
 
Registered: Nov 2004
Posts: 31

Original Poster
Rep: Reputation: 15
i highly doubt it's bad hardware. i build computers and i've been running this setup without a problem for quite some time with XP. it's gotta be something wrong with linux. maybe my cd's suck, i dunno. i really really find linux fascinating and i want to play with it, but it's hard to keep up hopes when it errors more than windows and about 40x harder to use.

well i guess i'll reinstall and try installing all that c compiler stuff during setup. thanks for advice though
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
installing mplayer,and c++ compiler. sudi16 Linux - Newbie 3 02-22-2005 12:22 AM
Installing a compiler in linux jkumars Linux - Software 6 12-22-2004 07:15 AM
Installing C and C++ compiler in SuSE mikedeatworld Linux - Software 0 08-15-2004 12:28 PM
installing the c++ compiler jmg1894 Linux - Software 1 06-17-2004 04:59 PM
help with installing Gnu C compiler little_arab Mandriva 1 04-01-2004 01:45 PM


All times are GMT -5. The time now is 12:07 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration