Need help debugging waf, not building tevent, talloc...

Jeremy Allison jra at samba.org
Mon Mar 13 17:28:32 UTC 2017


On Mon, Mar 13, 2017 at 10:59:29AM +1300, Andrew Bartlett via samba-technical wrote:
> On Sun, 2017-03-12 at 17:18 -0400, Gordon Ross via samba-technical
> wrote:
> > So, it turns out I'm just not able to run things like smbtorture from
> > the build directory.
> > I thought that used to work, but maybe I did something I've since
> > forgotten to let that work.
> > Anyway, after running "make install" and running it from the
> > installed
> > location, things look OK.
> > Probably just an issue finding all the correct libraries when running
> > from the build area.
> 
> To be clear, this (running binaries as bin/binary) is meant to work,
> provided you run 'make' first.  'make install' relinks for the install,
> breaking the bin/ binaries until you type make again.
> 
> I hope this helps,

Yep - Andrew is right. If you've done a 'make install', the
binaries built in bin/ won't work. You need to do another
'make' command afterwards to end up with working binaries
in both install location and build location. That does sound
like what you're describing.



More information about the samba-technical mailing list