How can I install IronAHK to Ubuntu LTS 18.04?

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
my-lord
Posts: 45
Joined: 01 Apr 2018, 15:12

How can I install IronAHK to Ubuntu LTS 18.04?

31 Aug 2018, 05:36

Hello everyone. I am trying to install Linux equivalent of Autohotkey on Ubuntu LTS 18.04.

a) I have followed the following guide(ancient):
https://brendonrobinson.wordpress.com/2 ... k-meerkat/:

I have got this:

Code: Select all

q@q-ABRA-A5-V12-1:~/IronAHK$ sudo apt-get -y install git mono-xbuild libmono-winforms2.0-cil libmono-microsoft-visualbasic8.0-cil mono-vbnc mono-gmcs
Reading package lists... Done
Building dependency tree       
Reading state information... Done
git is already the newest version (1:2.17.1-1ubuntu0.1).
mono-xbuild is already the newest version (5.10.1.20-0xamarin1+debian7b1).
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libmono-winforms2.0-cil : Depends: libmono-system-runtime2.0-cil (>= 2.4) but it is not going to be installed
                           Depends: libmono-system-web2.0-cil (>= 2.10.3) but it is not going to be installed
 mono-gmcs : Depends: mono-mcs (= 3.12.1-0xamarin1) but 5.10.1.20-0xamarin1+debian7b1 is to be installed
 monodoc-http : Depends: mono-xsp4 but it is not going to be installed or
                         mono-apache-server4 but it is not going to be installed or
                         mono-fastcgi-server4 but it is not going to be installed
E: Error, pkgProblqsolver::Resolve generated breaks, this may be caused by held packages.
q@q-ABRA-A5-V12-1:~/IronAHK$ git clone https://github.com/polyethene/IronAHK
fatal: destination path 'IronAHK' already exists and is not an empty directory.
q@q-ABRA-A5-V12-1:~/IronAHK$ sudo chmod +x Deploy/bin/Release/setup.sh
q@q-ABRA-A5-V12-1:~/IronAHK$ make
for dir in Deploy IronAHK Rusty Scripting Tests; do \
	for sub in "bin" obj; do \
		if [ -d "${dir}/${sub}" ]; then rm -R "${dir}/${sub}"; fi \
	done; \
done;
rm: descend into write-protected directory 'Deploy/bin'? 
rm: descend into write-protected directory 'Deploy/obj'? 
rm: descend into write-protected directory 'IronAHK/bin'? 
rm: descend into write-protected directory 'IronAHK/obj'? 
rm: descend into write-protected directory 'Rusty/bin'? 
rm: descend into write-protected directory 'Rusty/obj'? 
rm: descend into write-protected directory 'Scripting/bin'? 
rm: descend into write-protected directory 'Scripting/obj'? 
if [ -d "bin" ]; then rm -R "bin"; fi
for dir in IronAHK/Site/docs/commands/doc.xsl IronAHK/Site/docs/commands/index.html IronAHK/Site/docs/commands/view.xsl; do \
	if [ -d "${dir}" ]; then rm -R ${dir}; fi \
done;
xbuild "/property:Configuration=Release"

>>>> xbuild tool is deprecated and will be removed in future updates, use msbuild instead <<<<

XBuild Engine Version 14.0
Mono, Version 5.10.1.20
Copyright (C) 2005-2013 Various Mono authors

Build started 8/31/2018 6:25:34 AM.
__________________________________________________
Project "/home/q/IronAHK/IronAHK.sln" (default target(s)):
	Target ValidateSolutionConfiguration:
		Building solution configuration "Release|Any CPU".
	Target Build:
		Project "/home/q/IronAHK/Rusty/Rusty.csproj" (default target(s)):
			Target PrepareForBuild:
				Configuration: Release Platform: AnyCPU
			Target GenerateSatelliteAssemblies:
			No input files were specified for target GenerateSatelliteAssemblies, skipping.
			Target CoreCompile:
			Skipping target "CoreCompile" because its outputs are up-to-date.
			Target _RecordCleanFile:
/usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets: error : Access to the path "/home/q/IronAHK/Rusty/obj/Release/Rusty.csproj.FilesWrittenAbsolute.txt" is denied.  at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0019e] in <65984520577646ec9044386ec4a7b3dd>:0 
  at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.IO.FileOptions options, System.String msgPath, System.Boolean bFromProxy, System.Boolean useLongPath, System.Boolean checkHost) [0x00000] in <65984520577646ec9044386ec4a7b3dd>:0 
  at (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,System.IO.FileOptions,string,bool,bool,bool)
  at System.IO.StreamWriter.CreateFile (System.String path, System.Boolean append, System.Boolean checkHost) [0x0001c] in <65984520577646ec9044386ec4a7b3dd>:0 
  at System.IO.StreamWriter..ctor (System.String path, System.Boolean append, System.Text.Encoding encoding, System.Int32 bufferSize, System.Boolean checkHost) [0x00055] in <65984520577646ec9044386ec4a7b3dd>:0 
  at System.IO.StreamWriter..ctor (System.String path, System.Boolean append, System.Text.Encoding encoding, System.Int32 bufferSize) [0x00000] in <65984520577646ec9044386ec4a7b3dd>:0 
  at System.IO.StreamWriter..ctor (System.String path, System.Boolean append) [0x00008] in <65984520577646ec9044386ec4a7b3dd>:0 
  at (wrapper remoting-invoke-with-check) System.IO.StreamWriter..ctor(string,bool)
  at Microsoft.Build.Tasks.WriteLinesToFile.Execute () [0x0002e] in <dfe72c9319ab4ffba85b504a6d3ec73c>:0 
			Task "WriteLinesToFile" execution -- FAILED
			Done building target "_RecordCleanFile" in project "/home/q/IronAHK/Rusty/Rusty.csproj".-- FAILED
		Done building project "/home/q/IronAHK/Rusty/Rusty.csproj".-- FAILED
	Task "MSBuild" execution -- FAILED
	Done building target "Build" in project "/home/q/IronAHK/IronAHK.sln".-- FAILED
Done building project "/home/q/IronAHK/IronAHK.sln".-- FAILED

Build FAILED.
Errors:

/home/q/IronAHK/IronAHK.sln (default targets) ->
(Build target) ->
/home/q/IronAHK/Rusty/Rusty.csproj (default targets) ->
/usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets (_RecordCleanFile target) ->

	/usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets: error : Access to the path "/home/q/IronAHK/Rusty/obj/Release/Rusty.csproj.FilesWrittenAbsolute.txt" is denied.  at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0019e] in <65984520577646ec9044386ec4a7b3dd>:0 
  at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.IO.FileOptions options, System.String msgPath, System.Boolean bFromProxy, System.Boolean useLongPath, System.Boolean checkHost) [0x00000] in <65984520577646ec9044386ec4a7b3dd>:0 
  at (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,System.IO.FileOptions,string,bool,bool,bool)
  at System.IO.StreamWriter.CreateFile (System.String path, System.Boolean append, System.Boolean checkHost) [0x0001c] in <65984520577646ec9044386ec4a7b3dd>:0 
  at System.IO.StreamWriter..ctor (System.String path, System.Boolean append, System.Text.Encoding encoding, System.Int32 bufferSize, System.Boolean checkHost) [0x00055] in <65984520577646ec9044386ec4a7b3dd>:0 
  at System.IO.StreamWriter..ctor (System.String path, System.Boolean append, System.Text.Encoding encoding, System.Int32 bufferSize) [0x00000] in <65984520577646ec9044386ec4a7b3dd>:0 
  at System.IO.StreamWriter..ctor (System.String path, System.Boolean append) [0x00008] in <65984520577646ec9044386ec4a7b3dd>:0 
  at (wrapper remoting-invoke-with-check) System.IO.StreamWriter..ctor(string,bool)
  at Microsoft.Build.Tasks.WriteLinesToFile.Execute () [0x0002e] in <dfe72c9319ab4ffba85b504a6d3ec73c>:0 

	 0 Warning(s)
	 1 Error(s)

Time Elapsed 00:00:00.3244880
Makefile:16: recipe for target 'all' failed
make: *** [all] Error 1
b) I can also migrate to other programs such as autokey. But I don't know how can I convert 900 lines of AutoHotkey code to Autokey code. Is there any migration guide(AutoHotkey to Autokey)?

c) The last option is reading the autokey documentation and converting all AutoHotkey code to Autokey manually.


Any idea or recommendation appreciated. Thanks.

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Google [Bot], Rohwedder and 118 guests