第一部分:参考一下内容。将sudo 替换成zypper即可。

--------------------------------------------这部分参照以下官网内容-------------------------------------------------------------------------------

RHEL / Fedora / CentOS Installation

General dependencies

sudo yum install protobuf-devel leveldb-devel snappy-devel opencv-devel boost-devel hdf5-devel

Remaining dependencies, recent OS

sudo yum install gflags-devel glog-devel lmdb-devel

Remaining dependencies, if not found

# glog
wget https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/google-glog/glog-0.3.3.tar.gz
tar zxvf glog-0.3.3.tar.gz
cd glog-0.3.3
./configure
make && make install
# gflags
wget https://github.com/schuhschuh/gflags/archive/master.zip
unzip master.zip
cd gflags-master
mkdir build && cd build
export CXXFLAGS="-fPIC" && cmake .. && make VERBOSE=1
make && make install
# lmdb
git clone https://github.com/LMDB/lmdb
cd lmdb/libraries/liblmdb
make && make install

Note that glog does not compile with the most recent gflags version (2.1), so before that is resolved you will need to build with glog first.

CUDA: Install via the NVIDIA package instead of yum to be certain of the library and driver versions. Install the library and latest driver separately; the driver bundled with the library is usually out-of-date. + CentOS/RHEL/Fedora:

BLAS: install ATLAS by sudo yum install atlas-devel or install OpenBLAS or MKL for better CPU performance. For the Makefile build, uncomment and set BLAS_LIB accordingly as ATLAS is usually installed under /usr/lib[64]/atlas).

Python (optional): if you use the default Python you will need to sudo yum install the python-devel package to have the Python headers for building the pycaffe wrapper.

Continue with compilation.

-------------------------------------------------------注意事项-------------------------------------------------------------------

问题1: numpy开发包可能会缺少,也就是没有头文件

sudo  zypper  install  python-numpy-devel     这个以外的给力了。  在ubuntu和fedora上都没有这个情况的。

问题2: gflags 需要手动下载安装。即不能使用zypper大法。

---------------------------------------------附件:部分细节------------

完全按照第一部分是不行的。有些包需要有些名称上或其他的安装的变化。

sudo  zypper  install  python-numpy-devel

sudo   zypper  install   leveldb-devel snappy-devel opencv-devel boost-devel hdf5-devel

sudo  zypper  install    atlas-devel

sudo  zypper  install    atlas*       点N

sudo  zypper  install    *atlas*  点N

sudo  zypper  install  python  python-devel   python-numpy  python-scipy  python-sklearn   其中sklearn不能装

wget https://github.com/schuhschuh/gflags/archive/master.zip

sudo  zypper  install  protobuf-devel
sudo  zypper  install  glog-devel   lmdb-devel

------------------------------------又附结果:----------------------------------

[100%] Built target classification
[100%] Built target convert_cifar_data
[100%] Built target convert_mnist_data
[100%] Built target convert_mnist_siamese_data
[100%] Building CXX object python/CMakeFiles/pycaffe.dir/caffe/_caffe.cpp.o
Linking CXX shared library ../lib/_caffe.so
Creating symlink /home/sea/caffe-master/python/caffe/_caffe.so -> /home/sea/caffe-master/build/lib/_caffe.so
[100%] Built target pycaffe

-- Installing: /home/sea/caffe-master/build/install/python/caffe/io.py
-- Installing: /home/sea/caffe-master/build/install/python/caffe/net_spec.py
-- Installing: /home/sea/caffe-master/build/install/python/caffe/pycaffe.py
-- Installing: /home/sea/caffe-master/build/install/python/caffe/proto
-- Installing: /home/sea/caffe-master/build/install/python/caffe/proto/__init__.py
-- Installing: /home/sea/caffe-master/build/install/python/caffe/proto/caffe_pb2.py
-- Installing: /home/sea/caffe-master/build/install/python/caffe/_caffe.so
-- Set runtime path of "/home/sea/caffe-master/build/install/python/caffe/_caffe.so" to "/home/sea/caffe-master/build/install/lib:/usr/local/cuda/lib64"
sea@linux-61bx:~/caffe-master/build> ls

最新文章

  1. ExtJS 项目准备工作(一)
  2. python模块:base64
  3. Leetcode 382. Linked List Random Node
  4. 修改UINavigationController返回按钮颜色
  5. Active Record快速入门指南
  6. 位图引起的内存溢出OutOfMemory解决方案
  7. JavaScript性能优化:度量、监控与可视化1
  8. Linux系统学习笔记:文件I/O
  9. 十分钟释疑Oracle中“小表超慢”之谜(SQL调优/SQL优化)
  10. Spring Boot入门-快速搭建web项目
  11. Oracle database link中查询会开启事务吗?
  12. yo install generator-gulp-react遇到UNMET PEER DEPENDENCY问题
  13. 【转】fiddler抓包时出现了tunnel to ......443 解密HTTPS数据
  14. STM32 CRC-32 Calculator Unit
  15. Bootstrap 3之美03-独立行,文字环绕,图片自适应,隐藏元素
  16. [WCF安全2]使用wsHttpBinding构建UserName授权的WCF应用程序,非SSL
  17. mem_fun与mem_fun_ref的区别
  18. 【2018沈阳赛区网络预选赛J题】Ka Chang【分块+DFS序+线段树】
  19. centos 查看mysql数据库命令
  20. myeclipse创建的项目发布不了文档

热门文章

  1. 备忘 CSS字体中英文名称对照表
  2. NBOJv2——Problem 1037: Wormhole(map邻接表+优先队列SPFA)
  3. JS实现并集,交集和差集
  4. nvm、node、npm安装以及pycharm配置eslint
  5. 03深入理解C指针之---变量与内存
  6. python print 在命令行打印带颜色
  7. QQ客服代码,支持临时会话
  8. LeetCode OJ--Add Two Numbers
  9. Codeforces 946 B.Weird Subtraction Process
  10. IDEA重新打jar包时报错MANIFEST.MF already exists in VFS