Linux - SoftwareThis 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.
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.
I am having a problem I have never encountered before. When I try to install programs, I get a failure to compile error in configure. I have tried to install Prozilla, Prozgui, and Aria2, but I get the same message for each. The message follows:
./configure
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 build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for cppunit-config... no
checking for Cppunit - version >= 1.10.2... no
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 the C++ compiler works... no
configure: error: in `/home/david/Downloads/Aria2/aria2-1.9.3':
configure: error: C++ compiler cannot create executables
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 whether the C++ compiler works... no
you do not have gcc installed
also please , next time, include more info
like WHAT distro ( an version) you are using
I am using PCLinuxOS 2009. Gcc IS installed. Although I am a newbie to Linux Questions, I have been a Linux user for over 5 years and have never had this problem before.
I am using PCLinuxOS 2009. Gcc IS installed. Although I am a newbie to Linux Questions, I have been a Linux user for over 5 years and have never had this problem before.
There are maybe a 'config.log' file in source dirertory after 'configure'. If so, have a look at it.
Im not sure if your distribution packages gcc and g++ together or not but:
Is it possible that gcc and g++ are different versions?
For some ridiculous reason is gcc on a partition that is not mounted?
It really looks like gcc is missing!
check your version. gcc -v
Try gcc -v and see if you have permissions to execute it. You can do it once with your user and another as root user.
Maybe your user has no permission.
Remember,
sudo ./configure
is not the same than
sudo su
./configure
I am using PCLinuxOS 2009. Gcc IS installed. Although I am a newbie to Linux Questions, I have been a Linux user for over 5 years and have never had this problem before.
You installed gcc, but did you add its directory to environment variable PATH ?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.