Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2079664
  • 博文数量: 414
  • 博客积分: 10312
  • 博客等级: 上将
  • 技术积分: 4921
  • 用 户 组: 普通用户
  • 注册时间: 2007-10-31 01:49
文章分类

全部博文(414)

文章存档

2011年(1)

2010年(29)

2009年(82)

2008年(301)

2007年(1)

分类: C/C++

2008-04-18 09:54:35

  • Unpack archive with 'tar zxvf filename' or 'gunzip -c filename | tar xvf -'
  • Go to xnc-5.x.x directory
  • Run './configure'. For configure options see output of './configure --help'
  • Run 'make'
  • Run 'make install' under root. This operation install files to Your computer.
  • You need to run 'xncsetup' for each user who wants to run xnc.
  • Configure Your environment with xncsetup and press 'Save' button.

PS: If you have troubles compiling XNC try run
'./configure --disable-shared' and then make again.

Source code tarball installation for local user without root access:

If you want to install xnc to another directory that default one (/usr), then read this part of instructions:
Assume that you want to install xnc locally to your home directory and don't have 'root' access.
For example your home directory is '/home/leo'.

  • Unpack archive with 'tar zxvf filename' or 'gunzip -c filename | tar xvf -'
  • Go to xnc-5.x.x directory 
  • Run './configure --prefix=/home/leo'. For more configure options see output of './configure --help'
  • Run 'make' 
  • Run 'make install'. This operation install files to Your computer.
  • You need to run 'xncsetup' before running xnc. Do it under X window system because xncsetup requires connection to X server. XNC installs itself in the following directories:
    • /home/leo/bin - binaries
    • /home/leo/lib/xnc - libraries
    • /home/leo/share/man/man1 - man pages
    • /home/leo/share/doc/xnc-5.x.x - documentation
    • /home/leo/share/locale - localization
  • Configure Your environment with xncsetup and press 'Save' button.
  • Make sure that you have '/home/leo/bin' directory in your $PATH environment.
  • Or add with 'export PATH=/home/leo/bin:$PATH' into your local startup script. 
阅读(1137) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~