it looks like you have an existing emc installation and the python code picks 
up emc.so from that installation

if it is run-in-place, it shouldnt import emc.so from 
/usr/lib/python2.6/dist-packages/

did you run

. emc2-dev/scripts/emc-environment?


- Michael

Am 21.01.2012 um 16:29 schrieb John Prentice:

> Greetings
> 
> Returning to working with GladeVCP, I have pulled 2.5_branch from git 
> yesterday and compiled it Run-In-Place
> 
> After a bit of trouble that running EMC gave me 2.4.6, I saw the program 
> naming email and tried linuxcnc which runs 2.5 fine
> 
> Following instructions in 
> http://www.linuxcnc.org/docs/2.5/html/gui/gladevcp.html
> 
> $ cd configs/sim
> $ emc gladevcp_panel.iniwith a change in folder for the gladevcp_panel.ini 
> and linuxcnc for emc I get:
> =============================================
> 
> john@john-desktop-linux:~/emc2-dev/configs/sim/gladevcp$ linuxcnc 
> gladevcp_panel.ini
> LINUXCNC - 2.5.0-pre2
> Machine configuration directory is 
> '/home/john/emc2-dev/configs/sim/gladevcp'
> Machine configuration file is 'gladevcp_panel.ini'
> Starting LinuxCNC...
> Traceback (most recent call last):
>  File "/home/john/emc2-dev/bin/gladevcp", line 44, in <module>
>    import gladevcp.makepins
>  File "/home/john/emc2-dev/lib/python/gladevcp/__init__.py", line 1, in 
> <module>
>    from hal_pythonplugin import *
>  File "/home/john/emc2-dev/lib/python/gladevcp/hal_pythonplugin.py", line 
> 17, in <module>
>    from hal_gremlin import HAL_Gremlin
>  File "/home/john/emc2-dev/lib/python/gladevcp/hal_gremlin.py", line 21, in 
> <module>
>    import gremlin
>  File "/home/john/emc2-dev/lib/python/gremlin.py", line 14, in <module>
>    import emc
> ImportError: /usr/lib/python2.6/dist-packages/emc.so: undefined symbol: 
> _ZN3NMLC1EPFilPvP3CMSEPcS5_S5_ii
> <commandline>:0: gladevcp exited without becoming ready
> Embeded tab command "halcmd loadusr -Wn gladevcp gladevcp -c gladevcp -x 
> 73400474 -u hitcounter.py manual-example.ui" exited with error: 1
> Shutting down and cleaning up LinuxCNC...
> Cleanup done
> EMC terminated with an error.  You can find more information in the log:
>    /home/john/emc_debug.txt
> and
>    /home/john/emc_print.txt
> as well as in the output of the shell command 'dmesg' and in the terminal
> john@john-desktop-linux:~/emc2-dev/configs/sim/gladevcp$
> =====================================
> 
> The undefined symbol looks totally implausible. dmesg has nothing unusual.
> 
> Suggestions on where I might have gone wrong would be much appreciated
> 
> John Prentice 
> 
> 
> ------------------------------------------------------------------------------
> 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


------------------------------------------------------------------------------
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