dschanoeh / socketcand

A deprecated fork of socketcand. Please got to linux-can for the latest version.
https://github.com/linux-can/socketcand
131 stars 40 forks source link

configure error #19

Closed suzixin closed 6 years ago

suzixin commented 6 years ago

autoconf ./configure The log shown below checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for config_init in -lconfig... no configure: error: in/home/suzixin/car/socketcand': configure: error: config test failed (--without-config to disable) See config.log' for more details config.log

suzixin commented 6 years ago

problem solve. Install libconfig-dev before ./configure sudo apt-get update sudo apt-get install libconfig-dev