Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started 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!
-
see https://guacamole.apache.org/doc/0.9.5/gug/installing-guacamole.html
-
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?--
-
Hi Blake
Try installing libssh2-dev.tcz.
-
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
-
Hi Blake
Are you sure there wasn't more to that error message?
-
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----
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$
-
you need libossp-uuid-dev
-
Hi Blake
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.
-
I suspect that guacamole is looking for an older version of openrdp than that in tinycore
-
: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----
/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
-
As mentioned, you need to install libossp-uuid-dev from the repo
-
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
-
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.
:)
-
Now I have a recipe to make clean guacamole.
Good - please submit to the repo once ready ;)
-
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.
-
Hi Blake
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