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 just installed FC3 linux on one of my machines. Anyway.. I went and tried to install proftpd and this is what I got:
Code:
[root@host proftpd]# ./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 gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
I am positive that GCC is installed, but for some reason the configure script is not detecting it... Can someone please help?
As the error message states, the compiler was not found in your $PATH (the path variable used by bash when looking for executables). If you were installing as user, it probably wouldn't be. But, if you were installing as root, it should be in your path.
To fix this, edit /etc/ld.so.conf and add the paths to the compilers mentioned in the error message. Then run the command 'source /etc/ld.so.conf' to get bash to reload the $PATH, then try again.
Just remember that you may have to su to root to finish the process. User has limited privileges, and can only take the process so far, then root privilege is required to finish.
And put the dir in you path if gcc is there.
It's at ~/.profile or ~/.bash_profile or something like that. Look in your home dir for a hidden file with that name.
If you can't find it you may want to re-install gcc and related files.
Good luck.
Where would I add the path to the ".bash_profile" file? This is what mine looks like. (I am running as root):
Code:
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin
export PATH
unset USERNAME
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.