[Xorp-hackers] Problems with Mkdir

Bruce Simpson bms at incunabulum.net
Fri Dec 4 11:06:17 PST 2009


Ben Greear wrote:
>
> That works on F11, though it's a bit ugly since it spits out some
> errors.  Maybe a combo of my hack to check if it exists combined with
> the exception passing?

It's difficult to put the check where it belongs, if the Mkdir() action 
can't be overridden. Sure, we could try putting it in the SConstruct. 
Anyway I'd rather not spend too much time on this.

>
> Checking for C library pcap... (cached) yes
> Checking for C function pcap_sendpacket()... (cached) yes
> Checking for C library curses... (cached) yes
> Detected libraries: boost_regex rt resolv crypto dl pcap curses
> Mkdir("/home/greearb/git/svn-xorp/dev-xorp/xorp.ct/obj/x86_64-unknown-linux-gnu/lib") 
>
> scons: *** 
> /home/greearb/git/svn-xorp/dev-xorp/xorp.ct/obj/x86_64-unknown-linux-gnu/lib: 
> File exists
> Mkdir("/home/greearb/git/svn-xorp/dev-xorp/xorp.ct/obj/x86_64-unknown-linux-gnu/lib/xorp") 
>
> scons: *** 
> /home/greearb/git/svn-xorp/dev-xorp/xorp.ct/obj/x86_64-unknown-linux-gnu/lib/xorp: 
> File exists
> Symlink("/home/greearb/git/svn-xorp/dev-xorp/xorp.ct/obj/x86_64-unknown-linux-gnu/lib", 
> as 
> "/home/greearb/git/svn-xorp/dev-xorp/xorp.ct/obj/x86_64-unknown-linux-gnu/lib/xorp/lib") 
>
> scons: done reading SConscript files.
> scons: Building targets ...
>

Does the build run to completion even with these 'File exists' messages?

If so, I will check in that fix and call it a day.

thanks,
BMS



More information about the Xorp-hackers mailing list