/Winexe-1.1-Installation

Winexe 1.1 Installation - Ubuntu 14.04-16.04-18.04

Primary LanguageShell

Winexe 1.1

Winexe 1.1 Installation - Ubuntu 14.04-16.04-18.04

  • apt-get -y install gcc-mingw-w64 comerr-dev libpopt-dev libbsd-dev zlib1g-dev libc6-dev python-dev libacl1-dev libldap2-dev git
  • git clone "https://github.com/tolgaakkapulu/Winexe-1.1-Installation"
  • cd Winexe-1.1-Installation
  • tar xzf samba-4.1.23.tar.gz
  • tar xzf winexe-winexe-waf.tar.gz
  • cd winexe-winexe-waf/source/
  • sed -i "s/stlib='smb_static bsd z resolv rt'/stlib='smb_static z rt'/g" wscript_build
  • sed -i "s/lib='dl'/lib='dl resolv bsd'/g" wscript_build
  • chmod +x waf
  • ./waf --samba-dir=../../samba-4.1.23 configure build
  • cp build/winexe-static /usr/local/bin/winexe
or