Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
guacamole-server and freerdp
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
filoo
n00b
n00b


Joined: 29 Jul 2017
Posts: 19
Location: Norway

PostPosted: Tue Oct 10, 2017 8:46 am    Post subject: guacamole-server and freerdp Reply with quote

I am trying to build guacamole-server-0.9.9-r1 with freerdp support.

When I build guacamole-server with freerdp-2.0.0_rc0 installed freerdp is not detected (probably because everything was renamed to freerdp2).

When I build with freerdp-1.2.1_pre20150326-r1 installed - freerdp does get detected by guacamole-server's configure script, but the build fails with:
Code:

libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../.. -Werror -Wall -Iinclude -I../../../src/common -I../../../src/common-ssh -I../../../src/libguac -O2 -pipe -march=native -c client.c  -fPIC -DPIC -o .libs/libguac_client_rdp_la-client.o
In file included from rdp_stream.h:29:0,
                 from rdp_fs.c:27:
rdp_svc.h:28:38: fatal error: freerdp/utils/svc_plugin.h: No such file or directory
compilation terminated.
make[3]: *** [Makefile:1102: guacdr_client_la-rdp_fs.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../.. -Werror -Wall -Iinclude -I../../../src/common -I../../../src/common-ssh -I../../../src/libguac -O2 -pipe -march=native -c unicode.c -o guacdr_client_la-unicode.o >/dev/null 2>&1
In file included from rdp_stream.c:28:0:
rdp_svc.h:28:38: fatal error: freerdp/utils/svc_plugin.h: No such file or directory
compilation terminated.
In file included from rdp_svc.c:26:0:
rdp_svc.h:28:38: fatal error: freerdp/utils/svc_plugin.h: No such file or directory
compilation terminated.
make[3]: *** [Makefile:1109: guacdr_client_la-rdp_stream.lo] Error 1
make[3]: *** [Makefile:1263: guacsvc_client_la-rdp_svc.lo] Error 1
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../.. -Werror -Wall -Iinclude -I../../../src/common -I../../../src/common-ssh -I../../../src/libguac -O2 -pipe -march=native -c _generated_keymaps.c -o libguac_client_rdp_la-_generated_keymaps.o >/dev/null 2>&1
In file included from rdp_stream.h:29:0,
                 from client.c:34:
rdp_svc.h:28:38: fatal error: freerdp/utils/svc_plugin.h: No such file or directory
compilation terminated.

The file is obviously missing.
FreeRDP flags:
Code:

net-misc/freerdp-1.2.1_pre20150326-r1:0/1.2::gentoo  USE="X alsa client cups ffmpeg jpeg server usb xinerama xv -debug -doc -gstreamer -libav (-libressl) (-neon) -pulseaudio -smartcard {-test} -wayland" CPU_FLAGS_X86="sse2"


The same happens when I manually build guacamole-server-0.9.13.
Is there a way to have guacamole with freerdp on gentoo?
Thanks for help

Code:

Portage 2.3.8 (python 3.4.5-final-0, default/linux/amd64/13.0/desktop/plasma, gcc-5.4.0, glibc-2.23-r4, 4.14.0-rc2ala1 x86_64)
=================================================================
System uname: Linux-4.14.0-rc2ala1-x86_64-Intel-R-_Core-TM-_i7-7500U_CPU_@_2.70GHz-with-gentoo-2.4.1
KiB Mem:    16302876 total,   9202640 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Tue, 10 Oct 2017 08:00:01 +0000
Head commit of repository gentoo: 6711d4f96985b0797c1803cd6f05e5a1410c1018
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.28.1 p1.0) 2.28.1
app-shells/bash:          4.3_p48-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.1-r2::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/cmake:           3.7.2::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.28::gentoo
sys-apps/sandbox:         2.10-r3::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.28.1::gentoo
sys-devel/gcc:            5.4.0-r3::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.12::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r4::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

eclipse
    location: /var/lib/layman/eclipse
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.3/conf"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.0/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/home/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/home/tmp"
USE="X a52 aac acl acpi acps activities alsa amd64 audiofile bash-completion bcmath berkdb bluetooth branding btrfs bzip2 cairo calendar cdda cdr cgi cli client consolekit cracklib crypt cups curl cxx dbus declarative djvu dri dts dvd dvdr emboss encode exif fam fastcgi ffmpeg firefox flac fltk fortran gd gdbm gif git glamor gnuplot gpm graphviz gtk gtk3 gzip i965 iconv icu imagemagick ipv6 jpeg kde kipi kwallet lcms ldap libnotify lua lzma mad mhash minizip mng modules mp3 mp4 mpeg mplayer multilib mysql mysqli ncurses networkmanager nls nptl nsplugin ntfs offensive ogg okteta opengl openmp pam pango pcntl pcre pdf phonon php plasma plotutils png policykit portaudio posix ppds python qml qt3support qt4 qt5 rdp readline rss samba sdl seccomp semantic-desktop server session sockets sox spell sqlite ssh ssl startup-notification subversion svg syslog sysvipc tcpd threads tiff truetype udev udisks unicode upower usb vnc vorbis webkit widgets wifi wxwidgets x264 xattr xcb xcomposite xinerama xml xmlrpc xscreensaver xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby22" USERLAND="GNU" VIDEO_CARDS="intel i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30837
Location: here

PostPosted: Tue Oct 10, 2017 9:05 am    Post subject: Reply with quote

See here
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
nativemad
Developer
Developer


Joined: 30 Aug 2004
Posts: 918
Location: Switzerland

PostPosted: Tue Oct 10, 2017 3:25 pm    Post subject: Reply with quote

fedeliallalinea wrote:
See here


Yeah, sorry... Didn't thought that it would take so long. :roll:
I'm considering removing the rdp support from the ebuild for a while now...
_________________
Power to the people!
Back to top
View user's profile Send private message
filoo
n00b
n00b


Joined: 29 Jul 2017
Posts: 19
Location: Norway

PostPosted: Tue Oct 10, 2017 3:30 pm    Post subject: Reply with quote

Thank you for the answers. I see that there is an upstream issue with FreeRDP 2.0 API change. My whole point of using guacamole was RDP, so a build without it is kind of useless :?
Back to top
View user's profile Send private message
hackerError
Guru
Guru


Joined: 14 Mar 2003
Posts: 342
Location: Reston, VA, USA

PostPosted: Thu Feb 13, 2020 3:42 am    Post subject: Reply with quote

After a billion years (ok... two), version 1.1.0 of guacamole has been released and this issue has been solved, but the package has been removed from gentoo. How can we get it back?

*edit* - looks like we're working on it here https://bugs.gentoo.org/608540
_________________
Before you insult someone, it is often best to walk a mile in their shoes.

That way when you insult them you're already a mile away and have their shoes.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum