SUSE Linux Enterprise Server 11 SP3源码编译安装R-3.2.2过程详解。suse上安装R,过程艰难,文章里的源码包版本都是自己安装时候所用的版本,不一定必须是该版本。

整体依赖关系:

cairo依赖于X11 , pango依赖于cairo

安装顺序X11 -> cairo -> pango

1.安装编译器

先看看R网站的一些说明:

B.6 Using FORTRAN:

.................

To compile R, you need a FORTRAN compiler.

The default is to search for f95, fort, xlf95, ifort,ifc, efc, pgf95 lf95, gfortran, ftn, g95, f90,

xlf90, pghpf, pgf90, epcf90, g77, f77, xlf, frt,pgf77, cf77, fort77, fl32, af77 (in that order)56,

and use whichever is found first; if none is found, Rcannot be compiled. However,

if CC is gcc, the matching FORTRAN compiler (g77 forgcc 3 and gfortran for gcc 4) is used if available

suse默认是没有gfortran编辑器,所以需要先安装它

xz -d gcc-trunk.tar.xz

tar -xvf gcc-trunk.tar -C /opt

vi /etc/profile

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/gcc-trunk/lib64:/opt/gcc-trunk/lib

exportLIBRARY_PATH=$LIBRARY_PATH:/opt/gcc-trunk/lib:/opt/gcc-trunk/lib64

export PATH=$PATH:/opt/gcc-trunk/bin

source /etc/profile

which gfortran

/opt/gcc-trunk/bin/gfortran

还需要安装gcc-c++

zypper in gcc-c++

2.安装Xorg-X11

安装cairo需要xlib支持,所有需要X11支持,编译R需要X11的libX11和libXt

2.1安装libX11-1.6.5

依赖关系(a,b-> c  c依赖于a,b):

(libpthread-stubs-0.3,xcb-proto-1.12,libXau-1.0.4) -> libxcb-1.12

(util-macros-1.19.1,kbproto-1.0.4,xproto-7.0.23,inputproto-2.3.2,xextproto-7.0.3)-> libX11-1.6.5

1)安装util-macros-1.19.1

./configure --prefix=/usr/local

make install

2)安装kbproto-1.0.4

./configure --prefix=/usr/local

make install

3)安装xproto-7.0.23

./configure --prefix=/usr/local

make

make install

4)安装inputproto-2.3.2

./configure --prefix=/usr/local

make

make install

5)安装xextproto-7.0.3

./configure --prefix=/usr/local

make install

6)安装libpthread-stubs-0.3

./configure --prefix=/usr/local

make

make install

7)安装xcb-proto-1.12

./configure --prefix=/usr/local

make

make install

8)安装libXau-1.0.4

./configure --prefix=/usr/local

make

make install

9)安装libxcb-1.12

./configure --prefix=/usr/local

make

make install

10)安装libX11-1.6.5

2.2安装libXt-1.1.5

依赖关系(a,b-> c  c依赖于a,b)

(xtrans-1.3.5,libice_1.0.8,libsm_1.2.1) -> libXt-1.1.5

1)安装xtrans-1.3.5

./configure --prefix=/usr/local

make

make install

2)安装libICE-1.0.8

./configure --prefix=/usr/local

make

make install

3)安装libsm_1.2.1

./configure --prefix=/usr/local

make

make install

4)安装libXt-1.1.5

./configure --prefix=/usr/local

make

make install

3.安装cairo-1.14.8

R网站的说明:

A.2 Useful libraries and programs:

..............

The ‘modern’ version of the X11(), jpeg(), png() andtiff() graphics devices uses the cairo and (optionally) Pango libraries.

Cairo version 1.2.0 or later is required.

Pango needs to be at least version 1.10, and 1.12 isthe earliest version we have tested.

