新增ldpd的例子

ldpd的例子

此时在bakeconf.xml增加对应的拷贝语句,将ldpd拷贝到bin_dce下。


这是拷贝时候的错误,


OK
 >> Building quagga -  pre_installation : cd /home/z/new/dce/source/quagga; CFLAGS='-fPIC -g' LDFLAGS='-pie -rdynamic' ./configure --disable-shared --enable-static --disable-user --disable-group --disable-capabilities --enable-multipath=0 --enable-isisd --enable-mpls=linux --enable-ldpd --enable-rsvpd --enable-backtrace=no --prefix=/home/z/new/dce/build

 execute: /home/z/new/dce/source/quagga ['mkdir', '/home/z/new/dce/source/quagga/objdir'].

Subprocess failed with error 1: Operation not permitted, ['mkdir', '/home/z/new/dce/source/quagga/objdir']
 execute: /home/z/new/dce/source/quagga ['make'].

 execute: /home/z/new/dce/source/quagga ['make', 'install', '-n'].

sh: -c: line 0: syntax error near unexpected token `;;'
sh: -c: line 0: `{ cd /home/z/new/dce/source/quagga; mkdir /home/z/new/dce/build/bin_dce; /bin/cp zebra/zebra /home/z/new/dce/build/bin_dce;/bin/cp ripd/ripd /home/z/new/dce/build/bin_dce;/bin/cp ripngd/ripngd /home/z/new/dce/build/bin_dce;/bin/cp ospfd/ospfd /home/z/new/dce/build/bin_dce;/bin/cp ospf6d/ospf6d /home/z/new/dce/build/bin_dce;/bin/cp bgpd/bgpd /home/z/new/dce/build/bin_dce;/bin/cp isisd/isisd /home/z/new/dce/build/bin_dce;/bin/cp ldpd/ldpd /home/z/new/dce/build/bin_dce;; } 2>&1'

解决的方法是将最后那个;去掉。

你可能感兴趣的:(新增ldpd的例子)