On Wed, Aug 26, 2015 at 12:28:49PM +0800, Rongqing Li wrote:
> On 2015年08月26日 11:48, Ben Pfaff wrote:
> >On Wed, Aug 26, 2015 at 11:10:56AM +0800, rongqing...@windriver.com wrote:
> >>From: Roy Li <rongqing...@windriver.com>
> >>
> >>If build dir is not same as the source code, make the target .in wrong
> >>due to no dir:
> >>    vswitchd/ovs-vswitchd.conf.db.5.tmp: No such file or directory
> >>
> >>The target .in has not dependency, but in fact, it needs other target to
> >>create the dir to put its result, like builddir/vswitchd in below:
> >>
> >>/usr/bin/perl soexpand.pl < ${S}/vswitchd/ovs-vswitchd.8.in | \
> >>     sed \
> >>         -e 's,[@]PKIDIR[@],/var/lib/openvswitch/pki,g' \
> >>            ......
> >>             > vswitchd/ovs-vswitchd.8.tmp
> >>
> >>fix it by creating the dir in .in target
> >>
> >>Signed-off-by: Roy Li <rongqing...@windriver.com>
> >
> >Running "configure" creates all the necessary directories, so this patch
> >is not necessary.
> >
> >
> 
> 
> after configure, I did not find the vswitchd dir under building dir.
> 
> 
> 
> the vswitchd dir is created in Makefile.am:
> 
> 
> vswitchd/$(am__dirstamp):
>         @$(MKDIR_P) vswitchd
>         @: > vswitchd/$(am__dirstamp)

No such text appears in Makefile.am.  Where did you get your copy of
OVS?

> similar issues for other dirs

I guess there's something busted with your Autoconf or Automake.

blp@sigabrt:~/nicira/ovs(0)$ rm -rf _test
blp@sigabrt:~/nicira/ovs(0)$ mkdir _test
blp@sigabrt:~/nicira/ovs(0)$ cd _test
blp@sigabrt:~/nicira/ovs/_test(1)$ ../configure -q
blp@sigabrt:~/nicira/ovs/_test(1)$ find . -type d -print
.
./ovsdb
./ovsdb/.deps
./tests
./tests/dpdk
./tests/dpdk/.deps
./tests/.deps
./vtep
./vtep/.deps
./vswitchd
./vswitchd/.deps
./lib
./lib/.deps
./lib/lldp
./lib/lldp/.deps
./include
./include/openflow
./include/openvswitch
./ovn
./ovn/controller
./ovn/controller/.deps
./ovn/controller-vtep
./ovn/controller-vtep/.deps
./ovn/lib
./ovn/lib/.deps
./ovn/northd
./ovn/northd/.deps
./ovn/utilities
./ovn/utilities/.deps
./datapath
./datapath/linux
./utilities
./utilities/.deps
./utilities/bugtool
./ofproto
./ofproto/.deps
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to