Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
| 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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
05-18-2010, 12:45 PM
|
#1
|
|
LQ Newbie
Registered: Apr 2005
Posts: 4
Rep:
|
gcc configure problem
I'm having trouble running the configuration, and I have installed gcc-c++ as well as running zypper install -t pattern devel_C_C++ to try and make sure are the tools are installed.
Code:
sam@linux-o5fj:~/gcc-code-assist-0.1-4.4.4> ./configure --prefix=$HOME --program-suffix=-code-assist --enable-languages=c,c++ --disable-bootstrap --disable-multilib
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for gnatbind... no
checking for gnatmake... no
checking whether compiler driver understands Ada... yes
checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1 $$f2
checking for correct version of gmp.h... yes
checking for correct version of mpfr.h... yes
checking for version 0.10 of PPL... no
checking for correct version of CLooG... no
configure: error:
The following requested languages could not be built: c++
Supported languages are: c
Anyone know what the problem is?
Thanks,
Sam
|
|
|
|
05-18-2010, 09:01 PM
|
#2
|
|
Senior Member
Registered: Jul 2004
Location: Phoenix, Arizona
Distribution: LFS-Version SVN-20091202, Arch 2009.08
Posts: 1,466
Rep:
|
Quote:
checking for version 0.10 of PPL... no
checking for correct version of CLooG... no
|
These 2 messages indicate that you do not have these packages installed. They may be needed to build support for c++.
|
|
|
1 members found this post helpful.
|
05-19-2010, 06:03 AM
|
#3
|
|
Senior Member
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073
Rep:
|
Quote:
Originally Posted by Samsinite
I'm having trouble running the configuration, and I have installed gcc-c++ as well as running zypper install -t pattern devel_C_C++ to try and make sure are the tools are installed.
Code:
configure: error:
The following requested languages could not be built: c++
Supported languages are: c
Anyone know what the problem is?
Thanks,
Sam
|
Have you untarred the gcc-g++ source in the gcc folder? The error message says that it only has the source code for the c compiler
|
|
|
|
05-19-2010, 11:03 PM
|
#4
|
|
LQ Newbie
Registered: Apr 2005
Posts: 4
Original Poster
Rep:
|
still same problem...
Hey guys, I have g++ installed (gcc-c++ package on suse):
Code:
i | gcc44 | The GNU C Compiler and Support Files | package
i | gcc44-ada | GNU Ada95 Compiler Based on GCC (GNAT) | package
i | gcc44-c++ | The GNU C++ Compiler | package
i | gcc44-fortran | The GNU Fortran Compiler and Support Files | package
i | gcc44-gij | Java Bytecode Interpreter for gcc | package
i | gcc44-info | Documentation for the GNU compiler collection | package
i | gcc44-java | The GNU Java Compiler | package
i | gcc44-locale | Locale Data for the GNU Compiler Collection | package
i | gcc44-obj-c++ | GNU Objective C++ Compiler | package
i | gcc44-objc | GNU Objective C Compiler | package
i | libgcc44 | C compiler runtime library | package
i | libstlport_gcc4 | C++ STL library compatible with the latest ANSI/ISO C++ sp-> | package
and I also installed ppl and cloog:
Code:
checking for version 0.10 of PPL... yes
checking for correct version of CLooG... yes
configure: error:
The following requested languages could not be built: c++
Supported languages are: c
and I am still getting the same error. Any other ideas or suggestions?
Thanks for the help and responses,
Sam
|
|
|
|
05-19-2010, 11:53 PM
|
#5
|
|
Guru
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 6,329
|
What happens if you try with just - --enable-languages=c?
|
|
|
1 members found this post helpful.
|
05-20-2010, 12:34 AM
|
#6
|
|
LQ Newbie
Registered: Apr 2005
Posts: 4
Original Poster
Rep:
|
Problem Fixed
Quote:
Originally Posted by grail
What happens if you try with just - --enable-languages=c?
|
Worked like a charm.
Thanks everyone for all the help.
-Sam
|
|
|
|
05-20-2010, 01:12 AM
|
#7
|
|
Senior Member
Registered: Sep 2007
Location: Dhaka,Bangladesh
Distribution: Debian
Posts: 1,017
Rep:
|
Quote:
Originally Posted by Samsinite
Worked like a charm.
Thanks everyone for all the help.
-Sam
|
You can mark the thread as "[SOLVED]".
|
|
|
|
05-20-2010, 08:22 PM
|
#8
|
|
Senior Member
Registered: Jul 2004
Location: Phoenix, Arizona
Distribution: LFS-Version SVN-20091202, Arch 2009.08
Posts: 1,466
Rep:
|
Yea but now this built version of GCC will only compile programs in C and no other language.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 12:47 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
|
|