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

Supporting 2.6 and up
Post Reply
mt.b
Fresh meat
Posts: 2
Joined: Thu Nov 05, 2020 5:02 am
Contact:

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

Post 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.
User avatar
mparadis
Site Admin
Posts: 660
Joined: Fri Oct 28, 2011 12:17 pm
Contact:

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

Post 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.
mt.b
Fresh meat
Posts: 2
Joined: Thu Nov 05, 2020 5:02 am
Contact:

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

Post by mt.b »

You have nailed it in one kind sir, I thank you :)
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 0 guests