MysticRyuujin / guac-install

Script for installing Guacamole on Ubuntu
988 stars 272 forks source link

guac-install failing on fresh Kali linux #206

Open ciscohack opened 2 years ago

ciscohack commented 2 years ago

Hello Expert,

I am trying to install guac-install on my kali linux but it kept on failing. please help me to fix it.

sed -e 's,[@]sbindir[@],/usr/local/sbin,g' < systemd/guacd.service.in > systemd/guacd.service make[2]: Leaving directory '/tmp/guac-install/guacamole-server-1.3.0/src/guacd' Making all in src/guacenc make[2]: Entering directory '/tmp/guac-install/guacamole-server-1.3.0/src/guacenc' CC guacenc-buffer.o CC guacenc-cursor.o CC guacenc-display.o CC guacenc-display-buffers.o CC guacenc-display-image-streams.o CC guacenc-display-flatten.o CC guacenc-display-layers.o CC guacenc-display-sync.o CC guacenc-encode.o CC guacenc-ffmpeg-compat.o ffmpeg-compat.c: In function ‘guacenc_avcodec_encode_video’: ffmpeg-compat.c:140:5: error: ‘av_init_packet’ is deprecated [-Werror=deprecated-declarations] 140 | av_init_packet(&packet); | ^~~~~~ In file included from /usr/include/x86_64-linux-gnu/libavcodec/bsf.h:30, from /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:44, from video.h:27, from ffmpeg-compat.h:24, from ffmpeg-compat.c:21: /usr/include/x86_64-linux-gnu/libavcodec/packet.h:488:6: note: declared here 488 | void av_init_packet(AVPacket *pkt); | ^~~~~~ cc1: all warnings being treated as errors make[2]: [Makefile:799: guacenc-ffmpeg-compat.o] Error 1 make[2]: Leaving directory '/tmp/guac-install/guacamole-server-1.3.0/src/guacenc' make[1]: [Makefile:533: all-recursive] Error 1 make[1]: Leaving directory '/tmp/guac-install/guacamole-server-1.3.0' make: *** [Makefile:455: all] Error 2

ciscohack commented 2 years ago

Experts,

Can some one please help me fixing my problem?