Posted on 12-06-2013 03:49 AM
If I want to pack the Mono Framework as a .dmg File (after a normal Snapshot) the Composer crashes with
"Error creating DMG package
There was an error creating the packagae. Please make sure that the location you are saving to is writable and try again
Command failed with errorcode (1): '/usr/bin/hdiutil'"
I tried saving it to the Desktop. I tried saving it to an external drive and I tried saving it to a network volume. all didnt work.
Does anyone have the same effect and/or do you know how to get around it?
Keepass for example needs Mono.
bofh
Posted on 12-09-2013 10:28 AM
I'm not sure why you're having issues saving a snapshot of the Mono Framework.
However, it is already distributed as a flat .pkg installer which you can utilize directly for installation on client machines. I just downloaded it, uploaded it into my test environment, and deployed it to a test machine without ever opening Composer.
Is this an option for you?
Posted on 12-10-2013 04:08 AM
I'll give it a try and report back :)
Posted on 02-24-2016 06:36 AM
As an aside, I'm trying to get a mono script to run at login and logout..
It erros when running as a policy..
'mono' not found..
It runs ok from a terminal locally: mono --runtime=v4.0.30319 [path to .exe]
Any ideas?
Posted on 02-24-2016 07:04 AM
@kerouak maybe you need to put the full path to the mono binary. I know I've read in some other threads about certain commands not working without the full path. Give that a shot.
Posted on 02-25-2016 04:36 AM
Thanks mate, It was indeed required....
I did it this way, if anyone else needs this in future:
export PATH=/Library/Frameworks/Mono.framework/Versions/Current/bin/:${PATH}
mono --runtime=v4.0.30319 /Library/Application Support/notinuse.exe
All good!
Posted on 10-23-2017 11:34 PM
If your $PATH
doesn't include the parent directory to the tool, you'll need to use the entire path in command:
$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
Users can add paths to their ~/.bashrc
or ~/.bash_profile
, admins usually tuck paths for all users in /etc/paths.d
.