(For Fedora users we believe the pango-devel RPM andits dependencies suffic

linux suse11 sp3安装,SUSE Linux Enterprise Server 11 SP3源码安装R过程相关推荐

  1. linux suse11 sp3安装,redis服务器安装-SuSE Linux Enterprise Server 11 SP3

    一.下载 官网下载,可自选版本,点击进入下载,这里下载了redis-3.2.4 放到 /root/usr/local/redis/ 目录下 二.编译 1. 执行make编译redis tar -zxz ...

  2. linux应用之Lamp(apache+mysql+php)的源码安装(centos)

    Linux+Apache+Mysql+Php源码安装 一.安装环境: 系统:Centos6.5x64 Apache: httpd-2.4.10.tar.gz Mysql: mysql-5.6.20-l ...

  3. 软件管理----安装软件、rpm、 yum、源码安装 卸载软件

    目录 一.rpm 介绍 1.1rpm 安装 1.2各种查询 二.yum 方式管理文件 2.1yum 操作 2.2更换网络yum源 --aliyun 三.制作本地yum 源方式 3.1 挂载镜像 3.2 ...

  4. suse linux系统备份,suse linux enterprise server 11 sp3 版克隆安装ebs r12.1.3注意事项

    suse 11版操作系统比较少用,但是目前几个云服务商提供的操作系统里面,只有suse是oracle官方认证的,所以最近几个采用云服务器的ebs环境,操作系统安装的都是suse 11版,安装过程里,存 ...

  5. linux suse11安装包,SUSE Linux 11系统rpm包离线安装GCC

    SUSE Linux 11系统rpm包离线安装GCC 1.问题显示 编译失败 python2.6环境下编译pycrypto-2.6.1 src/hash_template.c:360: warning ...

  6. 红帽 linux 安装gns3,GNS3 on Centos / Redhat / Fedora源码安装

    1.安装必要的软件包 yum install python python-devel xorg-x11-proto-devel libXext-devel yum install gcc-c++ 2. ...

  7. centos5.8安装mysql5.3_CentOS 5.8 64位 源码安装mysql5.5.28

    全新以最小化包安装了64位的CentOS5.8系统 mysql5.5数据库v5.5.28 ×××地址:http://cdn.mysql.com/Downloads/MySQL-5.5/mysql-5. ...

  8. mysql源码安装都能装什么模块_源码安装后,添加其他模块

    如上版本安装cacti后,访问显示错误如下: Error The following PHP extensions are missing: * sockets Please install thos ...

  9. mysql5.6.30源码安装_Centos7.1 for MySQL5.6.30源码安装及多实例配置

    预备工作: OS:Centos7.1 DATABASE: mysql-5.6.30.tar.gz wget http://ftp.ntu.edu.tw/MySQL/Downloads/MySQL-5. ...

最新文章

  1. 中文速读微生物组(宏基因组)前沿文献——这个可以有
  2. 第十六届智能车竞赛过程中都发生了什么:怎么感到今年更难呢?
  3. Python3比较运算符
  4. Taro+react开发(31)微信小程序都是要通过编译的
  5. Maximum Flow(2017 ACM-ICPC 亚洲区(西安赛区)网络赛 E)
  6. canny算子_Canny边缘检测算法
  7. linux关机_3.5 开关机命令及7个运行级别《LINUX-centos7-操作系统入门到精通》
  8. 阶段3 3.SpringMVC·_04.SpringMVC返回值类型及响应数据类型_5 响应之使用forward和redirect进行页面跳转...
  9. 如何在windows下把硬盘格式化成EXT3格式?
  10. 5.5.49mysql
  11. linux能远程开机么,Linux下如何实现远程开机
  12. 王之泰《面向对象程序设计(java)》课程学习总结
  13. 群晖Docker部署Alist V2
  14. shell编程之正则表达式与文本处理器
  15. 安装配置DOSBox
  16. mysql 备份 恢复
  17. cmd无法加载命令解决方法
  18. 当日、昨日、当周、本周、当月、上个月获取方法
  19. Unity之文字提示动画
  20. 学习日志[自我监督与复习用]

热门文章

  1. 若依分离版的文件上传
  2. vim 高级应用 原文地址 http://www.2maomao.com/blog/wp-content/uploads/vim_tips.txt
  3. 也谈谈人人网的不正当竞争
  4. 港股火爆吸引北水南下,拿下投资客要靠互联网思维?
  5. python中的const_Python实现Const详解
  6. pythonproperty装饰器_实例讲解Python编程中@property装饰器的用法
  7. 【转】s3c2410 NandFlash K9F1208U0A/K9F1208U0B的读取操作
  8. yoink for mac版使用图文实用技巧~
  9. php带数据库的网页计数,php网页计数器的例子(文本与数据库)
  10. IPFS如何构建下一代互联网?