Code Monkey home page Code Monkey logo

build-xorg-libs's Introduction

Build X libraries

X Window Systemのライブラリをソースからビルドする。

ビルドの仕方は公式のページにまとめられているが、 管理しているgitレポジトリがGitLabに移行した?ことにより、うまく動かなかったので、動くようにした。

Build

MAKEFLAGS="CWARNFLAGS=-Wno-error" ./build.sh

Tips

  1. ビルドの途中で失敗したら

src/util/modular/build.sh の build_all_modules() の build xxx yyy の部分をビルドが終わったとこまでコメントアウトして、 再開したいとこから始める。

ビルドキャッシュなどで再開がうまく行かないことがある。 再開時に以下のようなメッセージが出ている場合など

ninja: Entering directory `builddir'
ninja: error: loading 'build.ninja': No such file or directory

src/配下の該当するパッケージのフォルダ(build xxx yyy の場合は src/xxx/yyy)にbuilddirという ディレクトリが生成されているので、それを削除してあげる。

rm -r src/xxx/yyy/builddir

Run

  • CLIモードになる。
  • 既存のディスプレイマネージャを停止する。

GNOMEとかを使っていれば

$ systemctl stop gdm
  • Run
$ cd build/bin
$ ./xinit # super userで実行
  • 停止

起動したときに出てくるシェルからexitすれば停止する。

build-xorg-libs's People

Contributors

aki-7 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.