install boxes on firefly-ubuntu

来源:互联网 发布:好看的av女友 知乎 编辑:程序博客网 时间:2024/06/05 05:46
1, install box
sudo apt-get install intltool unzip flex bison libffi-dev 
sudo apt-get install autoconf automake libtool
sudo apt-get install python-dev


1.1)install gobject-instrospection
download gobject-introspection-0.9.6 & install from source
xz ***.xz
tar xvf ***.tar
./configure --prefix=/usr --disable-static && make


make fail:
ERROR: Failed to re-parse gir file; scanned='/tmp/tmpY0jyfH.gir' passthrough='/tmp/tmpqht0HX.gir'
make[2]: *** [GObject-2.0.gir] Error 1
make[2]: Leaving directory `/home/firefly/src/gobject-introspection-0.9.6/gir'
make[1]: *** [all-recursive] Error 1


make install


later I fount that this package could be installed directly by apt-get.
firefly@rk3288:~/src/gobject-introspection-0.9.6$ sudo apt-get install gobject-introspection
sudo: unable to resolve host rk3288
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  python-mako python-markupsafe
Suggested packages:
  python-beaker python-mako-doc
The following NEW packages will be installed:
  gobject-introspection python-mako python-markupsafe
0 upgraded, 3 newly installed, 0 to remove and 271 not upgraded.
Need to get 319 kB of archives.
After this operation, 1,737 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
....
Setting up gobject-introspection (1.40.0-1ubuntu0.2)
 but the version is not 0.9.6 as claimed to be required by BOX.


but BOX complaint : 
checking for gobject-introspection... configure: error: gobject-introspection-1.0 is not installed




2, 
install virt-viewer ok, but can't run it, with error:  
Error retrieving accessibility bus address: 
org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files





0 0
原创粉丝点击