<div dir="ltr"><span style="font-size:12.8px">Hi all,</span><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I have problem with ndn-cxx library building, </div><div style="font-size:12.8px">when use:</div><div style="font-size:12.8px">./waf configure<br><div>Setting top to                           : /home/kim/ndn-cxx</div><div>Setting out to                           : /home/kim/ndn-cxx/build</div><div>Building static library                  : no</div><div>Building shared library                  : yes</div><div>Checking for 'g++' (C++ compiler)        : /usr/bin/g++</div><div>Checking supported CXXFLAGS              : -std=c++11</div><div>Checking supported CXXFLAGS              : -pedantic -Wall -O2 -g</div><div>Checking for program 'doxygen'           : /usr/bin/doxygen</div><div>Checking for program 'tar'               : /usr/bin/tar</div><div>Checking for program 'sphinx-build'      : /usr/local/bin/sphinx-build</div><div>Checking for std::is_default_constructible : yes</div><div>Checking for std::is_nothrow_move_constructible : yes</div><div>Checking for std::is_nothrow_move_assignable    : yes</div><div>Checking for friend typename-specifier          : yes</div><div>Checking for override and final specifiers      : yes</div><div>Checking for std::to_string                     : yes</div><div>Checking for std::vector::insert with const_iterator : no</div><div>Checking for program 'sh'                            : /usr/bin/sh</div><div>Checking for library pthread                         : yes</div><div>Checking for library rt                              : yes</div><div>Checking for function getpass                        : yes</div><div>Checking for rtnetlink                               : yes</div><div>Checking for program 'pkg-config'                    : /usr/bin/pkg-config</div><div>Checking for 'sqlite3'                               : yes</div><div>Checking Crypto++ lib                                : 562</div><div>Checking if CryptoPP library works                   : yes</div><div>Checking boost includes                              : 1.53.0</div><div>Checking boost libs                                  : ok</div><div>Checking for boost linkage                           : ok</div><div>'configure' finished successfully (4.702s)</div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">./waf</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I get next:</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><div>[ 28/140] Processing sphinx_build [man]: docs/manpages/ndn-client.conf.rst docs/manpages/ndnsec-cert-dump.rst docs/manpages/ndnsec-cert-gen.rst docs/manpages/ndnsec-cert-install.rst docs/manpages/ndnsec-cert-revoke.rst docs/manpages/ndnsec-delete.rst docs/manpages/ndnsec-dsk-gen.rst docs/manpages/ndnsec-export.rst docs/manpages/ndnsec-get-default.rst docs/manpages/ndnsec-import.rst docs/manpages/ndnsec-key-gen.rst docs/manpages/ndnsec-list.rst docs/manpages/ndnsec-set-acl.rst docs/manpages/ndnsec-set-default.rst docs/manpages/ndnsec-sign-req.rst docs/manpages/ndnsec-unlock-tpm.rst docs/manpages/ndnsec.rst docs/manpages/tlvdump.rst docs/conf.py -> build/docs/manpages/ndnsec.1 build/docs/manpages/ndnsec-cert-dump.1 build/docs/manpages/ndnsec-cert-gen.1 build/docs/manpages/ndnsec-cert-revoke.1 build/docs/manpages/ndnsec-cert-instal.1 build/docs/manpages/ndnsec-delete.1 build/docs/manpages/ndnsec-export.1 build/docs/manpages/ndnsec-get-default.1 build/docs/manpages/ndnsec-import.1 build/docs/manpages/ndnsec-key-gen.1 build/docs/manpages/ndnsec-list.1 build/docs/manpages/ndnsec-set-acl.1 build/docs/manpages/ndnsec-set-default.1 build/docs/manpages/ndnsec-sign-req.1 build/docs/manpages/ndnsec-unlock-tpm.1 build/docs/manpages/ndnsec-validator.conf.5 build/docs/manpages/tlvdump.1 build/docs/manpages/ndn-client.conf.5</div><div><br></div><div>21:45:56 runner (exec) /usr/local/bin/sphinx-build -D version=0.4.0-beta1 -D release=0.4.0-beta1 -q -b man -d /home/kim/ndn-cxx/build/docs/manpages/.doctrees /home/kim/ndn-cxx/docs /home/kim/ndn-cxx/build/docs/manpages</div><div>21:45:56 runner_env kw={'shell': False, 'cwd': '/home/kim/ndn-cxx/build', 'env': None}</div><div><br></div><div>Exception occurred:</div><div>  File "/usr/local/lib/python3.4/site-packages/sphinx/application.py", line 429, in setup_extension</div><div>    mod = __import__(extension, None, None, ['setup'])</div><div>  File "/home/kim/ndn-cxx/docs/redmine_issue.py", line 53</div><div>    except AttributeError, err:</div><div>                         ^</div><div>SyntaxError: invalid syntax</div><div>The full traceback has been saved in /tmp/sphinx-err-roag11_6.log, if you want to report the issue to the developers.</div><div>Please also report this if it was a user error, so that a better error message can be provided next time.</div><div>A bug report can be filed in the tracker at <<a href="https://github.com/sphinx-doc/sphinx/issues" target="_blank">https://github.com/sphinx-doc/sphinx/issues</a>>. Thanks!</div><div><br></div><div>Waf: Leaving directory `/home/kim/ndn-cxx/build'</div><div>  File "./waf", line 165, in <module></div><div>    Scripting.waf_entry_point(cwd, VERSION, wafdir)</div><div>  File "/home/kim/ndn-cxx/.waf-1.8.9-849024857bd41c3cf8e87dc01ecf79b0/waflib/Scripting.py", line 103, in waf_entry_point</div><div>    run_commands()</div><div>  File "/home/kim/ndn-cxx/.waf-1.8.9-849024857bd41c3cf8e87dc01ecf79b0/waflib/Scripting.py", line 164, in run_commands</div><div>    ctx=run_command(cmd_name)</div><div>  File "/home/kim/ndn-cxx/.waf-1.8.9-849024857bd41c3cf8e87dc01ecf79b0/waflib/Scripting.py", line 155, in run_command</div><div>    ctx.execute()</div><div>  File "/home/kim/ndn-cxx/.waf-1.8.9-849024857bd41c3cf8e87dc01ecf79b0/waflib/Scripting.py", line 366, in execute</div><div>    return execute_method(self)</div><div>  File "/home/kim/ndn-cxx/.waf-1.8.9-849024857bd41c3cf8e87dc01ecf79b0/waflib/Build.py", line 106, in execute</div><div>    self.execute_build()</div><div>  File "/home/kim/ndn-cxx/.waf-1.8.9-849024857bd41c3cf8e87dc01ecf79b0/waflib/Build.py", line 113, in execute_build</div><div>    self.compile()</div><div>  File "/home/kim/ndn-cxx/.waf-1.8.9-849024857bd41c3cf8e87dc01ecf79b0/waflib/Tools/errcheck.py", line 124, in check_compile</div><div>    ret=self.orig_compile()</div><div>  File "/home/kim/ndn-cxx/.waf-1.8.9-849024857bd41c3cf8e87dc01ecf79b0/waflib/Build.py", line 184, in compile</div><div>    raise Errors.BuildError(self.producer.error)</div><div>  File "/home/kim/ndn-cxx/.waf-1.8.9-849024857bd41c3cf8e87dc01ecf79b0/waflib/Errors.py", line 25, in __init__</div><div>    WafError.__init__(self,self.format_error())</div><div><br></div><div>Build failed</div><div> -> task in '' failed (exit status 1):</div><div>        {task 19312784: sphinx_build ndn-client.conf.rst,ndnsec-cert-dump.rst,ndnsec-cert-gen.rst,ndnsec-cert-install.rst,ndnsec-cert-revoke.rst,ndnsec-delete.rst,ndnsec-dsk-gen.rst,ndnsec-export.rst,ndnsec-get-default.rst,ndnsec-import.rst,ndnsec-key-gen.rst,ndnsec-list.rst,ndnsec-set-acl.rst,ndnsec-set-default.rst,ndnsec-sign-req.rst,ndnsec-unlock-tpm.rst,ndnsec.rst,tlvdump.rst,conf.py -> ndnsec.1,ndnsec-cert-dump.1,ndnsec-cert-gen.1,ndnsec-cert-revoke.1,ndnsec-cert-instal.1,ndnsec-delete.1,ndnsec-export.1,ndnsec-get-default.1,ndnsec-import.1,ndnsec-key-gen.1,ndnsec-list.1,ndnsec-set-acl.1,ndnsec-set-default.1,ndnsec-sign-req.1,ndnsec-unlock-tpm.1,ndnsec-validator.conf.5,tlvdump.1,ndn-client.conf.5}</div><div>['/usr/local/bin/sphinx-build', '-D', 'version=0.4.0-beta1', '-D', 'release=0.4.0-beta1', '-q', '-b', 'man', '-d', '/home/kim/ndn-cxx/build/docs/manpages/.doctrees', '/home/kim/ndn-cxx/docs', '/home/kim/ndn-cxx/build/docs/manpages']</div><div>  File "./waf", line 165, in <module></div><div>        Scripting.waf_entry_point(cwd, VERSION, wafdir)</div><div>  File "/home/kim/ndn-cxx/.waf-1.8.9-849024857bd41c3cf8e87dc01ecf79b0/waflib/Scripting.py", line 107, in waf_entry_point</div><div>        Logs.error(e.msg)</div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">As I understand that there is some problem with python platform but I don't really understand how can I specify which version of python should be used. Can somebody explain me this? </div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">When I by force change the sphinx-build location in "<span style="color:rgb(0,0,0);white-space:pre-wrap">build/c4che/_cache.py</span>" (I do this just to check) and it builds ok.  </div><div style="font-size:12.8px"><br></div><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><span style="color:rgb(0,0,0);font-family:Arial,Tahoma,Verdana,sans-serif;font-size:13.3333px;line-height:18.2px">Best Regards,</span><br><div><span style="color:rgb(0,0,0);font-family:Arial,Tahoma,Verdana,sans-serif;font-size:13.3333px;line-height:18.2px">Alexander Ni</span></div><div><span style="color:rgb(0,0,0);font-family:Arial,Tahoma,Verdana,sans-serif;font-size:13.3333px;line-height:18.2px"><br></span></div></div></div></div></div></div>
</div>