WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Guacamole.tcz  (Read 4380 times)

Offline Blake

  • Newbie
  • *
  • Posts: 39
Guacamole.tcz
« on: January 16, 2018, 01:45:13 PM »
I was wondering if it would be possible to get a recipe for making Guacamole on i686 and especially x86_64 for Tiny Core? I am interested in trying this flavor of screen share. Thanks for all you do!

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851

Offline Blake

  • Newbie
  • *
  • Posts: 39
Re: Guacamole.tcz
« Reply #2 on: January 17, 2018, 11:48:16 AM »
I am having this issue with guacamole-server-0.9.13:

make[2]: Entering directory '/home/tc/Downloads/guacamole-server-0.9.13-incubating/src/common-ssh'
  CC       libguac_common_ssh_la-sftp.lo
In file included from common-ssh/sftp.h:24:0,
                 from sftp.c:20:
common-ssh/ssh.h:26:21: fatal error: libssh2.h: No such file or directory
 #include <libssh2.h>
                     ^
compilation terminated.
make[2]: *** [Makefile:503: libguac_common_ssh_la-sftp.lo] Error 1
make[2]: Leaving directory '/home/tc/Downloads/guacamole-server-0.9.13-incubating/src/common-ssh'
make[1]: *** [Makefile:494: all-recursive] Error 1
make[1]: Leaving directory '/home/tc/Downloads/guacamole-server-0.9.13-incubating'
make: *** [Makefile:426: all] Error 2
tc@box:~/Downloads/guacamole-server-0.9.13-incubating$

--Any thoughts?--

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11702
Re: Guacamole.tcz
« Reply #3 on: January 17, 2018, 12:15:35 PM »
Hi Blake
Try installing  libssh2-dev.tcz.

Offline Blake

  • Newbie
  • *
  • Posts: 39
Re: Guacamole.tcz
« Reply #4 on: January 17, 2018, 01:41:45 PM »
Thanks Rich that resolved the first issue, but I am now getting this make[2]: *** [Makefile:532: guacd] Error 1
make[2]: Leaving directory '/home/tc/Downloads/guacamole-server-0.9.13-incubating/src/guacd'
make[1]: *** [Makefile:494: all-recursive] Error 1
make[1]: Leaving directory '/home/tc/Downloads/guacamole-server-0.9.13-incubating'
make: *** [Makefile:426: all] Error 2

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11702
Re: Guacamole.tcz
« Reply #5 on: January 17, 2018, 02:59:44 PM »
Hi Blake
Are you sure there wasn't more to that error message?

Offline Blake

  • Newbie
  • *
  • Posts: 39
Re: Guacamole.tcz
« Reply #6 on: January 18, 2018, 09:36:20 AM »
When I configure I get this ( I have freerdp.tcz installed maybe I should compile one from source?)
guacamole-server version 0.9.13-incubating
------------------------------------------------

   Library status:

     freerdp ............. no
     pango ............... yes
     libavcodec .......... no
     libavutil ........... no
     libssh2 ............. yes
     libssl .............. yes
     libswscale .......... no
     libtelnet ........... no
     libVNCServer ........ yes
     libvorbis ........... yes
     libpulse ............ yes
     libwebp ............. no

   Protocol support:

      RDP ....... no
      SSH ....... yes
      Telnet .... no
      VNC ....... yes

   Services / tools:

      guacd ...... yes
      guacenc .... no

   Init scripts: no

Type "make" to compile guacamole-server.

