编译安装webos

本文档提供了一份详细的指南,介绍了如何在Ubuntu Linux上安装和运行WebOS。首先,通过一系列命令安装必要的依赖库;其次,从GitHub下载WebOS安装脚本;最后,遵循步骤启动WebOS的服务总线、创建默认帐户、运行服务并启动luna-sysmgr。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

一、安装手册:
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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值