You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@singa.apache.org by wa...@apache.org on 2015/07/23 07:26:58 UTC

svn commit: r1692347 - /incubator/singa/site/trunk/content/markdown/docs/installation.md

Author: wangwei
Date: Thu Jul 23 05:26:57 2015
New Revision: 1692347

URL: http://svn.apache.org/r1692347
Log:
update installation page's FAQ

Modified:
    incubator/singa/site/trunk/content/markdown/docs/installation.md

Modified: incubator/singa/site/trunk/content/markdown/docs/installation.md
URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/content/markdown/docs/installation.md?rev=1692347&r1=1692346&r2=1692347&view=diff
==============================================================================
--- incubator/singa/site/trunk/content/markdown/docs/installation.md (original)
+++ incubator/singa/site/trunk/content/markdown/docs/installation.md Thu Jul 23 05:26:57 2015
@@ -96,13 +96,43 @@ After the execution, czmq will be instal
 
 ### FAQ
 
-#### While compiling Singa and installing glog on max OS X, I get fatal error "'ext/slist'  file not found".
-You may install glog individually and try command:
+Q1:While compiling Singa and installing glog on max OS X, I get fatal error
+"'ext/slist' file not found"
+
+A1:You may install glog individually and try command :
 
     $ make CFLAGS='-stdlib=libstdc++' CXXFLAGS='stdlib=libstdc++'
 
-#### While compiling Singa, I get error "SSE2 instruction set not enabled".
-You can try following command:
+
+Q2:While compiling Singa, I get error "SSE2 instruction set not enabled"
+
+A2:You can try following command:
 
     $ make CFLAGS='-msse2' CXXFLAGS='-msse2'
 
+Q3:I get error "./configure --> cannot find blas_segmm() function" even I
+run "install.sh OpenBLAS".
+
+A3:Since OpenBLAS library is installed in /opt folder by default or
+/other/folder by your preference, you may edit your environment settings.
+You need add its default installation directories before linking, just
+run:
+
+    $ export LDFLAGS=-L/opt
+
+Or as an alternative option, you can also edit LIBRARY_PATH to figure it out.
+
+
+Q4:I get ImportError from google.protobuf.internal when I try to import .py
+files. (ImportError: cannot import name enum_type_wrapper)
+
+A4:After install google protobuf by "make install", we should install python
+runtime libraries. Go to protobuf source directory, run:
+
+    $ cd /PROTOBUF/SOURCE/FOLDER
+    $ cd python
+    $ python setup.py build
+    $ python setup.py install
+
+You may need "sudo" when you try to install python runtime libraries in
+system folder.