search for: sudo_askpass

Displaying 3 results from an estimated 3 matches for "sudo_askpass".

2011 Jan 05
2
[LLVMdev] Build problems and workarounds with CMake and XCode
...e needed to be prefaced with sudo to work. Secondly, those commands, when executed from XCode, have no open console to prompt for a password. My workaround for that was to write a small utility in Qt to prompt for a password and return it in stdout. I then set the path of that utility to the SUDO_ASKPASS environment variable so I could set the scripts to run sudo -A command instead of sudo command. This unearthed a second problem. In my debug build, the script looked in the release directory for LLVMSupport.a and failed as a result of it. At this point I'm building a release build so I ca...
2011 Jan 05
0
[LLVMdev] Build problems and workarounds with CMake and XCode
...ted from XCode, > have no open console to prompt for a password. That lies outside cmake and/or XCode capabilities, I guess. > My workaround for that was to write a small utility in Qt to prompt for a > password and return it in stdout. I then set the path of that utility to the > SUDO_ASKPASS environment variable so I could set the scripts to run sudo -A > command instead of sudo command. This unearthed a second problem. In my debug > build, the script looked in the release directory for LLVMSupport.a and failed > as a result of it. > > At this point I'm building...
2011 Jan 06
1
[LLVMdev] Build problems and workarounds with CMake and XCode
...from icons do not open a text console. My past experience with some Linux GUI toolkits are similar. > > My workaround for that was to write a small utility in Qt to prompt for a > > password and return it in stdout. I then set the path of that utility to >the > > > SUDO_ASKPASS environment variable so I could set the scripts to run sudo -A > > command instead of sudo command. This unearthed a second problem. In my >debug > > > build, the script looked in the release directory for LLVMSupport.a and >failed > > > as a result of it. &...