Last active
March 8, 2022 20:28
-
-
Save Rambou/9fc2492deb76c7511eded8f43fa27909 to your computer and use it in GitHub Desktop.
Building - installing winexe for Ubuntu 16 xenial
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo su && git clone git://git.code.sf.net/u/mstowe/winexe u-mstowe-winexe && cd u-mstowe-winexe/source && apt-get -y install python2.7 gcc-mingw-w64 libtevent-dev samba-dev && ln -s /usr/lib/x86_64-linux-gnu/samba/libcli-ldap.so.0 /usr/lib/x86_64-linux-gnu/samba/libcli-ldap-samba4.so.0 ; ln -s /usr/lib/x86_64-linux-gnu/samba/libdcerpc-samba.so.0 /usr/lib/x86_64-linux-gnu/samba/libdcerpc-samba-samba4.so.0 ; ln -s /usr/lib/x86_64-linux-gnu/samba/liberrors.so.0 /usr/lib/x86_64-linux-gnu/samba/liberrors-samba4.so.0 ; ./waf configure build && build/winexe --help |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I got this to work eventually - not sure how good the solution is, I was just extrapolating from the script at the top of this post.
I also had to edit /usr/include/samba-4.0/util/debug.h, adding in the line:
#include <stdarg.h>
(after the stddef include). I presume this is unimportant, as it's debug code - but it was stopping my building.