[Xorp-hackers] [greearb/xorp.ct] c52472: xorp_install: Use --system and --no-create-home i...
noreply at github.com
noreply at github.com
Tue Sep 27 09:41:18 PDT 2011
Branch: refs/heads/master
Home: https://github.com/greearb/xorp.ct
Commit: c5247286fe2ae67a908203a1b73c748a425e62cc
https://github.com/greearb/xorp.ct/commit/c5247286fe2ae67a908203a1b73c748a425e62cc
Author: Igor Maravic <igorm at etf.rs>
Date: 2011-09-27 (Tue, 27 Sep 2011)
Changed paths:
M xorp/xorp_install.bash
Log Message:
-----------
xorp_install: Use --system and --no-create-home if supported.
Signed-off-by: Igor Maravic <igorm at etf.rs>
Commit: 0f9516863322e2544253afc46e6424d6629505f7
https://github.com/greearb/xorp.ct/commit/0f9516863322e2544253afc46e6424d6629505f7
Author: Igor Maravic <igorm at etf.rs>
Date: 2011-09-27 (Tue, 27 Sep 2011)
Changed paths:
M xorp/SConstruct
Log Message:
-----------
Sconstruct: Remove un-needed semicolons.
Signed-off-by: Igor Maravic <igorm at etf.rs>
Commit: 1b11ce80ad1f32f0ced3d746102656c33415859f
https://github.com/greearb/xorp.ct/commit/1b11ce80ad1f32f0ced3d746102656c33415859f
Author: Igor Maravic <igorm at etf.rs>
Date: 2011-09-27 (Tue, 27 Sep 2011)
Changed paths:
M xorp/SConstruct
Log Message:
-----------
SConstruct: Support debug_xrldb=True option.
Replace /xorp/xrls folder with /xrl/targets
When I did "scons install debug_xrldb=True" rtrmngr was looking for
.xrls files in folder /xrl/targets not in folder /xorp/xrls.
This is the error when I run /usr/local/xorp/sbin/xorp_rtrmgr
...
[ 2011/09/26 10:54:08.836134 ERROR xorp_rtrmgr:13960 RTRMGR rtrmgr/main_rtrmgr.cc:260 run ]
Shutting down due to an init error: Error reading XRL directory /usr/local/xorp/share/xorp/xrl/targets: No such file or directory
...
Signed-off-by: Igor Maravic <igorm at etf.rs>
Commit: 8b3f50da0535d0335d1ef67fbdff87329dabcbff
https://github.com/greearb/xorp.ct/commit/8b3f50da0535d0335d1ef67fbdff87329dabcbff
Author: Igor Maravic <igorm at etf.rs>
Date: 2011-09-27 (Tue, 27 Sep 2011)
Changed paths:
M xorp/rtrmgr/xrldb.cc
M xorp/rtrmgr/xrldb.hh
Log Message:
-----------
rtrmgr: Support compiling with debug_xrldb=True option.
When I compile with
scons debug_xrldb=True
first error is:
g++ -o obj/i686-pc-linux-gnu/rtrmgr/template_commands.o -c -O1 -g3 -Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align -Woverloaded-virtual -ftemplate-depth-25 -pipe -DXRL_PF=120 -D_FORTIFY_SOURCE=0 -DDEBUG_XRLDB=1 -Iobj/i686-pc-linux-gnu -I. -I. rtrmgr/template_commands.cc
rtrmgr/template_commands.cc: In member function ‘bool XrlAction::check_xrl_is_valid(const std::list<std::basic_string<char> >&, const XRLdb*, std::string&)’:
rtrmgr/template_commands.cc:468:16: error: ‘const class XRLdb’ has no member named ‘check_xrl_syntax’
rtrmgr/template_commands.cc:474:33: error: ‘const class XRLdb’ has no member named ‘check_xrl_exists’
scons: *** [obj/i686-pc-linux-gnu/rtrmgr/template_commands.o] Error 1
scons: building terminated because of errors.
Fix for that is to replace VALIDATE_XRLDB with DEBUG_XRLDB in xrldb.hh and xrldb.cc
Signed-off-by: Igor Maravic <igorm at etf.rs>
Compare: https://github.com/greearb/xorp.ct/compare/ce0bda5...8b3f50d
More information about the Xorp-hackers
mailing list