Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
10-31-2004, 10:45 PM
|
#1
|
Member
Registered: Oct 2004
Location: Melbourne-ish, Australia
Distribution: Gentoo, Windows XP Pro
Posts: 58
Rep:
|
mismatched rpm versions of libstdc++ and libstdc++-devel
howdy,
I've got two versions of libstdc++ and one of libstdc++-devel. libstdc++-3.3.3-7 came with my fedora core 2 distro. I downlaoded the otheres via ftp and installed them using the rpm command (not yum or apt-get). See this:
#rpm -qa | grep libstdc
libstdc++-3.3.3-7
libstdc++-devel-3.4.2-6
libstdc++-3.4.2-6
The configure scripts I've tried for compiling source code all complain about missing what they call a package similar to libstdc+-dev. I want them to see that I have libstdc++-devel.
My best guess is that libstdc++-3.3.3-7 wants libstdc++-devel-3.3.3-7, but I can't get it. I guess I need to get rid of libstdc++-3.3.3-7 but it has all these dependencies. I don't want to kill my system.
Also see http://www.soundless-screams.net/pcw...log-24-10-2004
Thanks for any ideas,
-pcweirdo.
|
|
|
11-01-2004, 11:38 AM
|
#2
|
LQ Newbie
Registered: Mar 2004
Location: San Francisco Bay Area
Distribution: W: CentOS H: Ubuntu
Posts: 10
Rep:
|
Re: mismatched rpm versions of libstdc++ and libstdc++-devel
Quote:
Originally posted by pcweirdo
howdy,
I've got two versions of libstdc++ and one of libstdc++-devel. libstdc++-3.3.3-7 came with my fedora core 2 distro. I downlaoded the otheres via ftp and installed them using the rpm command (not yum or apt-get). See this:
>>Which rpm command did you use to install? Did you use a -f? I would think that rpm would have complained about conflicts between libstdc++ 3.3.3-7 and libstdc++3.4.2-6 Can you uninstall or erase the libstdc++-devel package first? Then try to remove libstdc++-3.4.2-6. Now you should just the libstdc++3.4.2-6. Download the 3.4.2-6-devel and the libstdc++3.4.2-6. When you install via rpm try this: rpm -Uvh *.rpm This assumes that only your libstdc++ rpms are in this directory, since it will be Upgrading (this is what the -U option means, vh are for verbose output and hash marks) all rpm packages in that directory. See if this attempted upgrading does what you need.
#rpm -qa | grep libstdc
libstdc++-3.3.3-7
libstdc++-devel-3.4.2-6
libstdc++-3.4.2-6
The configure scripts I've tried for compiling source code all complain about missing what they call a package similar to libstdc+-dev. I want them to see that I have libstdc++-devel.
My best guess is that libstdc++-3.3.3-7 wants libstdc++-devel-3.3.3-7, but I can't get it. I guess I need to get rid of libstdc++-3.3.3-7 but it has all these dependencies. I don't want to kill my system.
Also see http://www.soundless-screams.net/pcw...log-24-10-2004
Thanks for any ideas,
-pcweirdo.
|
|
|
|
11-02-2004, 08:58 AM
|
#3
|
Member
Registered: Dec 2003
Location: Houston
Distribution: Knoppix,lenova yoga 3, Samsung s6 -android
Posts: 307
Rep:
|
You can find libstdc++-devl 3.3.3-7 here
http://rpmseek.com/rpm/libstdc%5C%5C...cs=libstdc%5C%
Edited to add you need to enter libstdc++ which will give you a list of the libstdc++ available. Click on libstdc++-devl and you will find the 3.3.3.7 version for fedora core 2.
Last edited by laceupboots; 11-02-2004 at 09:05 AM.
|
|
|
11-03-2004, 05:16 PM
|
#4
|
Member
Registered: Oct 2004
Location: Melbourne-ish, Australia
Distribution: Gentoo, Windows XP Pro
Posts: 58
Original Poster
Rep:
|
thanks for your replies. I've downloaded libstdc++-devel-3.3.3-7 and will try it on my linux tonight or tomorrow (i'm on windows at school atm). I'll get back to you with the results.
-pcweirdo.
|
|
|
11-05-2004, 08:39 PM
|
#5
|
Member
Registered: Oct 2004
Location: Melbourne-ish, Australia
Distribution: Gentoo, Windows XP Pro
Posts: 58
Original Poster
Rep:
|
success! w00t!
To fix my problems, I did:
rpm --force -U libstdc++-devel-3.3.3-7.rpm
which "upgraded" ( actually downgraded) my libstdc++-devel package.
This made configure scripts work, because my libstc++ and libstdc++-devel are now the same version.
So now I'm very happy.
Thanks for the help.
-pcweirdo.
|
|
|
11-28-2004, 05:57 PM
|
#6
|
Member
Registered: Nov 2004
Location: Vancouver
Distribution: Ubunty, CentOS ,Mandriva, Gentoo, RedHat, Fedora, Knoppix
Posts: 150
Rep:
|
Hi
I was trying to install a new package but I got the error message:
"checking for QT-1.30... configure: error: QT-1.30 (headers and libraries) not found. Please check your installation!"
or
"checking if C++ programs can be compiled... no
configure: error: Your Installation isn't able to compile simple C++ programs.
Check config.log for details - if you're using a Linux distribution you might miss
a package named similiar to libstd++-dev."
I tried to install all the packages of libstdc++ and -dev ones but all I got was "warning: libstdc++-devel-3.2.2-5asp.i386.rpm: V3 DSA signature: NOKEY, key ID 9b3c94f4
error: Failed dependencies:
libstdc++ = 3.2.2-5asp is needed by libstdc++-devel-3.2.2-5asp
"
when I tried to install the dependency(libstdc++-3.3.2-1.i386.rpm), I got:
"warning: libstdc++-3.3.2-1.i386.rpm: V3 DSA signature: NOKEY, key ID 4f2a6fd2"
and everything stoped working.
I am using mandrake linux 10.1 and I don't know what to do anymore. Please help!
Thanks
|
|
|
11-28-2004, 10:13 PM
|
#7
|
Member
Registered: Dec 2003
Location: Houston
Distribution: Knoppix,lenova yoga 3, Samsung s6 -android
Posts: 307
Rep:
|
Try installing the QT 1.30. Also are you using the CE edition of 10.1? I was having similar issues with 10.1 CE and I upgraded to 10.1 Official the download version. I did an install not an update and it allowed me to select Development and automatically installed IDLE (Python development) KDevelop (C++ for KDE) and QT Designer (C++ , looks a lot like Visual Basic) and it saved the info in my home directory.
|
|
|
11-29-2004, 12:08 AM
|
#8
|
Member
Registered: Nov 2004
Location: Vancouver
Distribution: Ubunty, CentOS ,Mandriva, Gentoo, RedHat, Fedora, Knoppix
Posts: 150
Rep:
|
Hello,
I have got my linux from Mandrake website and it is 10.1 download edition official. I have clean installed it not upgrade from older versions.
The problem is I have installed every single package I thought might be necessary but I have had no luck yet. The packages I installed are:
glibc-2.3.3-21mdk.i586.rpm
glibc-devel-2.3.3-21mdk.i586.rpm
libstdc++6-3.4.1-4mdk.i586.rpm
libstdc++6-devel-3.4.1-4mdk.i586.rpm
XFree86-devel-4.3.0-111.i586.rpm
I found every single package to be useful from the comments I read from other forums or people with the same problem as mine. But I had no luck.
Recently, I get this message when I try to compile a source code:
"
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 if C++ programs can be compiled... no
configure: error: Your Installation isn't able to compile simple C++ programs.
Check config.log for details - if you're using a Linux distribution you might mi ss
a package named similiar to libstd++-dev.
"
notice I get g++ -- no and this is something new. I tried to install gcc-g++ again but I couldn't even compile the package again.
I don't really know what else to do. Please help me!
Thanks
Alireza
|
|
|
11-29-2004, 09:30 AM
|
#9
|
Member
Registered: Dec 2003
Location: Houston
Distribution: Knoppix,lenova yoga 3, Samsung s6 -android
Posts: 307
Rep:
|
Some of the packages you mentioned aren't on my computer either but I can still compile a program. g++ is there so is c++. You can try running an update install , or a new install after you save your home directory. Official saved the information in my home directory but you still want to do that just in case. Other than that your going to have to fight your way through the dependencies. The thing is....... you have the information already on one of the 10.1 CD's that you have and should be able to access the information from your Install Packages option in the System/Configuration/Packaging menu.
|
|
|
All times are GMT -5. The time now is 08:28 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|