LibreOffice Online

http://adamedoe.blogspot.cz/2012/07/libreoffice-is-still-working-on-online.html

http://stackoverflow.com/questions/10347924/libreoffice-online-build/11753703#11753703

 

I’m trying to compile libreoffice, to use it „online“, i.e: in a web browser (see a demo here: http://www.youtube.com/watch?v=CVR7HqDokmA ).

When running the executable, I get this error:

**Gdk-ERROR **: Unsupported GDK backend: broadway** 

These are the steps I do to compile libreoffice on a Ubuntu 11.10 Linux box:

cd /opt mkdir -p libreoffice cd libreoffice/  git clone git://anongit.freedesktop.org/libreoffice/core cd core  cat >> /etc/apt/sources.list << EOT  deb http://ppa.launchpad.net/libreoffice/ppa/ubuntu oneiric main deb-src http://ppa.launchpad.net/libreoffice/ppa/ubuntu oneiric main EOT  sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1378B444 sudo apt-get update sudo apt-get build-dep libreoffice  sudo apt-get install -y libgnomevfs2-dev sudo apt-get install -y doxygen  ./autogen.sh --enable-gtk3 --without-java --disable-mozilla --without-system-mozilla make  make dev-install  cd install/program; . ./ooenv; export SAL_USE_VCLPLUGIN=gtk3 export GDK_BACKEND=broadway ./soffice --writer 

What is the problem here? Is there any other compilation option I can check?

shareimprove this question
 

2 Answers

up vote 3 down vote accepted

Seems your GTK hasn't been compiled with the broadway backend enabled. Depends on your distro.

shareimprove this answer
 
    
Thanks. Now it's clearer... I suppose I'll try the build process on a new (virtual) box, since I would risk to smash up my system, rebuilding the gtk with custom flags... 😉 –  MarcoS May 2 '12 at 10:07

As liberforce correctly pointed out, you need a BROADWAY-enabled GTK. I did just discover ubuntu 12.04 ships with a BROADWAY-enabled GTK...

shareimprove this answer