CentOS下安装gnustep, gorm and project center

来源:互联网 发布:can数据帧结构 编辑:程序博客网 时间:2024/05/16 19:18

1. check if install gcc and gcc-objc

> yum list *gcc*

 

2. if no gcc

> yum install gcc

 

3. if no gcc-objc

> yum install gcc-objc

when you install gcc-objc, it will also install "libobject"

 

 

http://wwwmain.gnustep.org/resources/downloads.php provides gnustep all downloads.

 

4. download "GNUstep Startup"and install it

> wgethttp://ftpmain.gnustep.org/pub/gnustep/core/gnustep-startup-0.25.0.tar.gz

> tar -zxvf gnustep-startup-0.25.0.tar.gz

> cd gnustep-startup-0.25.0

> less README

> less INSTALL

 

#README中会提示你通过run "./InstallGNUstep"来安装

#执行"InstallGNUstep"script的过程中,会首先check你的linux系统是否具备了所有GNUstep所依赖的module/software,然后输出一个check reporttell you infoabout error and warning关于你缺少哪些module,以及你在安装中可能出现的问题。如果有error出现,那么安装就不会继续。你必须先fix这些error才行。

# 通常的error都是缺少module,那么我们可以根据error提示,通过yum来查询和安装相关module要注意的是,有些module只安装production version并不足够,还需要安装devel version才行

# 另外,在安装过程中,有些error可以从README中找到解决方法。例如,我已经安装了”libffi”,但GNUstepinstall依然提示找不到libffiREADME里有说要添加—ffi=libffi

 

> ./InstallGNUstep

After gnustep installation, it will install gnustep Make,Base, Gui and Back.

 

5. download gorm and install it

> wgethttp://ftpmain.gnustep.org/pub/gnustep/dev-apps/gorm-1.2.12.tar.gz

> tar -zxvf gorm-1.2.12.tar.gz

> cd gorm-1.2.12

#set environment!!没有下面这句,则执行make install会出错

> . /usr/GNUstep/System/Library/Makefiles/GNUstep.sh

> make install

 

6. download project center and install it

> wgethttp://ftpmain.gnustep.org/pub/gnustep/dev-apps/ProjectCenter-0.6.0.tar.gz

> tar -zxvf ProjectCenter-0.6.0.tar.gz

> cd ProjectCenter-0.6.0

> make install

 

7. run gorm

> cd gormxxx

if not set environment, execute following line command

#set environment!!没有下面这句,则执行make install会出错

> . /usr/GNUstep/System/Library/Makefiles/GNUstep.sh

> ./Gorm.app/Gorm

 

8. run project center

> cd Projectcenterxxx

#set environment!!没有下面这句,则执行make install会出错

> . /usr/GNUstep/System/Library/Makefiles/GNUstep.sh

> ./ProjectCenter.app/ProjectCenter

 

原创粉丝点击