Problem trying to get a C++ compiler on Suse 9.1
I am a newbie. I have Suse 9.1 personal and I am trying to upgrade digikam. I have the source and I am trying to run ./configure and I keep getting error messages. The first one was that I got was that there were no C++ compilers available. I did some research and finally installed gcc through apt-get. I also installed make the same way. Now I get the following error:
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 similar to libstdc++-dev. To me that means I need to install libstdc++-dev but I have no idea where to find it or how to install it. I have also been reading some threads and learned that 9.1 doesn't come with a compiler but 9.2 does. Should I just upgrade to 9.2? Can I upgrade or will I have to unistall and re-install? Thank you for any help you can give. |
I have g++ on mine... but I bought 9.1 pro.
|
SuSE 9.1 Personal lacks all development tools (compiler, sources, header, etc.). See here how to get them:
http://www.linuxquestions.org/questi...hreadid=266647 |
I just hit FreshMeat and looked for G++. I've did some Linux so I knew about G++ and have played with it some. You can usually get a RPM for most flavors there.
www.freshmeat.net |
Thank you all for the replies. I have updated Yast to look at the mirror (very cool!) and I am now downloading some development tools and libraries. I will try and compile when they are done downloading (about two hours or so).
|
OK. So now I am completely confused and frustrated. After spending much of the day downloading and installing all of the lib's and other dev tools that I needed I finally got through the ./configure part of digikam. I then ran make and that seems to have run OK. Then I ran make install and that seems to have run OK (I did not get any errors that I can tell) Now where is my program? I run digikam and I still get version 0.6 not the new version that I thought I just installed so I run rpm -e digikam and now I have nothing. I compile and install 0.7.1 again and still no program. What am I missing?
|
Probably you installed digicam under a different path variable than the SuSE-rpm. The best would be to uninstall the previous version and run ./configure with the same PATH variable. (see ./configure --help)
On my system, digikam is in /opt/kde3/bin Or have a try with this server as Yast source: HTTP server: packman.iu-bremen.de directory: suse/9.1 They may have an updated version of digikam as SuSE rpm. |
All times are GMT -5. The time now is 05:14 PM. |