citronneur / rdpy

Remote Desktop Protocol in Twisted Python
GNU General Public License v3.0
1.68k stars 544 forks source link

Build Issue #2

Closed ChrisTruncer closed 9 years ago

ChrisTruncer commented 9 years ago

Hey there,

First off, I know this is a work in project (so it seems). Having this built, would be AWESOME. I've been searching for a pure python RDP client, I would love to see this.

I tried building rdpy after cloning it, but it seems I am getting an error. I'm using Kali linux to test this on. Figured I'd post the error here for you:

scons -C rdpy/rdpy/core install scons: Entering directory `/mnt/hgfs/gitrepos/rdpy/rdpy/core' scons: Reading SConscript files ... TypeError: File /mnt/hgfs/gitrepos/rdpy/rdpy/core/Sconstruct found where directory expected.: File "/mnt/hgfs/gitrepos/rdpy/rdpy/core/SConstruct", line 4: script_dir = os.path.dirname(os.path.realpath(Dir("#/Sconstruct").abspath)) File "/usr/lib/scons/SCons/Script/SConscript.py", line 614: return method(_args, _kw) File "/usr/lib/scons/SCons/Environment.py", line 1978: return self.fs.Dir(s, _args, _kw) File "/usr/lib/scons/SCons/Node/FS.py", line 1351: return self._lookup(name, directory, Dir, create) File "/usr/lib/scons/SCons/Node/FS.py", line 1318: return root._lookup_abs(p, fsclass, create) File "/usr/lib/scons/SCons/Node/FS.py", line 2215: result.diskcheck_match() File "/usr/lib/scons/SCons/Node/FS.py", line 1504: "File %s found where directory expected.") File "/usr/lib/scons/SCons/Node/FS.py", line 384: return self.func(_args, *_kw) File "/usr/lib/scons/SCons/Node/FS.py", line 405: raise TypeError(errorfmt % node.abspath)

ChrisTruncer commented 9 years ago

So, I fixed the problem on my side by just providing the absolute patch that was supposed to be set in the variable. While the issue is fixed on my end, I'll leave it open so you can look at it. If you think it's worthwhile to fix, go for it, if you think it's a one off case on my side, feel free to close this.

ChrisTruncer commented 9 years ago

Also, the "so it seems" to be a work in project was based off of your statement that you're working on it, not that the software isn't working or anything :)

citronneur commented 9 years ago

Thanks, scons macro have different means from different platform. I will investigate issue.

citronneur commented 9 years ago

To finish project i need to have more tests. I have issue on keyboard on linux. No NLA support on this version. I want to add license management.

citronneur commented 9 years ago

I think is done too ;-) Can you try on Kali please?

Thanks!

ChrisTruncer commented 9 years ago

OK, I'll give this a shot shortly. Thanks for working on this!

citronneur commented 9 years ago

I change build step to classic setup.py for easier integration in virtualenv. Now rdpy is available from pip. Best regards.

Sylvain