Nevermind, I compiled linuxcnc on my machine with this instructions below:<div><a href="http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Build_A_Simulator_Manually">http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Build_A_Simulator_Manually</a></div>

<div><br></div><div>Note: there's no need to </div><div><pre style="font-size:12px;background-color:rgb(255,255,255)"> sudo apt-get purge tcl8.4-dev tk8.4-dev</pre><pre style="font-size:12px;background-color:rgb(255,255,255)">

because:</pre><pre style="font-size:12px;background-color:rgb(255,255,255)">1 both tcl and tk are 8.5 now.</pre><pre style="font-size:12px;background-color:rgb(255,255,255)">2 I need these file to run ROS-F, so I didn't remove tcl8.5-dev and tk8.5-dev, and my sim runs perfect.</pre>

<br><div class="gmail_quote">On Sat, Jun 30, 2012 at 2:18 PM, Hao <span dir="ltr"><<a href="mailto:hao@dorabot.com" target="_blank">hao@dorabot.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi Fabricators in Noisebridge,<div><br>I'm working on making fine PCBs with table top CNC Machine right now. I need a good opensource G-code simulator. Simulation version of LinuxCNC would be perfect, however, I can't get it running on my 64bit Ubuntu 12.04 Precise, every time I try to run it, There pops up this Error Message (Attached at the end of this email). I use the LinuxCNC binary here:<a href="http://www.linuxcnc.org/lucid/dists/precise/linuxcnc2.5-sim/binary-amd64/linuxcnc-sim_2.5.0_amd64.deb" target="_blank">http://www.linuxcnc.org/lucid/dists/precise/linuxcnc2.5-sim/binary-amd64/linuxcnc-sim_2.5.0_amd64.deb</a>. </div>


<div>There are other binaries here <a href="http://www.linuxcnc.org/lucid/dists/precise/linuxcnc2.5-sim/binary-amd64/" target="_blank">http://www.linuxcnc.org/lucid/dists/precise/linuxcnc2.5-sim/binary-amd64</a>/, I am not sure which one to choose actually.<br>


<div><br></div><div>I can use a little help on figuring out how to run linuxCNC simulation on my laptop, or recommendation of another opensource/freeware gcode simulator. I'm aware of trial version of Mach3, CNC simulator, and GWizard. I just don't want use eagle-like close sourced software. Thanks folks!<br clear="all">


<div><br></div><div>--------------------LinuxCNC Error BEGINS--------------------------</div><div><br></div><div><div>Print file information:</div><div>RUN_IN_PLACE=no</div><div>LINUXCNC_DIR=</div><div>LINUXCNC_BIN_DIR=/usr/bin</div>


<div>LINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcnc</div><div>LINUXCNC_SCRIPT_DIR=</div><div>LINUXCNC_RTLIB_DIR=/usr/lib/linuxcnc/modules</div><div>LINUXCNC_CONFIG_DIR=</div><div>LINUXCNC_LANG_DIR=/usr/share/linuxcnc/tcl/msgs</div>


<div>INIVAR=inivar</div><div>HALCMD=halcmd</div><div>LINUXCNC_EMCSH=/usr/bin/wish8.5</div><div>LINUXCNC - 2.5.0</div><div>Machine configuration directory is '/home/azureviolin/linuxcnc/configs/Sherline3Axis'</div>


<div>Machine configuration file is 'Sherline3Axis_mm.ini'</div><div>INIFILE=/home/azureviolin/linuxcnc/configs/Sherline3Axis/Sherline3Axis_mm.ini</div><div>PARAMETER_FILE=stepper.var</div><div>TASK=milltask</div>

<div>
HALUI=</div><div>DISPLAY=axis</div><div>Starting LinuxCNC...</div><div>Starting LinuxCNC server program: linuxcncsvr</div><div>Loading Real Time OS, RTAPI, and HAL_LIB modules</div><div>Starting LinuxCNC IO program: io</div>


<div>Shutting down and cleaning up LinuxCNC...</div><div>Killing task linuxcncsvr, PID=9877</div><div>Removing HAL_LIB, RTAPI, and Real Time OS modules</div><div>Removing NML shared memory segments</div><div>Cleanup done</div>


<div><br></div><div>Debug file information:</div><div>Can not find -sec MOT -var MOT -num 1 </div><div>Can not find -sec IO -var IO -num 1 </div><div>Can not find -sec LINUXCNC -var NML_FILE -num 1 </div><div>Can not find -sec EMC -var NML_FILE -num 1 </div>


<div>hal_parport: dlopen: /usr/lib/linuxcnc/modules/hal_parport.so: cannot open shared object file: No such file or directory</div><div>standard_pinout.hal:5: /usr/bin/rtapi_app exited without becoming ready</div><div>standard_pinout.hal:5: insmod failed, returned -1</div>


<div>9877</div><div>  PID TTY      STAT   TIME COMMAND</div><div>Stopping realtime threads</div><div>Unloading hal components</div><div><br></div><div>----------------------LinuxCNC Error ENDS---------------</div></div><span class="HOEnZb"><font color="#888888"><div>


<br></div><div><br></div><div><br></div>-- <br><div>DORA = DORA Opensource Robotic Assistant</div><div><a href="http://dorabot.com" target="_blank">dorabot.com</a></div><div><br></div><br>
</font></span></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div>DORA = DORA Opensource Robotic Assistant</div><div><a href="http://dorabot.com" target="_blank">dorabot.com</a></div><div><br></div><br>
</div>