FreeRDP / FreeRDP-WebConnect

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

What Distribution Does this work on? #42

Open willkruss opened 10 years ago

willkruss commented 10 years ago

I'm having trouble getting this working on Fedora 20. FreeRDP and ehs work fine, as does casablanca, but I get the below error when running make (configure works fine). Happy to install on Ubuntu, Debian or CentOS if that is what it's being tested on.

Thanks

[root@console wsgate]# sudo make make all-recursive make[1]: Entering directory /root/FreeRDP-WebConnect/wsgate' Making all in . make[2]: Entering directory/root/FreeRDP-WebConnect/wsgate' CC bindhelper-bindhelper.o CCLD bindhelper CXX wsgate-base64.o CXX wsgate-btexception.o CXX wsgate-logging.o CXX wsgate-sha1.o CXX wsgate-wsgate_main.o In file included from /usr/lib/gcc/x86_64-redhat-linux/4.8.2/include/x86intrin.h:27:0, from /usr/include/c++/4.8.2/x86_64-redhat-linux/bits/opt_random.h:33, from /usr/include/c++/4.8.2/random:51, from /usr/include/c++/4.8.2/bits/stl_algo.h:65, from /usr/include/c++/4.8.2/algorithm:62, from /usr/include/c++/4.8.2/ext/slist:47, from /usr/include/boost/algorithm/string/std/slist_traits.hpp:16, from /usr/include/boost/algorithm/string/std_containers_traits.hpp:23, from /usr/include/boost/algorithm/string.hpp:18, from wsgate_main.cpp:38: /usr/local/include/winpr/crt.h:35:22: error: âroldâ declared as an âinlineâ variable static INLINE UINT32 _rotl(UINT32 value, int shift) { ^ /usr/local/include/winpr/crt.h:35:22: error: âUINT32 __roldâ redeclared as different kind of symbol /usr/lib/gcc/x86_64-redhat-linux/4.8.2/include/ia32intrin.h:127:1: error: previous declaration of âunsigned int rold(unsigned int, int)â rold (unsigned int X, int __C) ^ /usr/local/include/winpr/crt.h:35:22: error: expected primary-expression before âvalueâ static INLINE UINT32 _rotl(UINT32 value, int shift) { ^ /usr/local/include/winpr/crt.h:35:22: error: expected â)â before âvalueâ In file included from /usr/local/include/winpr/collections.h:30:0, from /usr/local/include/freerdp/types.h:65, from /usr/local/include/freerdp/freerdp.h:40, from /usr/local/include/freerdp/input.h:26, from rdpcommon.hpp:28, from RDP.hpp:29, from myrawsocket.hpp:23, from wsgate_main.cpp:81: /usr/local/include/winpr/crt.h:121:11: error: âerrno_tâ does not name a type WINPR_API errno_t _itoa_s(int value, char* buffer, size_t sizeInCharacters, int radix); ^ /usr/local/include/winpr/crt.h:125:11: error: âerrno_tâ does not name a type WINPR_API errno_t memmove_s(void* dest, size_t numberOfElements, const void* src, size_t count); ^ /usr/local/include/winpr/crt.h:126:11: error: âerrno_tâ does not name a type WINPR_API errno_t wmemmove_s(WCHAR* dest, size_t numberOfElements, const WCHAR* src, size_t count); ^ make[2]: * [wsgate-wsgate_main.o] Error 1 make[2]: Leaving directory `/root/FreeRDP-WebConnect/wsgate' make[1]: * [all-recursive] Error 1 make[1]: Leaving directory`/root/FreeRDP-WebConnect/wsgate' make: *\ [all] Error 2

alexpilotti commented 10 years ago

Hi, we concentrated most of the recent efforts on Ubuntu and Windows, going to check if something broke on Fedora. We surely need continuos integration tests and automated builds, which we are doing for Windows only now.

For the time being, can you please follow the Ubuntu build instructions available here and let me know if it works for you? http://wiki.cloudbase.it/nova-rdp

Tx

willkruss commented 10 years ago

Hi Alessandro,

Tried installing on Ubuntu 14 and run into trouble with pretty well everything. The pre-requisite script doesn’t work at all for Ubuntu (it’s setup for a RHEL distro). I installed these Ubuntu libraries, which I believe are the correct ones for all the prereq’s:

apt-get install make build-essential autoconf automake libsdl-image1.2-dev libfreetype6-dev libpng12-dev binutils-dev

apt-get install subversion gcc g++ svn2cl openssl libssl-dev libboost-all-dev libpng-dev libdw-dev elfutils

Trying to make ehs after it’s downloaded using the setup script produces this:

root@console:~/prereqs/ehs-code# make -f Makefile.am

svn2cl -i --break-before-msg --authors=conf/authors.xml

autoreconf -if

configure.ac:58: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL

  If this token and others are legitimate, please use m4_pattern_allow.

  See the Autoconf documentation.

configure.ac:59: error: possibly undefined macro: AC_PROG_LIBTOOL

configure.ac:63: error: possibly undefined macro: _LT_AC_TAGCONFIG

autoreconf: /usr/bin/autoconf failed with exit status: 1

make: *\ [bootstrap] Error 1

root@console:~/prereqs/ehs-code# ./configure

configure: error: cannot find install-sh, install.sh, or shtool in conf "."/conf

root@console:~/prereqs/ehs-code#

Note that I checked out the cloudbase fork of FreeRDP-WebConnect.

I got a lot further on Fedora than on Ubuntu (ehs, FreeRDP and Casablanca were all compiled, it was only the FreeRDP-WebConnect that was a problem).

Cheers

Will

From: Alessandro Pilotti [mailto:notifications@github.com] Sent: Thursday, 12 June 2014 8:19 PM To: FreeRDP/FreeRDP-WebConnect Cc: willkruss Subject: Re: [FreeRDP-WebConnect] What Distribution Does this work on? (#42)

Hi, we concentrated most of the recent efforts on Ubuntu and Windows, going to check if something broke on Fedora. We surely need continuos integration tests and automated builds, which we are doing for Windows only now.

For the time being, can you please follow the Ubuntu build instructions available here and let me know if it works for you? http://wiki.cloudbase.it/nova-rdp

Tx

— Reply to this email directly or view it on GitHub https://github.com/FreeRDP/FreeRDP-WebConnect/issues/42#issuecomment-45854854 . https://github.com/notifications/beacon/4157364__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcxODE4NzUxNCwiZGF0YSI6eyJpZCI6MzQ0ODE1NzF9fQ==--19dc4606d8e57934eb633ff1ea232aa591ee9ca5.gif