LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 05-10-2005, 08:13 AM   #1
Waerner
Member
 
Registered: May 2005
Location: Írebro, Sweden
Distribution: Ubuntu 6.06
Posts: 92

Rep: Reputation: 15
Thumbs down I have a dark cloude above me...


Okay, I've searched your forum and I've found the problem on some other places to, but I haven't succeed to solve it.

checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
configure: error: /bin/sh './configure' failed for autoconf-lib-link
[root@localhost gettext-0.14]#

I've tried to installed the gcc3.3-c++-3.3.4-4mdk.i586.rpm with no success at all. What should I do? It would be lovely if someone told me how to fix it, I'm a big n000b...

Other (perhaps) useful information?
GCC 3.4.3 running on Mandrake 10.2rc for x86_64 architechture
 
Old 05-10-2005, 08:36 AM   #2
aes canis
Member
 
Registered: May 2005
Location: Finland
Distribution: Slackware 13.37, Ubuntu 10.10
Posts: 123

Rep: Reputation: 15
I know sod all about the problem, but... you say you are using an RPM for the i586 architecture, but you seem to have an x86_64 installation.

Have you tried an x86_64 PRM? like this:
ftp://rpmfind.net/linux/Mandrake/10....mdk.x86_64.rpm
 
Old 05-10-2005, 08:45 AM   #3
Waerner
Member
 
Registered: May 2005
Location: Írebro, Sweden
Distribution: Ubuntu 6.06
Posts: 92

Original Poster
Rep: Reputation: 15
Actually, I haven't found any, so as a last way out, I tried the one for i586.
*Downloading the new one*

Got a strange error-message, I'll try to translate it into english:

Some requested packages could not be installed:
gcc3.3-3.3.4-2mdk.x86_64 (due to unsufficient gcc3.3-cpp[== 3.3.4-2mdk])
Continue?

When selected Continue, it says "Installation Complete", but, hmm, doesn't feels like it when I read what it said above...
 
Old 05-10-2005, 09:26 AM   #4
aes canis
Member
 
Registered: May 2005
Location: Finland
Distribution: Slackware 13.37, Ubuntu 10.10
Posts: 123

Rep: Reputation: 15
Bizzarre stuff!
Perhaps there's a dependancy problem? I'm only used to SuSE, which uses YaST to install RPMs and it checks the dependacies and gives quite good descriptions of problems.

Anyway, I put just gcc3.3-cpp in to RPMFind and it found this:
gcc3.3-cpp-3.3.4-2mdk.x86_64.rpm, which is located HERE

I would install this one first, then the other one.

It'll probably say another package is missing, so then it's back off to RPMFind

Last edited by aes canis; 05-10-2005 at 09:28 AM.
 
Old 05-10-2005, 09:34 AM   #5
Waerner
Member
 
Registered: May 2005
Location: Írebro, Sweden
Distribution: Ubuntu 6.06
Posts: 92

Original Poster
Rep: Reputation: 15
Well, it can't be my day then...
First, when I tried to install the last package you linked me to, the c++-file, it says that it's already installed, and then, I got the same errormessage on the other one...


Cheers
 
Old 05-11-2005, 12:21 AM   #6
aes canis
Member
 
Registered: May 2005
Location: Finland
Distribution: Slackware 13.37, Ubuntu 10.10
Posts: 123

Rep: Reputation: 15
Out of interest, have you tried to first remove the packages first?

I know I'm harking back to Windows and am still pretty clueless about the in machinations of LInux, but what I have done when an istallation has had problems, is to remove the packages that had the errors, then reboot - hoping that SuSE Linux has sort of "house-keeping" routines that clean up broken links and associations and stuff. Then I would reinstall with the last package first (?) - that is the one that was needed by the original wanted package, if you get my drift.

I was lucky, or though I was... I wrote the infamous "Hello world", then did g++ HelloWorld.cpp -o HelloWorld, no compiling error messages, and even got a 'green' HelloWorld executable file. But typing "HelloWorld" just returns "command not found" ... Oh well, I guess it's over to the gcc home page
 
Old 05-11-2005, 03:35 AM   #7
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
Install the source of the version of the Linux kernel that you are running using urpmi and your problem should be sorted.
 
Old 05-11-2005, 03:44 AM   #8
Tanc
Member
 
Registered: Sep 2003
Location: France
Distribution: Debian etch
Posts: 99

Rep: Reputation: 15
I saw that u made a ./configure within a gettext folder... thus i suppose u tried to install Gettext.

Have a look at the following 64 bits package instead of sources...

GETTEXT
 
Old 05-11-2005, 05:08 AM   #9
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
Waerner: You're suffering, needlessly I might add, through dependency hell. Why not configure Mandriva's stongest utility -- urpmi -- to get the dependencies for you? Need help doing so? See motub's excellent walkthrough here.
 
Old 05-11-2005, 06:00 AM   #10
Waerner
Member
 
Registered: May 2005
Location: Írebro, Sweden
Distribution: Ubuntu 6.06
Posts: 92

Original Poster
Rep: Reputation: 15
Okay, I made a successfull installation of Gettext, finally, thank you for all the help, that one was necessary for a third part program I want to install, but the problem with the g++ (or whatever it was) still remains.

Scuzzman: I'll check that guide later today, must get a haircut now

Thanks alot to all of you (I love these newbie-forums ;P)

I'll guess you'll see me here when I got new problems, but now, I'll try to solve this with the help you gave me, thanks


Cheers
 
Old 05-11-2005, 06:48 AM   #11
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
The package you need to install is either gcc-c++ or gcc-cpp. Using urpmi to install it will also install all the required dependencies automatically. If you have installed g++ and the error remains, then you need to install the kernel source of the kernel that you are curently running because on some distros if its not installed you can experiene the errors you are currently getting with the "sanity check".
 
Old 05-11-2005, 07:50 AM   #12
iluvatar
Member
 
Registered: Jul 2003
Location: netherlands
Distribution: debian
Posts: 403

Rep: Reputation: 30
Quote:
I was lucky, or though I was... I wrote the infamous "Hello world", then did g++ HelloWorld.cpp -o HelloWorld, no compiling error messages, and even got a 'green' HelloWorld executable file. But typing "HelloWorld" just returns "command not found" ... Oh well, I guess it's over to the gcc home page
this is because linux won't search the executable in the current path, only in the PATH enviroment variable settings. So if you want to run HelloWorld executable, go into the directory where it's located and type: "./HelloWorld" (without the quotes).

greetz,
.-=~ iluvatar ~=-.
 
  


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
vi too dark colors alaios Linux - Software 2 05-19-2005 12:24 PM
Screen is very dark Imerion Linux - Laptop and Netbook 19 01-23-2005 05:07 PM
I can't see linux! It's very dark in here, please help me. BooDaH Linux - Hardware 2 08-16-2004 11:09 PM
cant c font... too dark santasballz Linux - Newbie 0 02-29-2004 06:21 PM
Computing in the dark? MasterC General 33 07-30-2003 08:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:09 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