LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-05-2006, 06:24 AM   #16
311Sam
Member
 
Registered: Nov 2003
Location: waco, tx
Distribution: slackware & kubuntu
Posts: 108

Original Poster
Rep: Reputation: 15

Quote:
Originally Posted by gbonvehi
From the log:


Take a look at the version, then read next:


You've gcc-g++-3.4.6 mixed with gcc-3.3.6... you've to upgrade or downgrade all gcc related packages.
hey good eyes! http://la.gg/thmb/snapshot1.png

but how exactly did this happen? i havent messed with anything other then updating the kernel. it looks like slackware shipped like this?


what would be the correct way to fix this? should i just reinstall the whole gcc package from source? i think first i am going to try to find the older slackware g++ package first, wonder why it was upgraded in the first place?
 
Old 10-05-2006, 06:26 AM   #17
311Sam
Member
 
Registered: Nov 2003
Location: waco, tx
Distribution: slackware & kubuntu
Posts: 108

Original Poster
Rep: Reputation: 15
ok quick search and i found this: http://slackware.osuosl.org/slackwar...3.6-i486-1.tgz

might be an easy fix, but still, why would slackware do this?
 
Old 10-05-2006, 07:33 AM   #18
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
Maybe you upgraded it before doing the kernel upgrade without noticing it by downloading from -current (now -11.0) which is version 3.4.6. I'd recommend to install g++ 3.3.6 because upgrading the whole gcc probably will requiere another packages to be upgraded.

Last edited by gbonvehi; 10-05-2006 at 07:34 AM.
 
Old 10-05-2006, 07:00 PM   #19
311Sam
Member
 
Registered: Nov 2003
Location: waco, tx
Distribution: slackware & kubuntu
Posts: 108

Original Poster
Rep: Reputation: 15
well that was the problem, i installed the g++ 3.3.6 from a slack package. dont know what 3.4.6 was doing on there, it was in my home directory so i must have downloaded it and installed it for some reason and forget

that fixed my problems althogh i still cant install the programs i was wanting for other reasons now but i will read up on that later


anyways, thanks for the help!
 
  


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
error: C++ preprocessor "/lib/cpp" fails sanity check marek345 Linux - Software 4 11-06-2008 10:49 AM
error: C preprocessor "/lib/cpp" fails sanity check ankit4u1 Linux - Software 2 04-02-2006 01:24 PM
problems with"/lib/cpp" fails sanity check mac1234mac Linux - Software 16 03-06-2006 07:49 AM
error: C preprocessor "/lib/cpp" fails sanity check Master Fox Linux - Software 0 10-14-2004 04:39 PM
" '/lib/cpp' fails sanity check" when trying to install GAIM BoardinBum Linux - Newbie 2 08-13-2004 09:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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