LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 03-09-2005, 02:02 PM   #1
eroica
Member
 
Registered: Sep 2003
Distribution: Mandriva 2006,OpenSuse 10.1
Posts: 154

Rep: Reputation: 30
Question trouble compiling w/c++


hello,
i'm trying to compile a program off kde.org(k-bandwidth) and when i run the ./configure script i get the following:
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 then installed the packages libstdc++5-static-devel & libstdc++5-devel but I still get same error when trying to compile k-bandwidth. i'm reletively new to linux and wanted to know if someone had any suggestions on if i have right packages installed or if i need to update a config file to point to a certain directory. i'm running mandrake 9.1. I do see a directory /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2.2/include but is this is in some nonstandard place?

thanx alan
 
Old 03-09-2005, 02:09 PM   #2
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
You need to install the development packages with Mandrake.
You can do this through Add Software.
 
Old 03-09-2005, 02:41 PM   #3
eroica
Member
 
Registered: Sep 2003
Distribution: Mandriva 2006,OpenSuse 10.1
Posts: 154

Original Poster
Rep: Reputation: 30
ok added gcc -c++ package but now get this when i run ./configure:
checking for X... configure: error: Can't find X includes. Please check your installation and add the correct paths!
any ideas what package or where this should be?

alan

Last edited by eroica; 03-09-2005 at 02:54 PM.
 
Old 03-09-2005, 03:01 PM   #4
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
basically all the packages have their coresponding developement packages that you need
dividing the packages in two like this binary and devel is one of the great linux blunders of all time
but you got to deal with it
 
Old 03-09-2005, 03:17 PM   #5
eroica
Member
 
Registered: Sep 2003
Distribution: Mandriva 2006,OpenSuse 10.1
Posts: 154

Original Poster
Rep: Reputation: 30
yeah but do i need to add some X libraries now or are they not in a standard place???
alan
 
  


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
trouble compiling fretbrner Slackware 1 01-31-2005 01:30 PM
trouble compiling raconfig beetlebug Linux - Wireless Networking 0 10-10-2004 12:04 PM
having trouble while compiling kernel.. The_eXXe Mandriva 12 09-02-2004 02:53 PM
Trouble compiling anything banZera Slackware 4 04-07-2004 11:19 AM
Trouble with compiling gamehack Debian 3 01-11-2004 09:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:19 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration