LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 01-23-2005, 08:39 AM   #1
cyclebain
LQ Newbie
 
Registered: Jan 2005
Location: Madison, GA
Distribution: Suse
Posts: 7

Rep: Reputation: 0
Question 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.
 
Old 01-23-2005, 10:32 AM   #2
jdblick
Member
 
Registered: Sep 2004
Distribution: SUSE 10.0 OSS
Posts: 261

Rep: Reputation: 30
I have g++ on mine... but I bought 9.1 pro.
 
Old 01-23-2005, 11:57 AM   #3
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
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
 
Old 01-23-2005, 12:32 PM   #4
lectraplayer
Member
 
Registered: Mar 2003
Location: a little west of Birmingham, AL, USA.
Distribution: Porteus 3.1
Posts: 934

Rep: Reputation: 32
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
 
Old 01-23-2005, 02:17 PM   #5
cyclebain
LQ Newbie
 
Registered: Jan 2005
Location: Madison, GA
Distribution: Suse
Posts: 7

Original Poster
Rep: Reputation: 0
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).
 
Old 01-23-2005, 08:05 PM   #6
cyclebain
LQ Newbie
 
Registered: Jan 2005
Location: Madison, GA
Distribution: Suse
Posts: 7

Original Poster
Rep: Reputation: 0
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?
 
Old 01-24-2005, 01:13 AM   #7
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
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.
 
  


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
SuSE Compiler Problem toadatrix Linux - Software 5 02-04-2005 08:03 PM
SuSe 9.1 C++ compiler oprogue SUSE / openSUSE 11 12-19-2004 12:35 PM
compiler for SuSE 9.1 personal deftones Linux - General 16 09-21-2004 01:30 AM
Fortran Compiler in SuSE? Krater47 Linux - Software 4 09-09-2004 12:10 AM
Installing C and C++ compiler in SuSE mikedeatworld Linux - Software 0 08-15-2004 11:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 05:22 AM.

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
Open Source Consulting | Domain Registration