Page 1 of 1

libphidget22 - Ubuntu 20.04.1 LTS - error: no acceptable C compiler found in $PATH

Posted: Mon Nov 09, 2020 3:54 am
by mt.b
Following the Generic Install

Code: Select all

sudo apt-get install libusb-1.0-0-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libusb-1.0-0-dev is already the newest version (2:1.0.23-2build1).
The following package was automatically installed and is no longer required:
  libfprint-2-tod1
Use 'sudo apt autoremove' to remove it.
0 to upgrade, 0 to newly install, 0 to remove and 23 not to upgrade.
Then, I run

Code: Select all

./configure
from the extracted folder

Code: Select all

Home/Downloads/libphidget22-1.6.20201023

Code: Select all

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... no
checking whether make supports nested variables... no
checking for style of include used by make... none
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/home/jay/Downloads/libphidget22-1.6.20201023':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
Looks like there are issues with Gawk, Make etc. which I have no idea on how to solve due to my lack of ability in these matters.

Re: libphidget22 - Ubuntu 20.04.1 LTS - error: no acceptable C compiler found in $PATH

Posted: Mon Nov 09, 2020 10:29 am
by mparadis
Looks like you're missing some packages needed to build projects from source.

Try this:

Code: Select all

sudo apt update
sudo apt install build-essential
gcc --version
That last line will confirm that gcc has been installed by printing the version number.

Re: libphidget22 - Ubuntu 20.04.1 LTS - error: no acceptable C compiler found in $PATH

Posted: Tue Nov 10, 2020 4:54 am
by mt.b
You have nailed it in one kind sir, I thank you :)