configure: error: no acceptable C compiler found in $PATH

If you hit any installation issues or cannot connect to your freshly installed UnrealIRCd then this forum is for you.

Moderator: Supporters

Locked
Webmaster78
Posts: 35
Joined: Sun Mar 15, 2020 2:06 am

configure: error: no acceptable C compiler found in $PATH

Post by Webmaster78 »

Hi there,

Installing unrealircd I've got an error :

checking for cl.exe... no
configure: error: in `/home/unrealircd/unrealircd-4.2.4.1':
configure: error: no acceptable C compiler found in $PATH

A mistake of my fault ?
Could you help me please ?

Thank you.
Syzop
UnrealIRCd head coder
Posts: 2112
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Re: configure: error: no acceptable C compiler found in $PATH

Post by Syzop »

You need to install a C compiler.

If, for example, you are on Debian or Ubuntu then you can install it with:

Code: Select all

sudo apt-get install build-essential libssl-dev
katsklaw
Posts: 1124
Joined: Sun Apr 18, 2004 5:06 pm
Contact:

Re: configure: error: no acceptable C compiler found in $PATH

Post by katsklaw »

You need a compiler and various other utilities.

On Debian/Ubuntu:

Code: Select all

sudo apt install build-essential libssl-dev
On CentOS8/Fedora/RedHat8:

Code: Select all

sudo dnf install gcc openssl-devel
Friendly Note:
While this forum is here to help install Unrealircd, it's very helpful to yourself if you try to google the error messages first. You'll get a faster response and if you cannot find the answer via google, then of course ask here. For example: I googled this error for you and google found the correct answer in 0.59 seconds.
Webmaster78
Posts: 35
Joined: Sun Mar 15, 2020 2:06 am

Re: configure: error: no acceptable C compiler found in $PATH

Post by Webmaster78 »

Thank you very much but english is not my own language, and I don't know debian. So simply on web search engine, it's difficult for me, so I preffer ask for friendly help if possible.

You gave me two solutions :
sudo apt-get install build-essential libssl-dev
or
sudo apt install build-essential libssl-dev

which one do I've to use ? What'is the difference betweem thems ?

Do I've to do this from root account, or from the account I created for install unrealircd and where I installed unrealircd ?

Thank you.
CrazyCat
Posts: 214
Joined: Thu Apr 28, 2005 1:05 pm
Location: France
Contact:

Re: configure: error: no acceptable C compiler found in $PATH

Post by CrazyCat »

apt and apt-get are quite the same, apt is simpliest to use (preconfigured options). You can have a small explanation at https://itsfoss.com/apt-vs-apt-get-difference/
And when you see a "sudo" starting command, you don't have to be root.
"sudo" is used to execute a command with a privilege escaladation. If you want to execute directly with user root, you don't need the sudo command.
katsklaw
Posts: 1124
Joined: Sun Apr 18, 2004 5:06 pm
Contact:

Re: configure: error: no acceptable C compiler found in $PATH

Post by katsklaw »

Webmaster78 wrote: Mon Mar 16, 2020 12:06 pm Thank you very much but english is not my own language, and I don't know debian.
The you don't need the "sudo apt ..." solution. Which OS are you using?
So simply on web search engine, it's difficult for me, so I preffer ask for friendly help if possible.
No problem at all. I was just trying to save you a little time.
Webmaster78
Posts: 35
Joined: Sun Mar 15, 2020 2:06 am

Re: configure: error: no acceptable C compiler found in $PATH

Post by Webmaster78 »

Thank you for all. It's installed now.
I'll creat a new post fot the configuration.
Locked