Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error during installation #266

Open
Martaprf opened this issue Jun 19, 2024 · 1 comment
Open

Error during installation #266

Martaprf opened this issue Jun 19, 2024 · 1 comment

Comments

@Martaprf
Copy link

Martaprf commented Jun 19, 2024

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
Copy link
Owner

v1cont commented Jun 20, 2024

please check latest git

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants