望麓自卑—湖南大学最具潜力的校园传媒

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2454|回复: 12

[资源共享] 升级kde的阿

[复制链接]
发表于 2005-5-9 10:24:07 | 显示全部楼层 |阅读模式
我想升级kde的,我的是3.2.3的,我想升级到3。4。想问一下,如何升级的,还有就是需不需要把原来的给卸载掉的阿???
发表于 2005-5-9 15:17:37 | 显示全部楼层
记得有升级包下载吧,楼主google一下看。

另外如果有高版本的linux,也可以直接升级的。
 楼主| 发表于 2005-5-10 20:57:40 | 显示全部楼层
大哥,我下了升级包的呀,不知道怎么装的啊??
发表于 2005-5-10 21:17:59 | 显示全部楼层
不如自己重新编译一个新的啊。 :)
发表于 2005-5-10 21:18:13 | 显示全部楼层
Konstruct
Introduction

"Konstruct" is a build system which helps you to install KDE releases and applications on your system. It downloads defined source tarballs, checks their integrity, decompresses, patches, configures, builds and installs them. A complete KDE installation should be as easy as "cd meta/kde;make install".

By default "Konstruct" installs to your home directory which means you don't have to possess root privileges or risk to damage your system or affect another KDE.
Stable KDE Version

This version installs the current stable development releases of KDE and applications. Currently it gives a complete KDE 3.4 installation. Optionally you can install additional applications like KOffice 1.3.5 or KDevelop 3.2.

  http://developer.kde.org/build/k ... ruct-stable.tar.bz2
发表于 2005-5-10 21:21:20 | 显示全部楼层
Introduction
============
"Konstruct" is a build system which helps you to install KDE releases and
applications on your system. It downloads defined source tarballs, checks
their integrity, decompresses, patches, configures, builds and installs them.

A complete KDE installation should be as easy as "cd meta/kde;make install"
which with this version gives a KDE 3.4 installation. Optionally you can
install additional applications like KOffice 1.3.5 or KDevelop 3.2, just
run for example "cd apps/office/koffice ; make install".

By default "Konstruct" installs to ~/kde3.4/ which means you don't have
to possess root privileges or risk to damage your system or affect another KDE.

The following table shows how many MBytes source tarballs will be downloaded:

  Directory/Target  |  Size | Description
  --------------------+-------+----------------------------------------------
  kde/kdebase      |  56MB | Desktop with browser, editor and terminal
  meta/kdepim-crypto |  68MB | Above plus kdepim and crypto libraries
  meta/kde        | 172MB | All "KDE 3.4" packages & dependencies
  meta/everything   | 248MB | Most stable known targets, see next table

Following (unstable) targets are not included in the meta/everything target:

  Directory/Target     | Reason
  ------------------------+---------------------------------------------------
  apps-unstable/      | Development versions, maybe conflict with apps/
  i18n/            | Nobody needs everything, just pick your language
  kde/kdebindings      | Only needed for developing with non-C++ language

If you have at least Qt 3.3 installed, define variable HAVE_QT_3_3_INSTALLED
(see "Configuration" chapter) and subtract 14 MB from the numbers in every
column.

If you want to have KDE localized into your native language, look into the
i18n/ directory, change to your language directory and start "make install".
To localize KOffice, install an i18n/koffice-i18n-<language-code> package.

"Konstruct" is maintained by binner@kde.org and based on GAR ports system by
Nick Moffitt (http://www.lnx-bbc.org/garchitecture.html) and is inspired by
GARNOME distribution started by Jeff Waugh (http://cipherfunk.org/garnome/).


Preconditions
=============
A working GNU tool chain (gcc, GNU make, flex, BSD yacc, gettext etc.) and
additional GNU tools like tar, gzip, bzip2, md5sum, patch and wget.

Some basic libraries and some other libraries enabling additional functionality
are not included in "Konstruct", http://www.kde.org/info/requirements/3.4.php
lists them. Note that you may have to install the header files within separate
"-dev" or "-devel" packages too.

If you use a recent SUSE or Mandrake 9.2 distribution you might be interested in
"Detektive", a simple script which checks and tells which required rpm packages
of your distribution you have not installed: Just run "cd misc/detektive;make".

I&#39;m interested in any help to extend "Detektive" to other distributions/versions.


Configuration
=============
Copy gar.conf.mk.in to gar.conf.mk and change it to your liking. Common options:

  GARCHIVEDIR If you have already downloaded source tarballs set the path here.

  prefix    Where to install your KDE desktop. Default is ~/kde3.4/ .
          Moving KDE installation elsewhere afterwards calls for troubles!

  HAVE_64BIT_TARGET Set this if you want to compile KDE for a 64bit target (x86_64)

  OWN_CFLAGS  Allows you to specify compiler flags specific to your CPU.

  HAVE_QT_3_3_INSTALLED  Set this if you have at least Qt 3.3 (including moc,
          uic and headers) installed and want to skip Qt installation.

  BUILD_CLEAN Set this if you&#39;re low on available file system space.

If the download fails because of a proxy, then please consult the wget man page
for necessary options in your ~/.wgetrc. If download.kde.org redirects you to a
broken or incomplete mirror you may fix your problem by changing kde.conf.mk.


Usage
=====
Be sure that you have a live internet connection. Choose a target and change
to the directory which helds its definition, e.g. "cd kde/kdebase". Now run
make with one of the following targets, usually you only need "make install".

The GAR system provides seven basic targets for each package:

fetch
  This target downloads all files and patches needed to compile the package.
  Typically this is a single tarball, accompanied by occasional patch files.

checksum
  Uses md5sum to ensure that the downloaded files match those with which the
  package maintainer worked.

extract
  Makes sure that all of the necessary source files are available in a working
  directory. In some cases (such as when downloading a single C++ source file)
  this will simply copy files over.

patch
  If the package has to be patched (either via third-party patches or package
  maintainer patches), this target will perform that step.

configure
  Configures the package as specified in the Makefile. It will typically run
  the package&#39;s underlying configuration system (such as autoconf or Imake).

build
  Performs the actual step of compilation after installing the dependencies.

install
  Puts files in the proper locations and performs any necessary mop-up work.

These targets are named after their counterparts in the BSD Ports system and
behave in the same manner. If you want to install a package you have to enter
the package&#39;s or target&#39;s directory and to run "make install" or "make patch"
(just two examples). A later target includes all the previously listed ones.

Some additional useful targets which you usually don&#39;t require are:

buildclean
  Clean up the working directory but don&#39;t delete downloaded packages. Run this
  if you installed missing dependencies and want to re-configure the package.

clean
  Clean up the working directory. This also deletes downloaded packages! Either
  use "buildclean" instead or call "garchive" before to prevent new downloads.

garchive
  Call "checksum" target and save downloaded files to GARCHIVEDIR directory.

showdeps
  Print a tree with the recursive dependencies of current package.

For every target exists a deep-foo variant which will also call it recursively
for all its dependencies, e.g. with "make deep-checksum" you can download all
required source tarballs and build it later (when you have no net connection).


After installation
==================
After installation you have to set some variables allowing your system to find
KDE binaries and libraries and KDE to allow to find its own files, for Bash:

  export QTDIR=~/kde3.4
  export KDEDIR=~/kde3.4
  export KDEDIRS=~/kde3.4

  export LD_LIBRARY_PATH=~/kde3.4/lib
  export PATH=~/kde3.4/binPATH

Setting KDEHOME too, e.g. "export KDEHOME=~/.kdetest", will tell KDE to save
your settings to this directory and leave default ~/.kde directory unaffected.

On shadow password systems you have to set $(prefix)/bin/kcheckpass SUID root
or SGID shadow - otherwise you will not be able to unlock a locked desktop.

The complete KDE desktop is started with "startkde", most distributions start
it if you set it to the WINDOWMANAGER variable in your shell initializations.


How to get latest version
=========================
You must have the Subversion client installed, then run in a shell:

  svn co svn://anonsvn.kde.org/home/kde/branches/KDE/3.4/konstruct/

If you have no own old gar.conf.mk, copy gar.conf.mk.in over to gar.conf.mk.

To update your "Konstruct" checkout or the released "Konstruct" tarballs, change
to the "konstruct" directory and run "svn up".


License
=======
Redistribution and/or use, with or without modification, is permitted. This
software is without warranty of any kind. The author(s) shall not be liable
in the event that use of the software causes damage.
发表于 2005-5-10 21:40:45 | 显示全部楼层
你可以先安装kdebase
其他的想要再装
如果你懒得看文档
就cd meat;make install吧
那样就会装多些东西
我刚才测试了一下,连接速度还不错
不过现在我已经在用vession 3.4了
下次升级时再用konstruct吧
呵呵
 楼主| 发表于 2005-5-11 21:25:42 | 显示全部楼层
这个又是什么哦??
发表于 2005-5-11 21:51:54 | 显示全部楼层
晕哦
你没看那些鸡肠吗?
这是一个小软件
只要运行它,就可以自动下载KDE3.4的源代码
然后自动检查依赖关系
再编译,默认是安装KDE3.4到你的home/xxx目录下
当然你也可以改目录
不过前提是看那些鸡肠。 ;)
 楼主| 发表于 2005-5-12 10:12:24 | 显示全部楼层
老大.我下了源码包了的,就是安装了的.好像是需要什么qt多少,gcc多少的哦??
发表于 2005-5-12 21:01:51 | 显示全部楼层
http://developer.kde.org/build/k ... ruct-stable.tar.bz2
看到这个连接没?
如果你用这个小东西来帮助安装KDE的话
它会自动帮你安装QT的

btw,如果你连gcc都没有的话
先装一个吧。-_-!
编译源代码全靠它啦
发表于 2005-5-12 21:20:31 | 显示全部楼层
上学期我也试过手工编译安装KDE
既然你已经下了全部源代码
那就讲一下KDE源代码安装过程吧
假定你已经安装好编译的环境:
有gcc,automake,autoconfig等
对了,你还应该安装好X11R6的开发包
由于我的X也是从源代码编译安装的,就不用再装了。不过各个发行版好像都将开发包独立出来了。:(

接下来就是安装过程了
先装QT
QT 稳定版本是3.3
最新版本是4.0 beta 1(还不是稳定版本,不推荐使用)
不过你的mk已经将QT装好了
应该不用再装了
如果提示版本太低的话,
可以先卸载旧版的,装个3.3的

一个基本的KDE需要ARTS,kdelib,kdebase这三个包
顺序:Arts,kdelib,kdebase
不能弄错,否则是无法继续编译下去的

还有一点就是安装好后要设置一些path
可以在附带的文档里找到说明

最后祝你能顺利的安装好KDE
在编译过程中,你可能会遇到很多问题
你要学会自己去找解决方法
确实不懂再问
一旦你编译安装KDE这样一个大工程
你肯定能学会很多东西

good luck! :)
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

每日推荐上一条 /1 下一条

小黑屋|手机版|湖南大学望麓自卑校园传媒 ( 湘ICP备14014987号 )

GMT+8, 2024-11-28 23:28 , Processed in 0.086380 second(s), 21 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表