I am trying to install 2.5 under 10.04 running under Parallels on my Mac.  I 
followed the instructions (related to installing -sim) here:  
http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Installing_EMC2#Building_emc2_simulator

Everything went fine (I believe), but when I try to run linuxcnc with one of 
the default sim configurations it fails.  Any idea why this isn't working?


I get this if I try gladevcp_panel sim config:

tom@ubuntu:~/emc2-dev/configs/sim/gladevcp$ linuxcnc
LINUXCNC - 2.5.0-pre2
Machine configuration directory is '/home/tom/emc2-dev/configs/sim/gladevcp'
Machine configuration file is 'gladevcp_panel.ini'
Starting LinuxCNC...
/home/tom/emc2-dev/scripts/linuxcnc: line 687: 17928 Illegal instruction     
$EMCDISPLAY -ini "$INIFILE" $EMCDISPLAYARGS $EXTRA_ARGS
Shutting down and cleaning up LinuxCNC...
Cleanup done
EMC terminated with an error.  You can find more information in the log:
    /home/tom/linuxcnc_debug.txt
and
    /home/tom/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal
tom@ubuntu:~/emc2-dev/configs/sim/gladevcp$ 


This if I try axis:

tom@ubuntu:~/emc2-dev$ linuxcnc
LINUXCNC - 2.5.0-pre2
Machine configuration directory is '/home/tom/emc2-dev/configs/sim/axis'
Machine configuration file is 'axis.ini'
Starting LinuxCNC...
/home/tom/emc2-dev/scripts/linuxcnc: line 687: 18317 Segmentation fault      
$EMCDISPLAY -ini "$INIFILE" $EMCDISPLAYARGS $EXTRA_ARGS
Shutting down and cleaning up LinuxCNC...
Cleanup done
EMC terminated with an error.  You can find more information in the log:
    /home/tom/linuxcnc_debug.txt
and
    /home/tom/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal
tom@ubuntu:~/emc2-dev$ 

The linuxcnc_debug.txt shows (for either config):
tom@ubuntu:~/emc2-dev$ more /home/tom/linuxcnc_debug.txt
Can not find -sec MOT -var MOT -num 1 
Can not find -sec IO -var IO -num 1 
Can not find -sec LINUXCNC -var NML_FILE -num 1 
Can not find -sec EMC -var NML_FILE -num 1 
18283
  PID TTY      STAT   TIME COMMAND
18316
  PID TTY      STAT   TIME COMMAND
Stopping realtime threads
Unloading hal components

The linuxcnc_print.txt shows (for either config):
tom@ubuntu:~/emc2-dev$ more     /home/tom/linuxcnc_print.txt
RUN_IN_PLACE=yes
LINUXCNC_DIR=
LINUXCNC_BIN_DIR=/home/tom/emc2-dev/bin
LINUXCNC_TCL_DIR=/home/tom/emc2-dev/tcl
LINUXCNC_SCRIPT_DIR=
LINUXCNC_RTLIB_DIR=/home/tom/emc2-dev/rtlib
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/home/tom/emc2-dev/src/objects
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.5
INIFILE=/home/tom/emc2-dev/configs/sim/axis/axis.ini
PARAMETER_FILE=sim.var
TASK=milltask
HALUI=halui
DISPLAY=axis
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
Starting HAL User Interface program: halui
Starting EMC2 TASK program: milltask
Starting EMC2 DISPLAY program: axis
Killing task linuxcncsvr, PID=18283
Killing task milltask, PID=18316
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
tom@ubuntu:~/emc2-dev$ 

Dmesg output is pasted here:
http://pastebin.com/qFC2epqR

Thanks,
Tom


------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to