Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: Blake on January 16, 2018, 10:45:13 AM

Title: Guacamole.tcz
Post by: Blake on January 16, 2018, 10:45:13 AM
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!
Title: Re: Guacamole.tcz
Post by: Juanito on January 16, 2018, 08:52:15 PM
see https://guacamole.apache.org/doc/0.9.5/gug/installing-guacamole.html
Title: Re: Guacamole.tcz
Post by: Blake on January 17, 2018, 08: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?--
Title: Re: Guacamole.tcz
Post by: Rich on January 17, 2018, 09:15:35 AM
Hi Blake
Try installing  libssh2-dev.tcz.
Title: Re: Guacamole.tcz
Post by: Blake on January 17, 2018, 10:41:45 AM
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
Title: Re: Guacamole.tcz
Post by: Rich on January 17, 2018, 11:59:44 AM
Hi Blake
Are you sure there wasn't more to that error message?
Title: Re: Guacamole.tcz
Post by: Blake on January 18, 2018, 06: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$
Title: Re: Guacamole.tcz
Post by: Juanito on January 18, 2018, 06:41:53 AM
you need libossp-uuid-dev
Title: Re: Guacamole.tcz
Post by: Rich on January 18, 2018, 06: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.
Title: Re: Guacamole.tcz
Post by: Juanito on January 18, 2018, 07:26:01 AM
I suspect that guacamole is looking for an older version of openrdp than that in tinycore
Title: Re: Guacamole.tcz
Post by: Blake on January 22, 2018, 09:54:52 AM
 :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
Title: Re: Guacamole.tcz
Post by: Juanito on January 22, 2018, 10:52:14 AM
As mentioned, you need to install libossp-uuid-dev from the repo
Title: Re: Guacamole.tcz
Post by: Blake on January 23, 2018, 06: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
Title: Re: Guacamole.tcz
Post by: coreplayer2 on January 23, 2018, 11:48:01 AM
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.

:)
Title: Re: Guacamole.tcz
Post by: Juanito on January 23, 2018, 10:02:33 PM
Now I have a recipe to make clean guacamole.

Good - please submit to the repo once ready  ;)
Title: Re: Guacamole.tcz
Post by: Blake on January 24, 2018, 06:15:19 AM
What all do I need to submit to the repo. Just directions? It looks like you also have to setup the client side on the actual server. It also seemed like it may use up a lot of RAM. I'll look into finishing it up though.
Title: Re: Guacamole.tcz
Post by: Rich on January 24, 2018, 06:24:54 AM
Hi Blake
Quote
What all do I need to submit to the repo. Just directions?
This should have the required information:
http://wiki.tinycorelinux.net/wiki:creating_extensions