On 9/30/2012 4:59 AM, tuxcnc wrote: > For now I found one hidden relationship: linuxcnc depends bc . > > W dniu 27.09.2012 23:21, Kent A. Reed pisze:
Cześć, tuxcnc. (Google Translate tells me you write email primarily in Polish. Google Translate also tells me "cześć" is hello in Polish. Forgive me if either of these statements is incorrect!) It looks like Sebastian already took care of the bc dependency. I ran a shell script over the contents of the linuxcnc-dev/bin and linuxcnc-dev/scripts directories that I built from source. In no particular order, the following invocations occur in those contents /usr/bin/python /bin/sh <---hmm, in Ubuntu, this is a symbolic link to /bin/dash /bin/bash /usr/bin/tclsh8.5 /usr/bin/wish /usr/bin/wish8.5 /bin/pidof /bin/ps /usr/bin/awk /usr/bin/ipcs /bin/kill Detecting invocations like the bc that occurs in latency-test is harder. I was hoping some of bash's built-in machinery---like its cache---would be helpful but that stuff seems helpful only for interactive commands. So, I built my own custom bash (it wasn't pretty but it worked!) to dump to stderr every command it looks for. When I invoke latency-test from the command line, my custom bash returns readlink dirname mktemp bc sed cat halrun rm When I Invoke linuxcnc from the command line (with several different sim configurations), my custom bash returns mktemp uname tty touch sleep linuxcncserver halcmd xlinuxcnc inivar axis milltask axis-remote seq wc ipcrm As well, I believe I saw 'cut' is invoked in some other script, so I don't claim this list is all inclusive. It's late and I'm tired, so I'll leave it to you to check these against the Debian package control file(s). Some would be almost certain to appear in /bin or /usr/bin in even the most minimal Linux. Some obviously are created in the Linuxcnc build iteself. In general, missing-command dependencies are easy to detect if you invoke commands/scripts from the command line (and not that much harder in a GUI environment). Bash will emit an error message telling what command it can't find. I know it's annoying to iterate---detect a missing command, install it, repeat---but there should be very few. Good hunting. Regards, Kent ------------------------------------------------------------------------------ Got visibility? Most devs has no idea what their production app looks like. Find out how fast your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219671;13503038;y? http://info.appdynamics.com/FreeJavaPerformanceDownload.html _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers