[Xorp-hackers] EXT :Re: Install error

Ben Greear greearb at candelatech.com
Tue Jun 5 08:57:53 PDT 2012


On 06/05/2012 06:49 AM, Kuhn, Thomas J (IS) wrote:
> When attempting to run xorp_rtrmgr, I get the following error...
>
> [ 1970/01/01 23:28:20.702437 ERROR xorp_rtrmgr:962 RTRMGR rtrmgr/main_rtrmgr.cc:275 run ] Shutting down due to an init error: Error reading config directory /home/build/octeon-staging//share/xorp/templates: No such file or directory
>
> I notice that it is trying to look into the install directory that I specified when doing the scons install (and there is an extra "/" in there too).  Unfortunately, I was installing to a staging directory.  Do I need to do a scons install to /usr/local?

There are some command-line args to xorp_rtrmgr and probably some environment variables
that can specify the template and other locations.  But, I always just install to /usr/local
to make things simple.

xorp_rtrmgr --help

will give you some suggestions I think.

Thanks,
Ben

>
>
> Tom Kuhn
> Office: (407) 737-4953
> Cell: (407) 721-0628
> tom.kuhn at ngc.com
>
>
> -----Original Message-----
> From: xorp-hackers-bounces at icir.org [mailto:xorp-hackers-bounces at icir.org] On Behalf Of Kuhn, Thomas J (IS)
> Sent: Tuesday, June 05, 2012 8:23 AM
> To: Ben Greear
> Cc: 'xorp-hackers at icir.org'
> Subject: Re: [Xorp-hackers] EXT :Re: Install error
>
> Thanks,
>
> That seemed to work.  I will also try out some of the flags mentioned by Kodel Oleg too.
>
>
>
> Tom Kuhn
> Office: (407) 737-4953
> Cell: (407) 721-0628
> tom.kuhn at ngc.com
>
>
> -----Original Message-----
> From: Ben Greear [mailto:greearb at candelatech.com]
> Sent: Monday, June 04, 2012 2:47 PM
> To: Kuhn, Thomas J (IS)
> Cc: 'xorp-hackers at icir.org'
> Subject: EXT :Re: [Xorp-hackers] Install error
>
> On 06/04/2012 11:40 AM, Kuhn, Thomas J (IS) wrote:
>> I have cross compiled XORP and am performing an install. The install gets part wat through and then gives the following error on args.sh.  Can anyone assist?
>>
>> Install file: "bgp/harness/args.sh" as "/home/build/octeon-staging/bgp/harness/args.sh"Chmod("/home/build/octeon-staging/bgp/harness/args.sh", 0755)mips64-octeon-linux-gnu-strip /home/build/octeon-staging/bgp/harness/args.shmips64-octeon-linux-gnu-strip:/home/build/octeon-staging/bgp/harness/args.sh: File format not recognizedscons: *** [/home/build/octeon-staging/bgp/harness/args.sh] Error 1scons: building terminated because of errors
>
> Hmmm, you might have to wrap your strip executable in a shell script that always returns success.
>
> Or, don't strip on install via scons, but after the install is complete, manually
> strip everything in the install dir and just ignore the errors about not being able
> to strip .sh files and similar.
>
> Something like:
>
> find /usr/local/xorp -name "*" -print|xargs my-strip-exe
>
> Thanks,
> Ben
>
>>
>>
>> Tom Kuhn
>> 407-721-0628 (Cell)
>>
>> _______________________________________________
>> Xorp-hackers mailing list
>> Xorp-hackers at icir.org
>> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers
>
>


-- 
Ben Greear <greearb at candelatech.com>
Candela Technologies Inc  http://www.candelatech.com



More information about the Xorp-hackers mailing list