编译安装webos

一、安装手册:
https://www.openwebosproject.org/docs/build_guide/#.UwLO5mKSzlA




二、安装步骤:


1. 安装依赖库:
$ sudo apt-get update


$ sudo apt-get install git git-core pkg-config make autoconf libtool g++ \
tcl unzip libyajl-dev libyajl1 qt4-qmake libsqlite3-dev curl


$ sudo apt-get install gperf bison libglib2.0-dev libssl-dev libxi-dev \
libxrandr-dev libxfixes-dev libxcursor-dev libfreetype6-dev \
libxinerama-dev libgl1-mesa-dev libgstreamer0.10-dev \
libgstreamer-plugins-base0.10-dev flex libicu-dev


$ sudo apt-get install libboost-system-dev libboost-filesystem-dev \
libboost-regex-dev libboost-program-options-dev liburiparser-dev \
libc-ares-dev libsigc++-2.0-dev libglibmm-2.4-dev libdb4.8-dev \
libcurl4-openssl-dev


$ sudo apt-get install xcb libx11-xcb-dev libxcb-sync0-dev \
libxcb1-dev libxcb-keysyms1-dev libxcb-image0-dev libxcb-render-util0-dev \
libxcb-icccm1-dev


$ sudo apt-get build-dep qt4-qmake




2.下载webos 安装脚本
https://github.com/openwebos/build-desktop#downloading


3.下载webos 并安装


./build-webos-desktop.sh


sudo ./install-webos-desktop.sh


三、运行webos,运行的时候还有些错误,如果将错误排除,应该会有界面出来。

How to Run on Ubuntu Linux

Please note that this version of the build does not provide full runtime functionality.

1) Change to the folder where the build-desktop scripts are located (if necessary).

2) Start up the service bus:

    $ ./service-bus.sh start
  • The message hub daemons started indicates success. You can safely ignore error messages.

3) The first time you start, you'll need to create a default account:

    $ ./service-bus.sh init
  • In order for the FileCache and Email to work properly, "user_xattr" attribute needs to be set on the filesystem where "luna-desktop-binaries/staging" is located. The command to set the attribute is given below.

    $ sudo mount / -o remount,user_xattr
    
  • Note that the above command will set the attribute temporarily on the filesystem, it will be reset to default settings when machine is rebooted. If you want to make it permenant, edit the file /etc/fstab to add the attribute. Please refer the Ubuntu documentation for more details.

4) Start up the native webOS services on the service bus:

    $ ./service-bus.sh services
  • The message Services started! indicates success. You can safely ignore error messages.

5) Run luna-sysmgr (ideally from a separate terminal shell window to keep the luna-sysmgr output separate from the service-bus logging)

    $ ./run-luna-sysmgr.sh
  • You can safely ignore the messages from LunaService.

6) When you are finished running luna-sysmgr, stop the service bus:

   $ ./service-bus.sh stop

你可能感兴趣的:(编译安装webos)