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: 13
Joined: Sun Mar 15, 2020 2:06 am

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

Post by Webmaster78 » Sun Mar 15, 2020 5:42 pm

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: 1942
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

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

Post by Syzop » Sun Mar 15, 2020 5:56 pm

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
Official supporter
Posts: 1122
Joined: Sun Apr 18, 2004 5:06 pm
Contact:

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

Post by katsklaw » Sun Mar 15, 2020 6:02 pm

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: 13
Joined: Sun Mar 15, 2020 2:06 am

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

Post by Webmaster78 » Mon Mar 16, 2020 12:06 pm

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: 124
Joined: Thu Apr 28, 2005 1:05 pm
Location: France
Contact:

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

Post by CrazyCat » Mon Mar 16, 2020 3:55 pm

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
Official supporter
Posts: 1122
Joined: Sun Apr 18, 2004 5:06 pm
Contact:

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

Post by katsklaw » Mon Mar 16, 2020 11:06 pm

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: 13
Joined: Sun Mar 15, 2020 2:06 am

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

Post by Webmaster78 » Wed Mar 18, 2020 3:00 pm

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

Locked