Hi, I'm trying to deploy Winexec in Suse 11, but I'm getting crazy.
'configure' finished successfully (1m14.939s)
Selected embedded Heimdal build
Waf: Entering directory /home/u028909/winexe_1.1/samba-4.3.0/bin' Selected embedded Heimdal build [3437/3917] Compiling default/source/smb_static/smb_static.objlist.empty.c Waf: Leaving directory/home/u028909/winexe_1.1/samba-4.3.0/bin'
Build failed: could not find 'source/smb_static/smb_static.objlist.empty.c' for
{task: cc smb_static.objlist.empty.c -> smb_static.objlist.empty_2.o}
Checking for library smb_static : not found
Build of static winexe : disabled
Cannot continue! Please either install Samba shared libraries and re-run waf, or download the Samba source code and re-run waf with the "--samba-dir" option.
(complete log in /home/u028909/winexe_1.1/winexe-waf-1_1/source/build/config.log)
I get the same error with samba 4.3.0 or 4.2.4. It doesn't mind if I build in share instead of static.
The file source/smb_static/smb_static.objlist.empty.c exists, but it's empty.
Hi, better late than never, and maybe this will help others. I'm not sure if this will work for Suse but I ran into the same problem with Centos 6. The solution I found was here: http://rand0m.org/2015/08/05/winexe-1-1-centos-6-and-windows-2012-r2/
As best I can tell this is related to a change with Samba 4 and gnutls but I didn't dig too deep as it worked.
Also, if you don't need statically linked Samba libs there's a shared lib workaround here: https://sourceforge.net/p/winexe/bugs/77/ that worked in Centos 6.
Good luck.