Help:Installing

From Openbox

(Difference between revisions)
Jump to: navigation, search
(For 64-bit distributions)
(Delete all the ugly links)
Line 6: Line 6:
 
* Xlib library and headers (development package)
 
* Xlib library and headers (development package)
 
* Xext and Xrandr library and headers (development package) - ''optional but recommended''
 
* Xext and Xrandr library and headers (development package) - ''optional but recommended''
* Glib-2 library and <span class="plainlinks">[http://uvc-thanhlapcongty.com <span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">thanh lap cong ty</span>], <span class="plainlinks">[http://uvc-thanhlapcongty.com <span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">thanh lap cty</span>], <span class="plainlinks">[http://uvc-thanhlapcongty.com <span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">thành lập công ty</span>] headers (development package)
+
* Glib-2 library and headers (development package)
 
* LibXML-2 library and headers (development package)
 
* LibXML-2 library and headers (development package)
 
* Pango library and headers (development package)
 
* Pango library and headers (development package)
Line 12: Line 12:
 
* XCursor library and headers (development package) - ''optional but recommended''
 
* XCursor library and headers (development package) - ''optional but recommended''
 
* Pkg-config
 
* Pkg-config
* <span class="plainlinks">[http://www.proposable.com<span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">proposal software</span>]
 
  
These should all be available through your <span class="plainlinks">[http://www.nhakhoavietgiao.com.vn/list2.php?cid=49 <span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">nha khoa</span>] <span class="plainlinks">[http://namthaibinhduong.edu.vn <span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">tu van du hoc</span>] distribution.
+
These should all be available through your distribution.
  
 
=== Dependencies in Ubuntu and Debian ===
 
=== Dependencies in Ubuntu and Debian ===
In Ubuntu and <span class="plainlinks">[http://uvc-thanhlapcongty.com/cung-cap-dich-vu/dich-vu-ke-toan.html <span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">dich vu ke toan</span>], <span class="plainlinks">[http://uvc-thanhlapcongty.com/cung-cap-dich-vu/dich-vu-ke-toan.html <span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">dịch vụ kế toán</span>], <span class="plainlinks">[http://uvc-thanhlapcongty.com/cung-cap-dich-vu/dai-ly-bao-cao-thue.html <span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">bao cao thue</span>] Debian, install the following <span class="plainlinks">[http://uvc-thanhlapcongty.com/dang-ky-online/dang-ky-thanh-lap-doanh-nghiep.html <span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">thanh lap doanh nghiep</span>], <span class="plainlinks">[http://uvc-thanhlapcongty.com/dang-ky-online/dang-ky-thanh-lap-doanh-nghiep.html <span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">thành lập doanh nghiệp</span>], <span class="plainlinks">[http://uvc-thanhlapcongty.com/van-ban-phap-quy/dang-ky-kinh-doanh.html <span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">dang ky kinh doanh</span>] packages:
+
In Ubuntu and Debian, install the following packages:
 
* build-essential
 
* build-essential
 
* pkg-config
 
* pkg-config
Line 36: Line 35:
  
 
=== Dependencies in Fedora ===
 
=== Dependencies in Fedora ===
In Fedora Core 6 or Fedora 7, install the following <span class="plainlinks">[http://www.mycaal.com/<span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">loan modification</span>] packages:
+
In Fedora Core 6 or Fedora 7, install the following packages:
 
* gcc
 
* gcc
 
* autoconf
 
* autoconf
Line 50: Line 49:
 
== Building and installing the program ==
 
== Building and installing the program ==
  
Once you have the above dependancies installed, <span class="plainlinks">[http://thebeginnerslens.com/<span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">iphone photography</span>] you are ready to build Openbox. Untar the Openbox archive and <span class="plainlinks">[http://www.susanlim.org/<span style="color:black;font-weight:normal; text-decoration:none!important;background:none!important; text-decoration:none;">Susan Lim</span>] from inside the source tree, run:
+
Once you have the above dependancies installed, you are ready to build Openbox. Untar the Openbox archive and from inside the source tree, run:
  
 
<code><pre>
 
<code><pre>
Line 63: Line 62:
 
If you do ''not'' want to install to <code>/usr</code>, then you should use <code>./configure --prefix=<whatever you want> --sysconfdir=/etc --datarootdir=/usr/share</code>. If you don't do this, the Openbox log in options will not be available, because they need to be installed to <code>/usr/share/xsessions</code>.
 
If you do ''not'' want to install to <code>/usr</code>, then you should use <code>./configure --prefix=<whatever you want> --sysconfdir=/etc --datarootdir=/usr/share</code>. If you don't do this, the Openbox log in options will not be available, because they need to be installed to <code>/usr/share/xsessions</code>.
  
If the configure command fails and the <span class="plainlinks">[http://www.andrewflusche.com/services/stafford-dui-lawyer/<span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">Stafford DUI lawyer</span>] reason is not obvious, you should <span class="plainlinks">[http://www.diamondlinks.net/<span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">link building</span>] look in the generated <code>config.log</code> file to discover the cause of the problem.
+
If the configure command fails and the reason is not obvious, you should look in the generated <code>config.log</code> file to discover the cause of the problem.
  
 
=== For 64-bit distributions ===
 
=== For 64-bit distributions ===
Line 72: Line 71:
 
   % sudo make install
 
   % sudo make install
 
</pre></code>
 
</pre></code>
<span class="plainlinks">[http://uvc-thanhlapcongty.com <span style="color:#fefefe;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">thanh lap cong ty</span>]  <span class="plainlinks">[http://uvc-thanhlapcongty.com <span style="color:#fefefe;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">thanh lap cty</span>] <span class="plainlinks">[http://uvc-thanhlapcongty.com <span style="color:#fefefe;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">thành lập công ty</span>] <span class="plainlinks">[http://uvc-thanhlapcongty.com/dang-ky-online/dang-ky-thanh-lap-doanh-nghiep.html <span style="color:#fefefe;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">thanh lap doanh nghiep</span>] <span class="plainlinks">[http://uvc-thanhlapcongty.com/dang-ky-online/dang-ky-thanh-lap-doanh-nghiep.html <span style="color:#fefefe;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">thành lập doanh nghiệp</span>] <span class="plainlinks">[http://uvc-thanhlapcongty.com/van-ban-phap-quy/dang-ky-kinh-doanh.html <span style="color:#fefefe;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">dang ky kinh doanh</span>] <span class="plainlinks">[http://uvc-thanhlapcongty.com/cung-cap-dich-vu/dich-vu-ke-toan.html <span style="color:#fefefe;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">dich vu ke toan</span>] <span class="plainlinks">[http://uvc-thanhlapcongty.com/cung-cap-dich-vu/dich-vu-ke-toan.html <span style="color:#fefefe;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">dịch vụ kế toán</span>] <span class="plainlinks">[http://uvc-thanhlapcongty.com/cung-cap-dich-vu/dai-ly-bao-cao-thue.html <span style="color:#fefefe;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">bao cao thue</span>] <span class="plainlinks">[http://www.nhakhoavietgiao.com.vn/list2.php?cid=49 <span style="color:#fefefe;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">nha khoa</span>] <span class="plainlinks">[http://namthaibinhduong.edu.vn <span style="color:#fefefe;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">tu van du hoc</span>]
 
  
 
=== For CentOS 5.3 ===
 
=== For CentOS 5.3 ===

Revision as of 04:07, 28 September 2011

Contents

Dependencies

Compiling Openbox should be a relatively painless experience. You will need the following packages:

  • C compiler (such as GCC)
  • Libc library and headers (development package)
  • Xlib library and headers (development package)
  • Xext and Xrandr library and headers (development package) - optional but recommended
  • Glib-2 library and headers (development package)
  • LibXML-2 library and headers (development package)
  • Pango library and headers (development package)
  • Startup-notification library and headers (development package) - optional but recommended
  • XCursor library and headers (development package) - optional but recommended
  • Pkg-config

These should all be available through your distribution.

Dependencies in Ubuntu and Debian

In Ubuntu and Debian, install the following packages:

  • build-essential
  • pkg-config
  • libpango1.0-dev
  • libglib2.0-dev
  • libxml2-dev
  • libxcursor-dev
  • libstartup-notification0-dev
  • xlibs-dev
  • libxext-dev
  • x11proto-randr-dev

Note: 'xlibs-dev' is no longer available in in Ubuntu 8.04 LTS 'Hardy' repositories, but 'xlibs-static-dev' is.

If you want to hook in the Debian menu, you'll also want:

  • menu
  • menu-xdg

Dependencies in Fedora

In Fedora Core 6 or Fedora 7, install the following packages:

  • gcc
  • autoconf
  • automake
  • glib2-devel
  • pango-devel
  • startup-notification-devel
  • libXcursor-devel
  • libXfixes-devel
  • libSM-devel
  • libxml2-devel

Building and installing the program

Once you have the above dependancies installed, you are ready to build Openbox. Untar the Openbox archive and from inside the source tree, run:

  % ./configure --prefix=/usr --sysconfdir=/etc
    ...configure detects the build evironment...
  % make
    ...openbox builds...
  % sudo make install
    ...openbox installs...

If you do not want to install to /usr, then you should use ./configure --prefix=<whatever you want> --sysconfdir=/etc --datarootdir=/usr/share. If you don't do this, the Openbox log in options will not be available, because they need to be installed to /usr/share/xsessions.

If the configure command fails and the reason is not obvious, you should look in the generated config.log file to discover the cause of the problem.

For 64-bit distributions

When building Openbox on the 64-bit versions of Debian, Ubuntu or Fedora, use:

  % ./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib64
  % make
  % sudo make install

For CentOS 5.3

# yum install automake autoconf glib2-devel pango-devel startup-notification-devel libXcursor-devel libXfixes-devel libSM-devel libxml2-devel gcc-c++.i386 gcc.i386

# ./configure --prefix=/usr --sysconfdir=/etc 

# make

# make install
Personal tools