You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@singa.apache.org by bu...@apache.org on 2015/07/23 07:27:29 UTC
svn commit: r959247 - in /websites/staging/singa/trunk/content: ./
docs/installation.html
Author: buildbot
Date: Thu Jul 23 05:27:28 2015
New Revision: 959247
Log:
Staging update by buildbot for singa
Modified:
websites/staging/singa/trunk/content/ (props changed)
websites/staging/singa/trunk/content/docs/installation.html
Propchange: websites/staging/singa/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Thu Jul 23 05:27:28 2015
@@ -1 +1 @@
-1692346
+1692347
Modified: websites/staging/singa/trunk/content/docs/installation.html
==============================================================================
--- websites/staging/singa/trunk/content/docs/installation.html (original)
+++ websites/staging/singa/trunk/content/docs/installation.html Thu Jul 23 05:27:28 2015
@@ -551,20 +551,35 @@ zookeeper Apache zookeeper
<p>After the execution, czmq will be installed in /usr/local while zeromq is installed in /usr/local/zeromq.</p></div>
<div class="section">
<h3><a name="FAQ"></a>FAQ</h3>
-<div class="section">
-<h4><a name="While_compiling_Singa_and_installing_glog_on_max_OS_X_I_get_fatal_error_extslist_file_not_found."></a>While compiling Singa and installing glog on max OS X, I get fatal error “‘ext/slist’ file not found”.</h4>
-<p>You may install glog individually and try command:</p>
+<p>Q1:While compiling Singa and installing glog on max OS X, I get fatal error “‘ext/slist’ file not found”</p>
+<p>A1:You may install glog individually and try command :</p>
<div class="source">
<div class="source"><pre class="prettyprint">$ make CFLAGS='-stdlib=libstdc++' CXXFLAGS='stdlib=libstdc++'
-</pre></div></div></div>
-<div class="section">
-<h4><a name="While_compiling_Singa_I_get_error_SSE2_instruction_set_not_enabled."></a>While compiling Singa, I get error “SSE2 instruction set not enabled”.</h4>
-<p>You can try following command:</p>
+</pre></div></div>
+<p>Q2:While compiling Singa, I get error “SSE2 instruction set not enabled”</p>
+<p>A2:You can try following command:</p>
<div class="source">
<div class="source"><pre class="prettyprint">$ make CFLAGS='-msse2' CXXFLAGS='-msse2'
-</pre></div></div></div></div></div>
+</pre></div></div>
+<p>Q3:I get error “./configure –> cannot find blas_segmm() function” even I run “install.sh OpenBLAS”.</p>
+<p>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:</p>
+
+<div class="source">
+<div class="source"><pre class="prettyprint">$ export LDFLAGS=-L/opt
+</pre></div></div>
+<p>Or as an alternative option, you can also edit LIBRARY_PATH to figure it out.</p>
+<p>Q4:I get ImportError from google.protobuf.internal when I try to import .py files. (ImportError: cannot import name enum_type_wrapper)</p>
+<p>A4:After install google protobuf by “make install”, we should install python runtime libraries. Go to protobuf source directory, run:</p>
+
+<div class="source">
+<div class="source"><pre class="prettyprint">$ cd /PROTOBUF/SOURCE/FOLDER
+$ cd python
+$ python setup.py build
+$ python setup.py install
+</pre></div></div>
+<p>You may need “sudo” when you try to install python runtime libraries in system folder.</p></div></div>
</div>
</div>
</div>