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 &#x201c;&#x2018;ext/slist&#x2019; file not found&#x201d;.</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 &#x201c;&#x2018;ext/slist&#x2019; file not found&#x201d;</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 &#x201c;SSE2 instruction set not enabled&#x201d;.</h4>
-<p>You can try following command:</p>
+</pre></div></div>
+<p>Q2:While compiling Singa, I get error &#x201c;SSE2 instruction set not enabled&#x201d;</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 &#x201c;./configure &#x2013;&gt; cannot find blas_segmm() function&#x201d; even I run &#x201c;install.sh OpenBLAS&#x201d;.</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 &#x201c;make install&#x201d;, 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 &#x201c;sudo&#x201d; when you try to install python runtime libraries in system folder.</p></div></div>
                   </div>
             </div>
           </div>