v1cont / yad

Yet Another Dialog
GNU General Public License v3.0
645 stars 58 forks source link

Error during installation #266

Open Martaprf opened 3 weeks ago

Martaprf commented 3 weeks ago

I am trying to install and I am using the following commands :

apt -y install autoconf intltool automake meson libsystemd-dev pkg-config ninja-build git libdbus-1-dev libinih-dev build-essential libgtk-3-dev libgtk-3-0 git clone https://github.com/v1cont/yad.git cd yad autoreconf -ivf && intltoolize ./configure && make && make install

But I get the following error: main.c: In function ‘main’: main.c:788:53: error: ‘errno’ undeclared (first use in this function) 788 | options.data.workdir, strerror (errno)); | ^~~~~ main.c:35:1: note: ‘errno’ is defined in header ‘<errno.h>’; did you forget to ‘#include <errno.h>’? 34 | #include "yad.h" +++ |+#include <errno.h> 35 | main.c:788:53: note: each undeclared identifier is reported only once for each function it appears in 788 | options.data.workdir, strerror (errno)); | ^~~~~ make[2]: *** [Makefile:869: yad-main.o] Error 1 make[2]: Leaving directory '/home/mferreira/yad-dialog-code/src' make[1]: *** [Makefile:403: all-recursive] Error 1 make[1]: Leaving directory '/home/mferreira/yad-dialog-code' make: *** [Makefile:344: all] Error 2

Could someone tell me what I am doing wrong?

Thanks.

v1cont commented 3 weeks ago

please check latest git