greenbone / openvas-smb

SMB module for OpenVAS Scanner
GNU General Public License v2.0
47 stars 47 forks source link

Compiling from source error if whitespace in path #22

Open 0p1um opened 5 years ago

0p1um commented 5 years ago

Expected behavior

compiling and install from a path with witespace using make install should work

Current behavior

If compiling and installing from a path with whitespace in it, it gave an error:

image

Steps to reproduce

  1. create a path with whitespace
  2. configure using the command "cmake"
  3. try to compile and install using "make install" as root

GVM versions

gsa: (gsad --version)

gvm: (gvmd --version) Greenbone Vulnerability Manager 8.0+beta1 GIT revision e936d296-master Manager DB revision 200 Copyright (C) 2010-2017 Greenbone Networks GmbH License GPLv2+: GNU GPL version 2 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.

openvas-scanner: (openvassd --version) OpenVAS Scanner 6.0+beta2 GIT revision 8c08d81-master Most new code since 2005: (C) 2018 Greenbone Networks GmbH Nessus origin: (C) 2004 Renaud Deraison deraison@nessus.org License GPLv2: GNU GPL version 2 This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.

gvm-libs:

openvas-smb:

Environment

Operating system: Debian sid amd64 Installation method / source: (packages, source installation) source

Logfiles

sam@xps13:~/Documents/ESIEA/5A/audit and control/tp_vuln/source_code/openvas-smb/build$ sudo make install [ 0%] Generating IDL C-Sources Rebuilding all idl files in librpc/idl Can't open perl script "/home/sam/Documents/ESIEA/5A/audit\": Aucun fichier ou dossier de ce type make[2]: [samba/CMakeFiles/samba-static.dir/build.make:347: samba/librpc/gen_ndr/ndr_atsvc.h] Error 1 make[1]: [CMakeFiles/Makefile2:90: samba/CMakeFiles/samba-static.dir/all] Error 2 make: *** [Makefile:152: all] Error 2