----And here is the full make output----
Code: [Select]
tc@box:~/Downloads/guacamole-server-0.9.13-incubating$ make
make  all-recursive
make[1]: Entering directory '/home/tc/Downloads/guacamole-server-0.9.13-incubating'
Making all in src/libguac
make[2]: Entering directory '/home/tc/Downloads/guacamole-server-0.9.13-incubating/src/libguac'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/tc/Downloads/guacamole-server-0.9.13-incubating/src/libguac'
Making all in src/common
make[2]: Entering directory '/home/tc/Downloads/guacamole-server-0.9.13-incubating/src/common'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/tc/Downloads/guacamole-server-0.9.13-incubating/src/common'
Making all in src/libguacd
make[2]: Entering directory '/home/tc/Downloads/guacamole-server-0.9.13-incubating/src/libguacd'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/tc/Downloads/guacamole-server-0.9.13-incubating/src/libguacd'
Making all in tests
make[2]: Entering directory '/home/tc/Downloads/guacamole-server-0.9.13-incubating/tests'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/tc/Downloads/guacamole-server-0.9.13-incubating/tests'
Making all in src/common-ssh
make[2]: Entering directory '/home/tc/Downloads/guacamole-server-0.9.13-incubating/src/common-ssh'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/tc/Downloads/guacamole-server-0.9.13-incubating/src/common-ssh'
Making all in src/terminal
make[2]: Entering directory '/home/tc/Downloads/guacamole-server-0.9.13-incubating/src/terminal'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/tc/Downloads/guacamole-server-0.9.13-incubating/src/terminal'
Making all in src/pulse
make[2]: Entering directory '/home/tc/Downloads/guacamole-server-0.9.13-incubating/src/pulse'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/tc/Downloads/guacamole-server-0.9.13-incubating/src/pulse'
Making all in src/protocols/ssh
make[2]: Entering directory '/home/tc/Downloads/guacamole-server-0.9.13-incubating/src/protocols/ssh'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/tc/Downloads/guacamole-server-0.9.13-incubating/src/protocols/ssh'
Making all in src/protocols/vnc
make[2]: Entering directory '/home/tc/Downloads/guacamole-server-0.9.13-incubating/src/protocols/vnc'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/tc/Downloads/guacamole-server-0.9.13-incubating/src/protocols/vnc'
Making all in src/guacd
make[2]: Entering directory '/home/tc/Downloads/guacamole-server-0.9.13-incubating/src/guacd'
  CCLD     guacd
/home/tc/Downloads/guacamole-server-0.9.13-incubating/src/libguac/.libs/libguac.so: undefined reference to `uuid_export'
/home/tc/Downloads/guacamole-server-0.9.13-incubating/src/libguac/.libs/libguac.so: undefined reference to `uuid_create'
/home/tc/Downloads/guacamole-server-0.9.13-incubating/src/libguac/.libs/libguac.so: undefined reference to `uuid_destroy'
/home/tc/Downloads/guacamole-server-0.9.13-incubating/src/libguac/.libs/libguac.so: undefined reference to `uuid_make'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:532: guacd] Error 1
make[2]: Leaving directory '/home/tc/Downloads/guacamole-server-0.9.13-incubating/src/guacd'
make[1]: *** [Makefile:494: all-recursive] Error 1
make[1]: Leaving directory '/home/tc/Downloads/guacamole-server-0.9.13-incubating'
make: *** [Makefile:426: all] Error 2
tc@box:~/Downloads/guacamole-server-0.9.13-incubating$
« Last Edit: January 18, 2018, 09:43:06 AM by Juanito »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: Guacamole.tcz
« Reply #7 on: January 18, 2018, 09:41:53 AM »
you need libossp-uuid-dev

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11702
Re: Guacamole.tcz
« Reply #8 on: January 18, 2018, 09:48:27 AM »
Hi Blake
Quote
When I configure I get this ( I have freerdp.tcz installed maybe I should compile one from source?)
Yes, but what about  freerdp-dev.tcz?

You should also probably do a  make clean  so everything starts from scratch.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: Guacamole.tcz
« Reply #9 on: January 18, 2018, 10:26:01 AM »
I suspect that guacamole is looking for an older version of openrdp than that in tinycore

Offline Blake

  • Newbie
  • *
  • Posts: 39
Re: Guacamole.tcz
« Reply #10 on: January 22, 2018, 12:54:52 PM »
 :o
