[ https://issues.apache.org/jira/browse/GUACAMOLE-1719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17807654#comment-17807654 ]
Libor Svehlak commented on GUACAMOLE-1719: ------------------------------------------ The error was reported for an older Guacamole version 1.4.0 and quite old system SLES 12.5. As it is harder to write fully reproducible steps for this case (and test case refers to older versions) I have tried to concentrate on: * Guacamole version 1.5.4 * Reproducibility of builds with only latest SLES 15.5 under Docker (freely available without licenses) With this prerequisite I'm getting the similar error as mentioned in the previous comment: {noformat} checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for AVCODEC... no ./configure: line 15051: .: filename argument required .: usage: . filename [arguments] {noformat} How to reproduce: {noformat} docker pull registry.suse.com/bci/bci-base:15.5 docker run -it registry.suse.com/bci/bci-base:15.5 zypper --non-interactive --no-refresh --no-gpg-checks install wget mkdir /root/guacamole cd /root/guacamole wget https://rpmfind.net/linux/opensuse/distribution/leap/15.5/repo/oss/x86_64/libgsm1-1.0.14-150000.3.4.1.x86_64.rpm rpm -i libgsm1-1.0.14-150000.3.4.1.x86_64.rpm wget -O guacamole-server-1.5.4.tar.gz https://apache.org/dyn/closer.lua/guacamole/1.5.4/source/guacamole-server-1.5.4.tar.gz?action=download tar -C . -xzf guacamole-server-1.5.4.tar.gz zypper --non-interactive addrepo --no-gpgcheck https://download.opensuse.org/repositories/devel:/libraries:/c_c++/15.5/devel:libraries:c_c++.repo zypper --non-interactive addrepo --no-gpgcheck https://download.opensuse.org/repositories/X11:/RemoteDesktop/SLE_15_SP3/X11:RemoteDesktop.repo zypper --non-interactive --no-refresh --no-gpg-checks install awk gcc-c++ perl libpng16-devel libjpeg8-devel cairo-devel libuuid-devel libssh2-devel pango-devel freerdp-devel LibVNCServer-devel cd guacamole-server-1.5.4 ./configure --with-libavformat=no {noformat} Maybe the originally reported error was just a consequence of the current error (caused by some combination of tooling and versions). I suggest to concentrate just on the latest Guacamole version to fix this issue. > Protocols RDP, SSH, Telnet are not supported when "--with-libavcodec=no" is > specified in configure script > --------------------------------------------------------------------------------------------------------- > > Key: GUACAMOLE-1719 > URL: https://issues.apache.org/jira/browse/GUACAMOLE-1719 > Project: Guacamole > Issue Type: Bug > Components: guacamole > Affects Versions: 1.4.0 > Reporter: Libor Svehlak > Priority: Major > Attachments: configure-output.log > > > Documentation at > [https://guacamole.apache.org/doc/gug/installing-guacamole.html] specifies > that {{libavcodec}} is needed only when {{guacenc}} is required. Nevertheless > when {{--with-libavcodec=no}} is specified in {{configure}} script it is > causing that protocols RDP, SSH, Telnet are not supported. > Prerequisite: All required packages for RDP, SSH, Telnet, VNC are installed: > Steps to reproduce: > {noformat} > tar -xzf guacamole-server-1.4.0.tar.gz > cd guacamole-server-1.4.0 > ./configure --with-libavformat=no > {noformat} > Output: > {noformat} > ------------------------------------------------ > guacamole-server version 1.4.0 > ------------------------------------------------ > Library status: > freerdp2 ............ no > pango ............... no > libavcodec .......... disabled > libavformat.......... no > libavutil ........... no > libssh2 ............. yes > libssl .............. yes > libswscale .......... no > libtelnet ........... yes > libVNCServer ........ yes > libvorbis ........... yes > libpulse ............ no > libwebsockets ....... no > libwebp ............. yes > wsock32 ............. no > Protocol support: > Kubernetes .... no > RDP ........... no > SSH ........... no > Telnet ........ no > VNC ........... yes > Services / tools: > guacd ...... yes > guacenc .... no > guaclog .... yes > FreeRDP plugins: no > Init scripts: no > Systemd units: no > Type "make" to compile guacamole-server. > {noformat} > Without the explicit specification of {{{}--with-libavformat=no{}}}: > {noformat} > tar -xzf guacamole-server-1.4.0.tar.gz > cd guacamole-server-1.4.0 > ./configure > {noformat} > Output: > {noformat} > ------------------------------------------------ > guacamole-server version 1.4.0 > ------------------------------------------------ > Library status: > freerdp2 ............ yes > pango ............... yes > libavcodec .......... no > libavformat.......... no > libavutil ........... no > libssh2 ............. yes > libssl .............. yes > libswscale .......... no > libtelnet ........... yes > libVNCServer ........ yes > libvorbis ........... yes > libpulse ............ no > libwebsockets ....... no > libwebp ............. yes > wsock32 ............. no > Protocol support: > Kubernetes .... no > RDP ........... yes > SSH ........... yes > Telnet ........ yes > VNC ........... yes > Services / tools: > guacd ...... yes > guacenc .... no > guaclog .... yes > FreeRDP plugins: /usr/lib64/freerdp2 > Init scripts: no > Systemd units: no > Type "make" to compile guacamole-server. > {noformat} -- This message was sent by Atlassian Jira (v8.20.10#820010)