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.
|
|
01-22-2005, 07:01 PM
|
#1
|
LQ Newbie
Registered: Jan 2005
Location: Madison, GA
Distribution: Suse
Posts: 7
Rep:
|
can't compile simple C++ programs on Suse 9.1 after installing gcc
I am somewhat of a newbie. I have played with Linux for a few years but now I am using it at home exclusively. I have Suse 9.1 personal and I am trying to install digikam 0.7.1.
I have the source and try to run ./configure and get the following error:
configure: error: Your Installation isn't able to compile simple C++ programs.
I have GCC installed. (just installed using apt-get)
I do have digikam 0.6 installed now but want the new version. Any help would be greatly appreciated.
Thanks
|
|
|
01-22-2005, 07:04 PM
|
#2
|
Senior Member
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Rep:
|
Can you run g++, c++, cc, or gcc on a shell?
It could be you need to run "source /etc/profile" since you just installed a package or you could need to add the bin directory for your gcc installation to your path.
|
|
|
01-22-2005, 07:13 PM
|
#3
|
LQ Newbie
Registered: Jan 2005
Location: Madison, GA
Distribution: Suse
Posts: 7
Original Poster
Rep:
|
I get command not found when I try to run g++ and c++.
I ran source /etc/profile and then tried to configure again and got the same error. How do I add the bin directory to my path?
Thanks
|
|
|
01-22-2005, 07:26 PM
|
#4
|
Senior Member
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Rep:
|
Well you have to find out where it is first.
locate g++ will find it so long as your locate database is up to date. If it hasn't be updated sicne you installed it then find / -name "g++" will find it.
It could be that there is a seperate g++ package with suse that you need to install.
|
|
|
01-23-2005, 12:23 AM
|
#5
|
Senior Member
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973
Rep:
|
gcc is not a cpp compiler. you need to install the g++ package.
|
|
|
01-23-2005, 08:26 AM
|
#6
|
LQ Newbie
Registered: Jan 2005
Location: Madison, GA
Distribution: Suse
Posts: 7
Original Poster
Rep:
|
Thanks,
Any idea where to find the g++ package?
|
|
|
01-23-2005, 01:04 PM
|
#7
|
Member
Registered: Dec 2003
Location: Houston
Distribution: Knoppix,lenova yoga 3, Samsung s6 -android
Posts: 307
Rep:
|
sourceforge.net, rpmseek.com, rpmfind.com
|
|
|
01-23-2005, 06:39 PM
|
#8
|
Senior Member
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973
Rep:
|
for Suse use Yast to get it.
|
|
|
01-23-2005, 08:07 PM
|
#9
|
LQ Newbie
Registered: Jan 2005
Location: Madison, GA
Distribution: Suse
Posts: 7
Original Poster
Rep:
|
got it through Yast2 once I updated my source location.
Thanks for all of the help
|
|
|
07-04-2007, 08:04 AM
|
#10
|
LQ Newbie
Registered: Jul 2007
Posts: 1
Rep:
|
The same but in SuSE 10 ?
Can you tell me more about the C++ compilers in SuSE10
Thanks
|
|
|
All times are GMT -5. The time now is 02:41 AM.
|
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
|
|