No joy. I have the RT-preempt (have a 7i92 ethernet control card, does not handle the modbus though).
uname -a Linux localhost 3.2.0-4-rt-686-pae #1 SMP PREEMPT RT Debian 3.2.73-2+deb7u2 i686 GNU/Linux Sudo was required for some of these. Made errors without. cd src ./configure --with-realtime=uspace ./configure: line 2025: config.log: Permission denied ./configure: line 2035: config.log: Permission denied ok.... well then... sudo ./configure --with-realtime=uspace sudo make sudo make setuid source ../scripts/rip-environment which x200_vfd /home/atxhacker/linuxcnc-2.7.4/bin/x200_vfd Applications Menu-> Linuxcnc -> select HAL file: ./7i92_spid.hal:313: execv(x200_vfd): No such file or directory cd ~/linuxcnc-2.7.4/bin linuxcnc -> select HAL file: ./7i92_spid.hal:31: execv(/home/atxhacker/linuxcnc-2.7.4/bin/rtapi_app): Permission denied ./7i92_spid.hal:31: waitpid failed /home/atxhacker/linuxcnc-2.7.4/bin/rtapi_app gantrykins ./7i92_spid.hal:31: /home/atxhacker/linuxcnc-2.7.4/bin/rtapi_app exited without becoming ready ./7i92_spid.hal:31: insmod for gantrykins failed, returned -1 Shutting down and cleaning up LinuxCNC... cd ~/linuxcnc-2.7.4/scripts ... same thing cd ~/linuxcnc-2.7.4/ ... same thing I note that in running from linuxcnc-2.7.4, the execv-can't-find-x200_vfd isn't the error anymore. I did try "sudo linuxcnc", but then my HAL file isn't there, only "Sample Configurations". The whole "My Configurations" tab is gone? Danny ---- Sebastian Kuzminsky <s...@highlab.com> wrote: > On 03/03/2016 10:04 AM, dan...@austin.rr.com wrote: > > Forgot to mention- yes there was a "Submakefile" in the wj200_vfd > > directory. We moved that to the x200_vfd directory and blanket-replaced > > wj200 to x200 in that as well. > > > > It compiles ok. Like I say, starting Linuxcnc, it exits and the error info > > it shows says "execv x200_vfd: no such file or directory". > > If i correctly understand the changes you've made then after a > successful compile you should have both bin/x200_vfd and bin/wj200_vfd > in your linuxcnc checkout directory. > > You're building linuxcnc from source, what we call a "run in place" > configuration (as opposed to building linuxcnc into a debian package, > installing the deb, and running it from the system install path). This > means you need to run "source ./scripts/rip-environment" in order to > find the x200_vfd executable (in the terminal you're staring linuxcnc > from). So something like this: > > cd src > ./configure > make > sudo make setuid > source ../scripts/rip-environment > > At that point, "which x200_vfd" should find it in the bin dir of your > linuxcnc source tree, and starting linuxcnc (from that terminal) should > let it start. > > > Ah, one other thing to check. Are you running on rtai or rt-preempt? > You can check with "uname -a". If you're on rt-preempt your configure > line needs to be "./configure --with-realtime=uspace". I think it > detects RTAI automatically, so no special configure argument is needed > for that (though I always provide one anyway, > "--with-realtime=/usr/realtime-*"). > > > -- > Sebastian Kuzminsky ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users