Steven Gregory
2012-04-20
Hello,
I'm looking to install guacamole on Cent OS 5.8, but I've been running in to some trouble. My problem, like many of the other CentOS users resides with having a version of cairo that is below the required version.
Right now I have cairo 1.2 installed and I read on another thread here that cairo 1.6 is required. I noticed that CentOS repositories do have 'qcairo' and 'qpixman', and that both are update beyond what is required.
I have tried:
CFLAGS="-I/usr/include/qcairo" ./configure
but I can't get Guacamole to use qcairo libraries instead of cairo. Installing an upgraded version of cairo also seems to be going nowhere as it requires an update on glib2. Is there anyone who has experience installing Guac on CentOS that would like to share where I should go from here?
Thanks for the help!
Al Crowley
2012-05-10
I was able to install on CentOS 5.7, but I had to do a lot of building from source. Here are my raw notes from the process. I haven't verified them so they may not be complete or perfect, but they should get you most of the way there.
Install Tomcat 6:
1) Install the RPMforge repository. Instructions at http://wiki.centos.org/AdditionalResources/Repositories/RPMForge
2) Install the ERPL: rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm
3) Follow instructions here:
http://www.how2centos.com/installing-tomcat-6-on-centos-5-5-tutorial/
Install Maven:
4) Update the jpackage install because Maven seems to have a version dependency that isn't fixed by the normal install process.
rpm -e jpackage-utils -nodeps
yum install jpackage-utils
yum update
5) yum install maven2
Install guacamole:
6) Download guacamole 0.5 source from sourceforge
7) unpack the source and run "mvn package"
9) rename resulting .war file to /usr/share/tomcat6/webapps/guacamole.war
10) download the Fedora 12 guacamole bundle
11) yum install libvncserver.i386
yum install libvncserver-devel.i386
12) in the untared guacamole-0.3.0-fedora-12-i586 directory:
rpm -i guacamole-0.3.0-15.1.noarch.rpm
13) build libguac:
- git clone git://guacamole.git.sourceforge.net/gitroot/guacamole/libguac
- yum install gcc
- yum install cairo-devel
- yum install automake17
- yum install libtool
These next commands are from the libguac directory. The build instructions just say "run ./configure" but there is no configure file so you have to make it using autoconf and friends:
- aclocal
- autoconf
- libtoolize ???
- automake -add-missing
- mkdir m4
- Edit makefile to add /usr/include/cairo to the include dir list
- Edit makefile remove -Werror (treats warnings as errors)
- make
- make install
14) Build libguac-client-vnc
- get libguac-client-vnc-0.5.0, untar it
- run configure
- Edit makefile to add /usr/include/cairo to the include dir list
- modify the Makefile to remove -Werror
- modify makefile to remove -DHAVE_MALLOC=0 -Dmalloc=rpl_malloc
15) Build guacd
- get guacd-0.5.0.tar.gz and untar it
- run configure
- Edit makefile to add /usr/include/cairo to the include dir list
-make
-make install
- export LD_LIBRARY_PATH=/usr/local/lib:${LD_LIBRARY_PATH}
/usr/local/sbin/guacd
Anonymous
2012-10-23
Unable to compile on CentOS 5, got below error when compiling lib*-vnc
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries… yes
checking whether to build shared libraries… yes
checking whether to build static libraries… yes
checking for g77 option to produce PIC… -fPIC
checking if g77 PIC flag -fPIC works… yes
checking if g77 static flag -static works… yes
checking if g77 supports -c -o file.o… yes
checking whether the g77 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries… yes
checking dynamic linker characteristics… GNU/Linux ld.so
checking how to hardcode library paths into programs… immediate
checking for guac_client_plugin_open in -lguac… yes
checking for cairo_create in -lcairo… no
configure: error: "cairo is required for drawing instructions"
# rpm -qa | grep cairo
cairo-1.2.4-5.el5
cairo-devel-1.2.4-5.el5
cairo-1.2.4-5.el5
cairo-devel-1.2.4-5.el5
pycairo-1.2.0-1.1