FreeRDP / FreeRDP-WebConnect

A gateway for seamless access to your RDP-Sessions in any HTML5-compliant browser
519 stars 1.61k forks source link

Issue compiling on OpenSuse #115

Open vaivars opened 8 years ago

vaivars commented 8 years ago

[100%] Built target oauth2client sudo available. Please enter your password to install casablanca: ---- Going back to webconnect ---- /home/vaivars/git/FreeRDP-WebConnect Include dir: OPENSSL INCLUDE DIR: /usr/include PNG INCLUDE PATH: /usr/include -- Strcasecmp has been redefined to strcasecmp -- Try_compile pretty_func.c returned TRUE -- Boost version: 1.54.0 -- Found the following Boost libraries: -- filesystem -- system -- regex -- program_options -- Configuring done -- Generating done -- Build files have been written to: /home/vaivars/git/FreeRDP-WebConnect/wsgate/build ---- Building webconnect ---- [ 9%] Built target bindhelper Scanning dependencies of target wsgate [ 14%] Building CXX object CMakeFiles/wsgate.dir/wsgate_main.cpp.o In file included from /home/vaivars/git/FreeRDP-WebConnect/wsgate/wsgate_main.cpp:80:0: /home/vaivars/git/FreeRDP-WebConnect/wsgate/btexception.hpp:176:3: warning: #warning Neither libbfd nor libdwarf are available, so no backtracing enabled [-Wcpp]

warning Neither libbfd nor libdwarf are available, so no backtracing enabled

^ In file included from /home/vaivars/git/FreeRDP-WebConnect/wsgate/wsgate_main.cpp:86:0: /home/vaivars/git/FreeRDP-WebConnect/wsgate/myrawsocket.hpp:24:21: fatal error: ehs\ehs.h: No such file or directory

include <ehs\ehs.h>

                 ^