Installed freerdp-dev.tcz and performed make clean
Had to reinstall uuid-1.6.2 to get rid of one error
This is what I am getting below
--./configure--


guacamole-server version 0.9.13-incubating
------------------------------------------------

   Library status:

     freerdp ............. no
     pango ............... yes
     libavcodec .......... yes
     libavutil ........... yes
     libssh2 ............. yes
     libssl .............. yes
     libswscale .......... yes
     libtelnet ........... no
     libVNCServer ........ yes
     libvorbis ........... yes
     libpulse ............ yes
     libwebp ............. yes

   Protocol support:

      RDP ....... no
      SSH ....... yes
      Telnet .... no
      VNC ....... yes

   Services / tools:

      guacd ...... yes
      guacenc .... yes

   Init scripts: no

Type "make" to compile guacamole-server.
----make error----
Code: [Select]
/home/tc/Downloads/guacamole-server-0.9.13-incubating/src/libguac/.libs/libguac.so: undefined reference to `uuid_export'
/home/tc/Downloads/guacamole-server-0.9.13-incubating/src/libguac/.libs/libguac.so: undefined reference to `uuid_create'
/home/tc/Downloads/guacamole-server-0.9.13-incubating/src/libguac/.libs/libguac.so: undefined reference to `uuid_destroy'
/home/tc/Downloads/guacamole-server-0.9.13-incubating/src/libguac/.libs/libguac.so: undefined reference to `uuid_make'
--make file error---

collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:532: guacd] Error 1
make[2]: Leaving directory '/home/tc/Downloads/guacamole-server-0.9.13-incubating/src/guacd'
make[1]: *** [Makefile:494: all-recursive] Error 1
make[1]: Leaving directory '/home/tc/Downloads/guacamole-server-0.9.13-incubating'
make: *** [Makefile:426: all] Error 2
tc@box:~/Downloads/guacamole-server-0.9.13-incubating$
/home/tc/Downloads/guacamole-server-0.9.13-incubating/src/libguac/.libs/libguac.so: undefined reference to `uuid_export'
/home/tc/Downloads/guacamole-server-0.9.13-incubating/src/libguac/.libs/libguac.so: undefined reference to `uuid_create'
/home/tc/Downloads/guacamole-server-0.9.13-incubating/src/libguac/.libs/libguac.so: undefined reference to `uuid_destroy'
/home/tc/Downloads/guacamole-server-0.9.13-incubating/src/libguac/.libs/libguac.so: undefined reference to `uuid_make'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:532: guacd] Error 1
make[1]: Leaving directory '/home/tc/Downloads/guacamole-server-0.9.13-incubating/src/guacd'
make: *** [Makefile:494: install-recursive] Error 1
tc@box:~/Downloads/guacamole-server-0.9.13-incubating$

Edit: added code tags
« Last Edit: January 23, 2018, 01:24:30 AM by Juanito »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: Guacamole.tcz
« Reply #11 on: January 22, 2018, 01:52:14 PM »
As mentioned, you need to install libossp-uuid-dev from the repo

Offline Blake

  • Newbie
  • *
  • Posts: 39
Re: Guacamole.tcz
« Reply #12 on: January 23, 2018, 09:30:50 AM »
Yo!!! It worked with the libossp-uuid-dev install and the make clean! Thanks for the help. Sorry I missed your post earlier Juanito. Now I have a recipe to make clean guacamole.  :D

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Guacamole.tcz
« Reply #13 on: January 23, 2018, 02:48:01 PM »
Blake good job, but here's a tip.   

whenever you are preparing to compile an application you should first look to install the 'application'-dev.tcz (extension) for any required dependencies.  The main application extension will be listed as a dependency and installed along with it.

:)

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: Guacamole.tcz
« Reply #14 on: January 24, 2018, 01:02:33 AM »
Now I have a recipe to make clean guacamole.

Good - please submit to the repo once ready  ;)