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.
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.
|
 |
12-21-2009, 10:15 PM
|
#1
|
LQ Newbie
Registered: Nov 2009
Distribution: Fedora 12
Posts: 23
Rep:
|
failed source install, says C++ compiler required
Code:
[jeremy@OzzyLinux amsn-0.98.1]$ ./configure
checking for prefix by checking for wish... no
which: no tclsh in (/usr/lib/qt-3.3/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/jeremy/bin)
expr: syntax error
./configure: line 2397: test: too many arguments
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 ISO C89... none needed
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
which: no g++ in (/usr/lib/qt-3.3/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/jeremy/bin)
configure: error: You need a C++ compiler (g++) to compiler aMSN. Please install g++ and try again
yet I do have gcc installed
Code:
[jeremy@OzzyLinux amsn-0.98.1]$ sudo yum install gcc
Loaded plugins: presto, refresh-packagekit
Setting up Install Process
Package gcc-4.4.2-7.fc12.i686 already installed and latest version
Nothing to do
I think I had this problem before but I just reinstalled to fix it. Any ideas that could be causing this? I tried removing and reinstalling gcc but that didn't seem to resolve it. I'm running Fedora 12.
Thanks,
|
|
|
12-21-2009, 10:18 PM
|
#2
|
Member
Registered: Oct 2004
Location: Atlanta
Distribution: CentOS, RHEL, HP-UX, OS X
Posts: 567
Rep:
|
Code:
sudo yum install g++
|
|
|
12-21-2009, 10:20 PM
|
#3
|
LQ Newbie
Registered: Nov 2009
Distribution: Fedora 12
Posts: 23
Original Poster
Rep:
|
yeah tried that one earlier too
Code:
[jeremy@OzzyLinux amsn-0.98.1]$ sudo yum install g++
[sudo] password for jeremy:
Loaded plugins: presto, refresh-packagekit
Setting up Install Process
No package g++ available.
Nothing to do
|
|
|
12-21-2009, 10:26 PM
|
#4
|
LQ Newbie
Registered: Dec 2009
Distribution: Ubuntu/Debian
Posts: 8
Rep:
|
Try this:
Code:
sudo yum install gcc-g++
|
|
|
12-21-2009, 10:29 PM
|
#5
|
LQ Newbie
Registered: Nov 2009
Distribution: Fedora 12
Posts: 23
Original Poster
Rep:
|
Code:
[jeremy@OzzyLinux amsn-0.98.1]$ sudo yum install gcc-g++
[sudo] password for jeremy:
Loaded plugins: presto, refresh-packagekit
Setting up Install Process
No package gcc-g++ available.
Nothing to do
:/
|
|
|
12-21-2009, 10:32 PM
|
#6
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
yum search g++
?
I can't believe it won't pick it up - it's SO commonplace.
What distro is this?
|
|
|
12-21-2009, 10:35 PM
|
#7
|
LQ Newbie
Registered: Nov 2009
Distribution: Fedora 12
Posts: 23
Original Poster
Rep:
|
Code:
[jeremy@OzzyLinux amsn-0.98.1]$ sudo yum search g++
[sudo] password for jeremy:
Loaded plugins: presto, refresh-packagekit
================================= Matched: g++ =================================
arm-gp2x-linux-gcc-c++.i686 : Cross Compiling GNU G++ targeted at arm-gp2x-linux
avr-gcc-c++.i686 : Cross Compiling GNU GCC targeted at avr
It's running Fedora 12 - I agree, quite perplexing
|
|
|
12-21-2009, 10:47 PM
|
#8
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
Are you trying to cross-compile, or is this some funky development
platform?
Try
yum install avr-gcc-c++
if that's the target platform for your aMSN.
|
|
|
12-21-2009, 10:56 PM
|
#9
|
LQ Newbie
Registered: Nov 2009
Distribution: Fedora 12
Posts: 23
Original Poster
Rep:
|
I downloaded and installed the avr-gcc-c++ but it still won't compile, same error message.
Strange, it's installed, but it's just not finding it.
Not sure what cross compiling is so I'm going to go with negative for that answer.
As for development platform? Shouldn't be, downloaded it from fedoraproject a few weeks back.
Oh well, if another reinstall is needed no big deal.
|
|
|
12-21-2009, 11:50 PM
|
#10
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
Well ... that seems a bit over the top. What does
uname -a
tell you about your system, what does your repository list look like?
Cheers,
Tink
|
|
|
12-22-2009, 08:16 AM
|
#11
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520
|
1) su
2) yum install gcc-c++ tcl-devel glibc-headers
.. provides the c++ / g++ compiler + required headers
.. and provides the " tcl shell " = 'tclsh'
.....
|
|
|
All times are GMT -5. The time now is 04:23 PM.
|
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
|
|