[ovs-discuss] line 17: /usr/local/share/openvswitch/scripts/ovs-lib: No such file or directory

Ben Pfaff blp at ovn.org
Thu Sep 20 18:37:50 UTC 2018


On Thu, Sep 20, 2018 at 11:18:50AM -0700, Martin Xu wrote:
> The fedora spec file uses this macro %{_datadir} as the path prefix, and
> this could evaluate to /usr/share/ but can be overwritten or be something
> else on a particular system. That line 17 in ovs-kmod-ctl is written as
> this,
> 
> . "@pkgdatadir@/scripts/ovs-lib" || exit 1
> 
> At build time, the @pkgdatadir@ in some of our files (ovs-kmod-ctl is one
> of them) are being replaced. I haven't figured out exactly how to put my
> own string in there through configuration so that my installation goes into
> /usr/share and this string is replaced by /usr/local/share. I think
> basically that's problem seen here. Maybe some of the folks from redhat
> might know. Or if I can duplicate the issue myself, I might be able to
> figure out why.

Can you explain why you'd want to install into /usr/share but have the
string replaced by /usr/local/share?


More information about the discuss mailing list