compilation terminated. CMakeFiles/wsgate.dir/build.make:158: recipe for target 'CMakeFiles/wsgate.dir/wsgate_main.cpp.o' failed make[2]: * [CMakeFiles/wsgate.dir/wsgate_main.cpp.o] Error 1 CMakeFiles/Makefile2:104: recipe for target 'CMakeFiles/wsgate.dir/all' failed make[1]: * [CMakeFiles/wsgate.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *\ [all] Error 2 Unable to build FreeRDP-WebConnect. Exiting...

c64cosmin commented 8 years ago

Very weird you problem, it seems that you're missing a dependency (i.e. EHS). Have you run ./install_prereqs.sh with sudo? You should have a directory 'prereqs' that contains dependencies, EHS being there too.

b1rdex commented 8 years ago

Same for me. I'm on debian and trying to build. EHS is in prereqs and builds correctly and installs to /usr correctly. Here is log:

anatoly@002 /tmp/FreeRDP-WebConnect {master} $ ./setup-all.sh
---- Fetching webconnect dependencies ehs and FreeRDP into /home/anatoly/prereqs ----
~ /tmp/FreeRDP-WebConnect
---- Checking out ehs trunk code ----
~/prereqs ~/prereqs /tmp/FreeRDP-WebConnect
Already up-to-date.
~/prereqs /tmp/FreeRDP-WebConnect
---- Starting ehs build ----
Include dir:
OPENSSL INCLUDE DIR: /usr/include
-- Strcasecmp has been redefined to strcasecmp
-- Try_compile pretty_func.c returned TRUE
-- Try_compile unique_pointer.c returned FALSE.
-- Boost version: 1.58.0
-- Found the following Boost libraries:
--   filesystem
--   system
--   regex
--   program_options
-- Configuring done
-- Generating done
-- Build files have been written to: /home/anatoly/prereqs/EHS/build
[100%] Built target ehs
---- Finished building ehs ----
sudo available. Please enter your password to install ehs:
[100%] Built target ehs
Install the project...
-- Install configuration: "Release"
-- Up-to-date: /usr/lib/libehs.a
-- Up-to-date: /usr/include/ehs/contentdisposition.h
-- Up-to-date: /usr/include/ehs/datum.h
-- Up-to-date: /usr/include/ehs/ehs.h
-- Up-to-date: /usr/include/ehs/ehstypes.h
-- Up-to-date: /usr/include/ehs/formvalue.h
-- Up-to-date: /usr/include/ehs/httprequest.h
-- Up-to-date: /usr/include/ehs/httpresponse.h
-- Up-to-date: /usr/include/ehs/networkabstraction.h
---- Finished installing ehs ----
---- Checking out freerdp master ----
~/prereqs ~/prereqs /tmp/FreeRDP-WebConnect
Already up-to-date.
./setup-all.sh: line 47: cd: FreeRDP: No such file or directory
Already on 'stable-1.1'
Your branch is up-to-date with 'origin/stable-1.1'.
~/prereqs /tmp/FreeRDP-WebConnect
---- Start installing freerdp ----
-- FreeRDP GIT
-- Git Revision 1.1.0-beta+2013071101-162-g770c67
-- Finding recommended feature X11 for X11 (X11 client and server)
--     Disable feature X11 using "-DWITH_X11=OFF"
-- Skipping optional feature DirectFB for DirectFB (DirectFB client)
--     Enable feature DirectFB using "-DWITH_DIRECTFB=ON"
-- Finding required feature ZLIB for compression (data compression)
-- Finding required feature OpenSSL for cryptography (encryption, certificate validation, hashing functions)
-- Finding recommended feature ALSA for sound (audio input, audio output and multimedia redirection)
--     Disable feature ALSA using "-DWITH_ALSA=OFF"
-- Skipping optional feature Pulse for sound (audio input, audio output and multimedia redirection)
--     Enable feature Pulse using "-DWITH_PULSE=ON"
-- Skipping optional feature Cups for printing (printer device redirection)
--     Enable feature Cups using "-DWITH_CUPS=ON"
-- Skipping optional feature PCSC for smart card (smart card device redirection)
--     Enable feature PCSC using "-DWITH_PCSC=ON"
-- Finding recommended feature FFmpeg for multimedia (multimedia redirection, audio and video playback)
--     Disable feature FFmpeg using "-DWITH_FFMPEG=OFF"
-- Skipping recommended feature Gstreamer for multimedia (multimedia redirection, audio and video playback)
-- Skipping optional feature JPEG for codec (use JPEG library)
--     Enable feature JPEG using "-DWITH_JPEG=ON"
-- Skipping optional feature IPP for performance (Intel Integrated Performance Primitives library)
--     Enable feature IPP using "-DWITH_IPP=ON"
-- Skipping optional feature NPP for performance (NVIDIA Performance Primitives library)
--     Enable feature NPP using "-DWITH_NPP=ON"
-- FreeRDP GIT
-- Skipping recommended feature XKBFile for X11 keyboard (X11 keyboard file extension)
-- Adding dynamic channel client "echo": Echo Virtual Channel Extension
-- Adding device channel client "serial": Serial Port Virtual Channel Extension
-- Adding dynamic channel client "rdpei": Input Virtual Channel Extension
-- Adding static channel client "rail": Remote Programs Virtual Channel Extension
-- Adding static channel client "drdynvc": Dynamic Virtual Channel Extension
-- Adding dynamic channel client "tsmf": Video Redirection Virtual Channel Extension
-- Adding static channel client server "rdpsnd": Audio Output Virtual Channel Extension
-- Adding static channel client "rdpdr": Device Redirection Virtual Channel Extension
-- Adding static channel client "cliprdr": Clipboard Virtual Channel Extension
-- Adding device channel client "drive": Drive Redirection Virtual Channel Extension
-- Adding dynamic channel client server "audin": Audio Input Redirection Virtual Channel Extension
-- Adding device channel client "parallel": Parallel Port Virtual Channel Extension
-- Could NOT find DocBook XSL stylesheets (missing:  DOCBOOKXSL_DIR)
CMake Warning at client/X11/CMakeLists.txt:115 (message):
  WITH_MANPAGES was set, but xsltproc was not found.  man-pages will not be
  installed

-- Finding required feature XShm for X11 shared memory (X11 shared memory extension)
-- Finding recommended feature Xinerama for multi-monitor (X11 multi-monitor extension)
--     Disable feature Xinerama using "-DWITH_XINERAMA=OFF"
-- Finding recommended feature Xext for X11 extension (X11 core extensions)
--     Disable feature Xext using "-DWITH_XEXT=OFF"
-- Finding recommended feature Xcursor for cursor (X11 cursor extension)
--     Disable feature Xcursor using "-DWITH_XCURSOR=OFF"
-- Skipping recommended feature Xv for video (X11 video extension)
-- Finding recommended feature Xi for input (X11 input extension)
--     Disable feature Xi using "-DWITH_XI=OFF"
-- Finding recommended feature Xrender for rendering (X11 render extension)
--     Disable feature Xrender using "-DWITH_XRENDER=OFF"
-- Configuring done
CMake Warning (dev) in client/common/CMakeLists.txt:
  Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link
  interface.  Run "cmake --help-policy CMP0022" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  Target "freerdp-client" has an INTERFACE_LINK_LIBRARIES property which
  differs from its LINK_INTERFACE_LIBRARIES properties.

  INTERFACE_LINK_LIBRARIES:

    echo-client;rdpei-client;tsmf-client;audin-client;serial-client;drive-client;parallel-client;rail-client;drdynvc-client;rdpsnd-client;rdpdr-client;cliprdr-client;tsmf-client-ffmpeg-decoder;tsmf-client-alsa-audio;rdpsnd-client-alsa;audin-client-alsa;freerdp-utils;winpr-crt;winpr-path;winpr-file;winpr-synch;winpr-library;winpr-interlocked;freerdp-core;winpr-crt;winpr-utils

  LINK_INTERFACE_LIBRARIES:

This warning is for project developers.  Use -Wno-dev to suppress it.

-- Generating done
-- Build files have been written to: /home/anatoly/prereqs/FreeRDP/build
---- Building freerdp ----
[  1%] Built target winpr-handle
[  2%] Built target winpr-thread
[  3%] Built target winpr-error
[  5%] Built target winpr-crt
[  5%] Built target winpr-interlocked
[  6%] Built target winpr-winhttp
[  7%] Built target winpr-sysinfo
[ 11%] Built target winpr-synch
[ 17%] Built target winpr-utils
[ 20%] Built target winpr-pool
[ 20%] Built target winpr-credentials
[ 21%] Built target winpr-crypto
[ 21%] Built target winpr-environment
[ 25%] Built target winpr-rpc
[ 27%] Built target winpr-input
[ 27%] Built target winpr-registry
[ 30%] Built target winpr-sspi
[ 30%] Built target winpr-asn1
[ 30%] Built target winpr-file
[ 30%] Built target winpr-heap
[ 31%] Built target winpr-credui
[ 32%] Built target winpr-timezone
[ 32%] Built target winpr-sspicli
[ 32%] Built target winpr-winsock
[ 33%] Built target winpr-io
[ 34%] Built target winpr-pipe
[ 35%] Built target winpr-dsparse
[ 35%] Built target winpr-library
[ 36%] Built target winpr-path
[ 37%] Built target winpr-bcrypt
[ 38%] Built target winpr-hash
[ 38%] Built target winpr-makecert-tool
[ 39%] Built target winpr-makecert
[ 43%] Built target freerdp-utils
[ 43%] Built target freerdp-common
[ 47%] Built target freerdp-primitives
[ 53%] Built target freerdp-codec
[ 55%] Built target freerdp-crypto
[ 57%] Built target freerdp-locale
[ 70%] Built target freerdp-core
[ 72%] Built target freerdp-cache
[ 77%] Built target freerdp-gdi
[ 79%] Built target freerdp-rail
[ 80%] Built target echo-client
[ 81%] Built target serial-client
[ 82%] Built target rdpei-client
[ 82%] Built target rail-client
[ 83%] Built target drdynvc-client
[ 85%] Built target tsmf-client
[ 86%] Built target tsmf-client-ffmpeg-decoder
[ 86%] Built target tsmf-client-alsa-audio
[ 86%] Built target rdpsnd-client
[ 87%] Built target rdpsnd-client-alsa
[ 89%] Built target rdpdr-client
[ 89%] Built target cliprdr-client
[ 90%] Built target drive-client
[ 90%] Built target audin-client
[ 91%] Built target audin-client-alsa
[ 92%] Built target parallel-client
[ 95%] Built target freerdp-client
[ 99%] Built target xfreerdp-client
[100%] Built target xfreerdp-cli
---- Finished building freerdp ----
sudo available. Please enter your password to install freerdp:
[  1%] Built target winpr-handle
[  2%] Built target winpr-thread
[  3%] Built target winpr-error
[  5%] Built target winpr-crt
[  5%] Built target winpr-interlocked
[  6%] Built target winpr-winhttp
[  7%] Built target winpr-sysinfo
[ 11%] Built target winpr-synch
[ 17%] Built target winpr-utils
[ 20%] Built target winpr-pool
[ 20%] Built target winpr-credentials
[ 21%] Built target winpr-crypto
[ 21%] Built target winpr-environment
[ 25%] Built target winpr-rpc
[ 27%] Built target winpr-input
[ 27%] Built target winpr-registry
[ 30%] Built target winpr-sspi
[ 30%] Built target winpr-asn1
[ 30%] Built target winpr-file
[ 30%] Built target winpr-heap
[ 31%] Built target winpr-credui
[ 32%] Built target winpr-timezone
[ 32%] Built target winpr-sspicli
[ 32%] Built target winpr-winsock
[ 33%] Built target winpr-io
[ 34%] Built target winpr-pipe
[ 35%] Built target winpr-dsparse
[ 35%] Built target winpr-library
[ 36%] Built target winpr-path
[ 37%] Built target winpr-bcrypt
[ 38%] Built target winpr-hash
[ 38%] Built target winpr-makecert-tool
[ 39%] Built target winpr-makecert
[ 43%] Built target freerdp-utils
[ 43%] Built target freerdp-common
[ 47%] Built target freerdp-primitives
[ 53%] Built target freerdp-codec
[ 55%] Built target freerdp-crypto
[ 57%] Built target freerdp-locale
[ 70%] Built target freerdp-core
[ 72%] Built target freerdp-cache
[ 77%] Built target freerdp-gdi
[ 79%] Built target freerdp-rail
[ 80%] Built target echo-client
[ 81%] Built target serial-client
[ 82%] Built target rdpei-client
[ 82%] Built target rail-client
[ 83%] Built target drdynvc-client
[ 85%] Built target tsmf-client
[ 86%] Built target tsmf-client-ffmpeg-decoder
[ 86%] Built target tsmf-client-alsa-audio
[ 86%] Built target rdpsnd-client
[ 87%] Built target rdpsnd-client-alsa
[ 89%] Built target rdpdr-client
[ 89%] Built target cliprdr-client
[ 90%] Built target drive-client
[ 90%] Built target audin-client
[ 91%] Built target audin-client-alsa
[ 92%] Built target parallel-client
[ 95%] Built target freerdp-client
[ 99%] Built target xfreerdp-client
[100%] Built target xfreerdp-cli
Install the project...
-- Install configuration: "Release"
-- Up-to-date: /usr/lib/x86_64-linux-gnu/pkgconfig/freerdp.pc
-- Up-to-date: /usr/include/winpr/pipe.h
-- Up-to-date: /usr/include/winpr/dsparse.h
-- Up-to-date: /usr/include/winpr/synch.h
-- Up-to-date: /usr/include/winpr/registry.h
-- Up-to-date: /usr/include/winpr/path.h
-- Up-to-date: /usr/include/winpr/collections.h
-- Up-to-date: /usr/include/winpr/crypto.h
-- Up-to-date: /usr/include/winpr/io.h
-- Up-to-date: /usr/include/winpr/winhttp.h
-- Up-to-date: /usr/include/winpr/credentials.h
-- Up-to-date: /usr/include/winpr/print.h
-- Up-to-date: /usr/include/winpr/pool.h
-- Up-to-date: /usr/include/winpr/heap.h
-- Up-to-date: /usr/include/winpr/ndr.h
-- Up-to-date: /usr/include/winpr/winsock.h
-- Up-to-date: /usr/include/winpr/sysinfo.h
-- Up-to-date: /usr/include/winpr/asn1.h
-- Up-to-date: /usr/include/winpr/error.h
-- Up-to-date: /usr/include/winpr/schannel.h
-- Up-to-date: /usr/include/winpr/winpr.h
-- Up-to-date: /usr/include/winpr/library.h
-- Up-to-date: /usr/include/winpr/timezone.h
-- Up-to-date: /usr/include/winpr/sam.h
-- Up-to-date: /usr/include/winpr/cmdline.h
-- Up-to-date: /usr/include/winpr/spec.h
-- Up-to-date: /usr/include/winpr/memory.h
-- Up-to-date: /usr/include/winpr/platform.h
-- Up-to-date: /usr/include/winpr/stream.h
-- Up-to-date: /usr/include/winpr/sspicli.h
-- Up-to-date: /usr/include/winpr/file.h
-- Up-to-date: /usr/include/winpr/endian.h
-- Up-to-date: /usr/include/winpr/handle.h
-- Up-to-date: /usr/include/winpr/string.h
-- Up-to-date: /usr/include/winpr/tchar.h
-- Up-to-date: /usr/include/winpr/input.h
-- Up-to-date: /usr/include/winpr/interlocked.h
-- Up-to-date: /usr/include/winpr/midl.h
-- Up-to-date: /usr/include/winpr/crt.h
-- Up-to-date: /usr/include/winpr/rpc.h
-- Up-to-date: /usr/include/winpr/ntlm.h
-- Up-to-date: /usr/include/winpr/sspi.h
-- Up-to-date: /usr/include/winpr/credui.h
-- Up-to-date: /usr/include/winpr/wtypes.h
-- Up-to-date: /usr/include/winpr/windows.h
-- Up-to-date: /usr/include/winpr/thread.h
-- Up-to-date: /usr/include/winpr/security.h
-- Up-to-date: /usr/include/winpr/environment.h
-- Up-to-date: /usr/include/winpr/bcrypt.h
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-thread.so.0.1.0
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-thread.so.0.1
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-thread.so
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-error.so.0.1.0
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-error.so.0.1
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-error.so
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-interlocked.so.0.1.0
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-interlocked.so.0.1
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-interlocked.so
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-winhttp.so.0.1.0
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-winhttp.so.0.1
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-winhttp.so
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-pool.so.0.1.0
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-pool.so.0.1
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-pool.so
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-credentials.so.0.1.0
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-credentials.so.0.1
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-credentials.so
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-crypto.so.0.1.0
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-crypto.so.0.1
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-crypto.so
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-environment.so.0.1.0
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-environment.so.0.1
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-environment.so
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-rpc.so.0.1.0
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-rpc.so.0.1
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-rpc.so
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-input.so.0.1.0
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-input.so.0.1
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-input.so
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-sspi.so.0.1.0
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-sspi.so.0.1
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-sspi.so
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-asn1.so.0.1.0
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-asn1.so.0.1
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-asn1.so
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-file.so.0.1.0
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-file.so.0.1
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-file.so
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-handle.so.0.1.0
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-handle.so.0.1
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-handle.so
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-heap.so.0.1.0
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-heap.so.0.1
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-heap.so
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-credui.so.0.1.0
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-credui.so.0.1
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-credui.so
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-timezone.so.0.1.0
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-timezone.so.0.1
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-timezone.so
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-utils.so.0.1.0
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-utils.so.0.1
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-utils.so
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-sspicli.so.0.1.0
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-sspicli.so.0.1
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-sspicli.so
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-winsock.so.0.1.0
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-winsock.so.0.1
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-winsock.so
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-io.so.0.1.0
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-io.so.0.1
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-io.so
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-pipe.so.0.1.0
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-pipe.so.0.1
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-pipe.so
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-crt.so.0.1.0
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-crt.so.0.1
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-crt.so
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-synch.so.0.1.0
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-synch.so.0.1
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-synch.so
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-dsparse.so.0.1.0
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-dsparse.so.0.1
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-dsparse.so
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-registry.so.0.1.0
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-registry.so.0.1
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-registry.so
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-library.so.0.1.0
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-library.so.0.1
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-library.so
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-sysinfo.so.0.1.0
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-sysinfo.so.0.1
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-sysinfo.so
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-path.so.0.1.0
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-path.so.0.1
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-path.so
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-bcrypt.so.0.1.0
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-bcrypt.so.0.1
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-bcrypt.so
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libwinpr-makecert-tool.a
-- Up-to-date: /usr/include/freerdp/event.h
-- Up-to-date: /usr/include/freerdp/window.h
-- Up-to-date: /usr/include/freerdp/rail.h
-- Up-to-date: /usr/include/freerdp/pointer.h
-- Up-to-date: /usr/include/freerdp/altsec.h
-- Up-to-date: /usr/include/freerdp/addin.h
-- Up-to-date: /usr/include/freerdp/peer.h
-- Up-to-date: /usr/include/freerdp/constants.h
-- Up-to-date: /usr/include/freerdp/primitives.h
-- Up-to-date: /usr/include/freerdp/error.h
-- Up-to-date: /usr/include/freerdp/freerdp.h
-- Up-to-date: /usr/include/freerdp/client.h
-- Up-to-date: /usr/include/freerdp/scancode.h
-- Up-to-date: /usr/include/freerdp/api.h
-- Up-to-date: /usr/include/freerdp/primary.h
-- Up-to-date: /usr/include/freerdp/extension.h
-- Up-to-date: /usr/include/freerdp/types.h
-- Up-to-date: /usr/include/freerdp/svc.h
-- Up-to-date: /usr/include/freerdp/dvc.h
-- Up-to-date: /usr/include/freerdp/update.h
-- Up-to-date: /usr/include/freerdp/input.h
-- Up-to-date: /usr/include/freerdp/graphics.h
-- Up-to-date: /usr/include/freerdp/message.h
-- Up-to-date: /usr/include/freerdp/secondary.h
-- Up-to-date: /usr/include/freerdp/settings.h
-- Up-to-date: /usr/include/freerdp/listener.h
-- Up-to-date: /usr/include/freerdp/version.h
-- Up-to-date: /usr/include/freerdp/cache
-- Up-to-date: /usr/include/freerdp/cache/cache.h
-- Up-to-date: /usr/include/freerdp/cache/pointer.h
-- Up-to-date: /usr/include/freerdp/cache/glyph.h
-- Up-to-date: /usr/include/freerdp/cache/bitmap.h
-- Up-to-date: /usr/include/freerdp/cache/palette.h
-- Up-to-date: /usr/include/freerdp/cache/brush.h
-- Up-to-date: /usr/include/freerdp/cache/nine_grid.h
-- Up-to-date: /usr/include/freerdp/cache/offscreen.h
-- Up-to-date: /usr/include/freerdp/codec
-- Up-to-date: /usr/include/freerdp/codec/mppc_dec.h
-- Up-to-date: /usr/include/freerdp/codec/color.h
-- Up-to-date: /usr/include/freerdp/codec/bitmap.h
-- Up-to-date: /usr/include/freerdp/codec/nsc.h
-- Up-to-date: /usr/include/freerdp/codec/audio.h
-- Up-to-date: /usr/include/freerdp/codec/mppc_enc.h
-- Up-to-date: /usr/include/freerdp/codec/jpeg.h
-- Up-to-date: /usr/include/freerdp/codec/dsp.h
-- Up-to-date: /usr/include/freerdp/codec/rfx.h
-- Up-to-date: /usr/include/freerdp/crypto
-- Up-to-date: /usr/include/freerdp/crypto/crypto.h
-- Up-to-date: /usr/include/freerdp/crypto/ber.h
-- Up-to-date: /usr/include/freerdp/crypto/per.h
-- Up-to-date: /usr/include/freerdp/crypto/er.h
-- Up-to-date: /usr/include/freerdp/crypto/certificate.h
-- Up-to-date: /usr/include/freerdp/crypto/der.h
-- Up-to-date: /usr/include/freerdp/crypto/tls.h
-- Up-to-date: /usr/include/freerdp/gdi
-- Up-to-date: /usr/include/freerdp/gdi/pen.h
-- Up-to-date: /usr/include/freerdp/gdi/shape.h
-- Up-to-date: /usr/include/freerdp/gdi/bitmap.h
-- Up-to-date: /usr/include/freerdp/gdi/palette.h
-- Up-to-date: /usr/include/freerdp/gdi/16bpp.h
-- Up-to-date: /usr/include/freerdp/gdi/gdi.h
-- Up-to-date: /usr/include/freerdp/gdi/line.h
-- Up-to-date: /usr/include/freerdp/gdi/region.h
-- Up-to-date: /usr/include/freerdp/gdi/32bpp.h
-- Up-to-date: /usr/include/freerdp/gdi/8bpp.h
-- Up-to-date: /usr/include/freerdp/gdi/drawing.h
-- Up-to-date: /usr/include/freerdp/gdi/brush.h
-- Up-to-date: /usr/include/freerdp/gdi/dc.h
-- Up-to-date: /usr/include/freerdp/gdi/clipping.h
-- Up-to-date: /usr/include/freerdp/locale
-- Up-to-date: /usr/include/freerdp/locale/keyboard.h
-- Up-to-date: /usr/include/freerdp/locale/timezone.h
-- Up-to-date: /usr/include/freerdp/locale/locale.h
-- Up-to-date: /usr/include/freerdp/rail
-- Up-to-date: /usr/include/freerdp/rail/window.h
-- Up-to-date: /usr/include/freerdp/rail/rail.h
-- Up-to-date: /usr/include/freerdp/rail/window_list.h
-- Up-to-date: /usr/include/freerdp/rail/icon.h
-- Up-to-date: /usr/include/freerdp/utils
-- Up-to-date: /usr/include/freerdp/utils/msusb.h
-- Up-to-date: /usr/include/freerdp/utils/event.h
-- Up-to-date: /usr/include/freerdp/utils/rail.h
-- Up-to-date: /usr/include/freerdp/utils/time.h
-- Up-to-date: /usr/include/freerdp/utils/tcp.h
-- Up-to-date: /usr/include/freerdp/utils/bitmap.h
-- Up-to-date: /usr/include/freerdp/utils/stopwatch.h
-- Up-to-date: /usr/include/freerdp/utils/list.h
-- Up-to-date: /usr/include/freerdp/utils/svc_plugin.h
-- Up-to-date: /usr/include/freerdp/utils/profiler.h
-- Up-to-date: /usr/include/freerdp/utils/pcap.h
-- Up-to-date: /usr/include/freerdp/utils/debug.h
-- Up-to-date: /usr/include/freerdp/utils/passphrase.h
-- Up-to-date: /usr/include/freerdp/utils/signal.h
-- Up-to-date: /usr/include/freerdp/utils/uds.h
-- Up-to-date: /usr/include/freerdp/client
-- Up-to-date: /usr/include/freerdp/client/cmdline.h
-- Up-to-date: /usr/include/freerdp/client/channels.h
-- Up-to-date: /usr/include/freerdp/client/drdynvc.h
-- Up-to-date: /usr/include/freerdp/client/disp.h
-- Up-to-date: /usr/include/freerdp/client/file.h
-- Up-to-date: /usr/include/freerdp/client/rdpei.h
-- Up-to-date: /usr/include/freerdp/client/tsmf.h
-- Up-to-date: /usr/include/freerdp/client/cliprdr.h
-- Up-to-date: /usr/include/freerdp/server
-- Up-to-date: /usr/include/freerdp/server/audin.h
-- Up-to-date: /usr/include/freerdp/server/rdpsnd.h
-- Up-to-date: /usr/include/freerdp/server/channels.h
-- Up-to-date: /usr/include/freerdp/channels
-- Up-to-date: /usr/include/freerdp/channels/rdpdr.h
-- Up-to-date: /usr/include/freerdp/channels/rdpsnd.h
-- Up-to-date: /usr/include/freerdp/channels/channels.h
-- Up-to-date: /usr/include/freerdp/channels/wtsvc.h
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libfreerdp-utils.so.1.1.0
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libfreerdp-utils.so.1.1
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libfreerdp-utils.so
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libfreerdp-common.so.1.1.0-beta1
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libfreerdp-common.so.1.1.0
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libfreerdp-common.so
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libfreerdp-gdi.so.1.1.0
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libfreerdp-gdi.so.1.1
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libfreerdp-gdi.so
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libfreerdp-rail.so.1.1.0
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libfreerdp-rail.so.1.1
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libfreerdp-rail.so
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libfreerdp-cache.so.1.1.0
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libfreerdp-cache.so.1.1
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libfreerdp-cache.so
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libfreerdp-codec.so.1.1.0
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libfreerdp-codec.so.1.1
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libfreerdp-codec.so
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libfreerdp-crypto.so.1.1.0
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libfreerdp-crypto.so.1.1
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libfreerdp-crypto.so
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libfreerdp-locale.so.1.1.0
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libfreerdp-locale.so.1.1
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libfreerdp-locale.so
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libfreerdp-primitives.so.1.1.0
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libfreerdp-primitives.so.1.1
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libfreerdp-primitives.so
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libfreerdp-core.so.1.1.0
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libfreerdp-core.so.1.1
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libfreerdp-core.so
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libfreerdp-client.so.1.1.0
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libfreerdp-client.so.1.1
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libfreerdp-client.so
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libxfreerdp-client.so.1.1.0
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libxfreerdp-client.so.1.1
-- Up-to-date: /usr/lib/x86_64-linux-gnu/libxfreerdp-client.so
-- Up-to-date: /usr/bin/xfreerdp
---- Finished installing freerdp ----
---- Checking out casablanca master ----
~/prereqs ~/prereqs /tmp/FreeRDP-WebConnect
Already up-to-date.
~/prereqs /tmp/FreeRDP-WebConnect
-- Boost version: 1.58.0
-- Found the following Boost libraries:
--   random
--   chrono
--   system
--   thread
--   regex
--   filesystem
-- Setting gcc options
-- Added test library httpclient_test
-- Added test library httplistener_test
-- Added test library json_test
-- Added test library pplx_test
-- Added test library streams_test
-- Added test library uri_test
-- Added test library utils_test
-- Added test library websocketclient_test
-- Configuring done
-- Generating done
-- Build files have been written to: /home/anatoly/prereqs/casablanca/Release
[ 18%] Built target cpprest
[ 30%] Built target unittestpp
[ 32%] Built target common_utilities
[ 34%] Built target test_runner
[ 38%] Built target httptest_utilities
[ 52%] Built target httpclient_test
[ 61%] Built target httplistener_test
[ 66%] Built target json_test
[ 70%] Built target pplx_test
[ 74%] Built target streams_test
[ 80%] Built target uri_test
[ 84%] Built target utils_test
[ 86%] Built target websockettest_utilities
[ 90%] Built target websocketclient_test
[ 91%] Built target SearchFile
[ 92%] Built target BingRequest
[ 95%] Built target blackjackserver
[ 97%] Built target blackjackclient
[ 99%] Built target oauth1client
[100%] Built target oauth2client
sudo available. Please enter your password to install casablanca:
---- Going back to webconnect ----
/tmp/FreeRDP-WebConnect
Include dir:
OPENSSL INCLUDE DIR: /usr/include
PNG INCLUDE PATH: /usr/include
EHS INCLUDE PATH: /usr/include
-- Strcasecmp has been redefined to strcasecmp
-- Try_compile pretty_func.c returned TRUE
-- Boost version: 1.58.0
-- Found the following Boost libraries:
--   filesystem
--   system
--   regex
--   program_options
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/FreeRDP-WebConnect/wsgate/build
---- Building webconnect ----
[  9%] Built target bindhelper
Scanning dependencies of target wsgate
[ 14%] Building CXX object CMakeFiles/wsgate.dir/wsgate_main.cpp.o
In file included from /tmp/FreeRDP-WebConnect/wsgate/wsgate_main.cpp:80:0:
/tmp/FreeRDP-WebConnect/wsgate/btexception.hpp:176:3: warning: #warning Neither libbfd nor libdwarf are available, so no backtracing enabled [-Wcpp]
 # warning Neither libbfd nor libdwarf are available, so no backtracing enabled
   ^
In file included from /tmp/FreeRDP-WebConnect/wsgate/wsgate_main.cpp:86:0:
/tmp/FreeRDP-WebConnect/wsgate/myrawsocket.hpp:24:21: fatal error: ehs\ehs.h: No such file or directory
compilation terminated.
CMakeFiles/wsgate.dir/build.make:158: recipe for target 'CMakeFiles/wsgate.dir/wsgate_main.cpp.o' failed
make[2]: *** [CMakeFiles/wsgate.dir/wsgate_main.cpp.o] Error 1
CMakeFiles/Makefile2:104: recipe for target 'CMakeFiles/wsgate.dir/all' failed
make[1]: *** [CMakeFiles/wsgate.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
Unable to build FreeRDP-WebConnect. Exiting...
b1rdex commented 8 years ago

@c64cosmin and another question: does compilation from sources worth it on debian or should I use outdated version from http://download.opensuse.org/repositories/home:/felfert/Debian_6.0 ?

b1rdex commented 8 years ago

@c64cosmin oh god, I can't install those packages, because GPG key became expired in november 2015…

c64cosmin commented 8 years ago

@b1rdex Try with this one: https://github.com/cloudbase/EHS Next time when posting such a long log trace, please use a pasting service as http://pastebin.com/

b1rdex commented 8 years ago

@c64cosmin you pointed to EHS actually used in setup-all.sh: https://github.com/FreeRDP/FreeRDP-WebConnect/blob/master/setup-all.sh#L236

c64cosmin commented 8 years ago

@b1rdex You seem to be missing the EHS dependency, that should solve it. If not, you could try using this branch on my fork : https://github.com/c64cosmin/FreeRDP-WebConnect/tree/plugin (branch plugin, it has been tested on ubuntu, centos and fedora, suse will be added around this days) Are you using FreeRDP in Openstack?

b1rdex commented 8 years ago

@c64cosmin no openstack, I just need standalone wsgate to use in my web app to connect to rdp. Going to check your fork.

As for ehs dependecy: it's actually present in prereqs, compiled and installed to /usr. That's in first lines of my log.

b1rdex commented 8 years ago

@c64cosmin your fork built well: http://pastebin.com/GVbWKfY1

boilingfrogs commented 8 years ago

On CentOS, able to build the project successfully. When we click the connect button in the UI, the below exception is seen in the log file and the service is stopped after that.

.... localhost kernel: wsgate[11229]: segfault at 160 ip 00007f254f05d021 sp 00007f253616bbe0 error 4 in libfreerdp.so.2.0.0[7f254efca000+197000]

Also, the wsgate version is coming as "Unknown". The same is seen in the GUI as well.

localhost wsgate[11209]: wsgate v1.2.0.Unknown starting localhost wsgate[11209]: Listening on 172.29.109.235:8888