开源无线网络-OSRAN

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 1486|回复: 1

SMF安装报错

[复制链接]

3

主题

4

帖子

61

积分

注册会员

Rank: 2

积分
61
发表于 2021-4-13 22:10:52 | 显示全部楼层 |阅读模式
大家好,我在安装部署SMF网元的时候,出现了安装失败的情况。具体log在附件中。
希望各位论坛会员能够给出一些建议或者解决方法,感谢大家的帮助!

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
回复

使用道具 举报

1

主题

6

帖子

58

积分

注册会员

Rank: 2

积分
58
发表于 2021-5-7 16:56:06 | 显示全部楼层
请问你在安装SMF依赖时,nghttp2有报错吗?
make[2]: 离开目录“/home/ly/oai-cn5g-smf/build/ext/nghttp2/examples”
Making all in python
make[2]: 进入目录“/home/ly/oai-cn5g-smf/build/ext/nghttp2/python”
cython -3 -o nghttp2.c nghttp2.pyx
Traceback (most recent call last):
  File "/usr/bin/cython", line 8, in <module>
    main(command_line = 1)
  File "/usr/lib/python3/dist-packages/Cython/Compiler/Main.py", line 720, in main
    result = compile(sources, options)
  File "/usr/lib/python3/dist-packages/Cython/Compiler/Main.py", line 695, in compile
    return compile_multiple(source, options)
  File "/usr/lib/python3/dist-packages/Cython/Compiler/Main.py", line 666, in compile_multiple
    context = options.create_context()
  File "/usr/lib/python3/dist-packages/Cython/Compiler/Main.py", line 589, in create_context
    return Context(self.include_path, self.compiler_directives,
  File "/usr/lib/python3/dist-packages/Cython/Compiler/Main.py", line 75, in __init__
    from . import Builtin, CythonScope
  File "/usr/lib/python3/dist-packages/Cython/Compiler/CythonScope.py", line 5, in <module>
    from .UtilityCode import CythonUtilityCode
  File "/usr/lib/python3/dist-packages/Cython/Compiler/UtilityCode.py", line 3, in <module>
    from .TreeFragment import parse_from_strings, StringParseContext
  File "/usr/lib/python3/dist-packages/Cython/Compiler/TreeFragment.py", line 17, in <module>
    from .Visitor import VisitorTransform
  File "/usr/lib/python3/dist-packages/Cython/Compiler/Visitor.py", line 15, in <module>
    from . import ExprNodes
  File "/usr/lib/python3/dist-packages/Cython/Compiler/ExprNodes.py", line 2844
    await = None
          ^
SyntaxError: invalid syntax
Makefile:557: recipe for target 'nghttp2.c' failed
make[2]: *** [nghttp2.c] Error 1
make[2]: 离开目录“/home/ly/oai-cn5g-smf/build/ext/nghttp2/python”
Makefile:569: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: 离开目录“/home/ly/oai-cn5g-smf/build/ext/nghttp2”
Makefile:478: recipe for target 'all' failed
make: *** [all] Error 2
/tmp
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|OpenXG  

Copyright © 2001-2013 Comsenz Inc.Template by Comsenz Inc.All Rights Reserved.

Powered by Discuz!X3.2

快速回复 返回顶部 返回列表