• frrouting 编译版本问题 与支持python3


    checking directory to use for state file... /var/run/frr
    checking that generated files are newer than configure... done
    configure: creating ./config.status
    config.status: creating Makefile
    Traceback (most recent call last):
      File "/root/frr/python/makefile.py", line 24, in <module>
        mv = MakeReVars(before)
      File "/root/frr/python/makevars.py", line 73, in __init__
        super().__init__()
    TypeError: super() takes at least 1 argument (0 given)
    [root@mpls frr]# ls /var/run/

    换成另外一个版本

    directory and to the config files in the config file directory.
    configure: WARNING: sphinx is missing but required to build documentation ---------可以忽略
    [root@mpls frr-stable-7.3]# 
    [root@mpls ~]# systemctl status frr
    ● frr.service - FRRouting
       Loaded: loaded (/usr/lib/systemd/system/frr.service; ena>
       Active: activating (start) since Sun 2020-07-19 12:47:07>
         Docs: https://frrouting.readthedocs.io/en/latest/setup>
    Cntrl PID: 79923 (frrinit.sh)
       Status: "restarting all"
        Tasks: 4 (limit: 23996)
       Memory: 6.5M
       CGroup: /system.slice/frr.service
               ├─79923 /bin/bash /usr/lib/frr/frrinit.sh start
               ├─79942 /usr/lib/frr/watchfrr -d -F traditional >
               ├─79943 /usr/lib/frr/watchfrr -d -F traditional >
               └─80041 /usr/lib/frr/nhrpd -d -F traditional -A >
    
    lines 1-14
    [root@mpls frr-stable-7.3]# systemctl start frr
    [root@mpls frr-stable-7.3]# python -V
    -bash: python: command not found
    [root@mpls frr-stable-7.3]# python -V
    -bash: python: command not found
    [root@mpls frr-stable-7.3]# ls /usr/bin/py
    pydoc2            pytest-2          python2.7-config
    pydoc2.7          py.test-2.7       python2-config
    pydoc3.6          pytest-2.7        pyvenv-3.6
    pyjwt             python2           
    py.test-2         python2.7         
    [root@mpls frr-stable-7.3]# ls /usr/bin/py

    没有python3
    [root@mpls frr-stable-7.3]# ps -elf | grep frr
    5 S root       79943       1  0  75  -5 - 18847 x64_sy 12:47 ?        00:00:00 /usr/lib/frr/watchfrr -d -F traditional zebra bgpd ripd ripngd ospfd ospf6d isisd babeld pimd nhrpd eigrpd pbrd staticd bfdd fabricd vrrpd
    4 S root       80074    1385  0  80   0 - 74107 -      12:47 pts/0    00:00:00 systemctl status frr
    5 S frr        80174       1  0  75  -5 - 26009 x64_sy 12:48 ?        00:00:00 /usr/lib/frr/nhrpd -d -F traditional -A 127.0.0.1
    0 S root       80211    1497  0  80   0 - 55475 -      12:50 pts/1    00:00:00 grep --color=auto frr
    [root@mpls frr-stable-7.3]#
    [root@mpls frr-stable-7.3]# ps -elf | grep frr
    5 S root       79943       1  0  75  -5 - 18847 x64_sy 12:47 ?        00:00:00 /usr/lib/frr/watchfrr -d -F traditional zebra bgpd ripd ripngd ospfd ospf6d isisd babeld pimd nhrpd eigrpd pbrd staticd bfdd fabricd vrrpd
    4 S root       80074    1385  0  80   0 - 74107 -      12:47 pts/0    00:00:00 systemctl status frr
    5 S frr        80174       1  0  75  -5 - 26009 x64_sy 12:48 ?        00:00:00 /usr/lib/frr/nhrpd -d -F traditional -A 127.0.0.1
    0 S root       80211    1497  0  80   0 - 55475 -      12:50 pts/1    00:00:00 grep --color=auto frr
    [root@mpls frr-stable-7.3]#
    We are pleased to announce FRR 7.4. Thank you to all contributors.
    
    Major additions in this release include:
    
    Segment Routing support for IS-IS
    BGP Graceful Restart
    BGP link bandwidth extended community support
    Full support for Python 3 (all platforms except Centos 6)
    As of this release, we no longer accept patches via our mailing list.
  • 相关阅读:
    HDFS文件系统上传时序图 PB级文件存储时序图
    HDFS 文件系统流程图。PB级文件存储时序图。
    HBase 1.1.2 优化插入 Region预分配
    InputStream、OutputStream
    StringBuffer_StringBuilder
    java中的字符串
    升级的三个因素
    装饰设计模式
    IO字符流之读写缓冲区(BufferedWriter、BufferedReader)
    IO(FileWriter/FileReader)字符流:文件的写入、续写、读
  • 原文地址:https://www.cnblogs.com/dream397/p/13341185.html
Copyright © 2020-2023  润新知