...some small steps ahead but not quite inside yet: - installed debian buster - configured like this: ./configure --with-hal=machinekit-hal --with-python=python3 --with-boost-python=boost_python-py35 - done the modifications to .ini and .hal files needed to upgrade linuxcnc from 2.8 -> 2.9
... *./singleaxis.hal:2: Realtime module 'trivkins' loaded* *./singleaxis.hal:5: Realtime module 'motmod' loaded* *./singleaxis.hal:8: Function 'motion-command-handler' added to thread 'servo-thread', rmb=0 wmb=0* *./singleaxis.hal:9: Function 'motion-controller' added to thread 'servo-thread', rmb=0 wmb=0* *<commandline>:0: Realtime threads started* *milltask: symbol lookup error: milltask: undefined symbol: initinterpreter* *<commandline>:0: milltask exited without becoming ready* *Traceback (most recent call last):* * File "/usr/bin/axis", line 61, in <module>* * from minigl import ** *ImportError: /home/zus/EMCApplication/lib/python/minigl.so: undefined symbol: PyModule_Create2* *Shutting down and cleaning up LinuxCNC...* ... On Sunday, 25 October 2020 at 12:17:03 UTC+1 Claudio Lorini wrote: > Thanks, > i'll give it a try to see if i can replicate you results! > C. > On Sunday, 25 October 2020 at 11:37:41 UTC+1 Michael Brown wrote: > >> On the first run I had luck with the very first axis sim config. >> I the modified a config for my Oxdroid router and also got that to run. >> Attatched my linuxcnc folder with the working configs: >> >> On Sunday, October 25, 2020 at 11:18:20 AM UTC+1 Claudio Lorini wrote: >> >>> ...getting closer but no luck for me with that: >>> >>> *...* >>> *Found file(lib): /usr/share/linuxcnc/hallib/axis_manualtoolchange.hal* >>> *4:rtapi_app:965:user pid=965 flavor=rt-preempt gcc=6.3.0 20170516 >>> git=unknown* >>> *Traceback (most recent call last):* >>> * File "/usr/bin/hal_manualtoolchange", line 11, in <module>* >>> * import linuxcnc, hal* >>> *ImportError: /home/zus/EMCApplication/lib/python/linuxcnc.so: undefined >>> symbol: PyUnicode_FromString* >>> */usr/share/linuxcnc/hallib/axis_manualtoolchange.hal:1: >>> hal_manualtoolchange exited without becoming ready* >>> *Shutting down and cleaning up LinuxCNC...* >>> *...* >>> >>> i'm trying to start axis, but also with other configurations i had no >>> luck. >>> which configuration are you running? >>> >>> On Saturday, 24 October 2020 at 20:47:29 UTC+2 Michael Brown wrote: >>> >>>> Just got a working Python3 Emcapplication running on the FZ3 arm64 >>>> mksocfpga: based on this thread: >>>> <https://github.com/machinekit/EMCApplication/issues/2#issuecomment-706786657> >>>> >>>> git clone git clone >>>> https://github.com/machinekit/emcapplication.git >>>> cd emcapplication >>>> sudo apt install build-essential fakeroot devscripts equivs python >>>> lsb-release apt-cudf >>>> sudo apt-get install python3-tk >>>> debian/configure >>>> machinekit-hal=0.4.21003-1.git39389db84~$(lsb_release -cs) no-docs >>>> mk-build-deps -irs sudo -t 'apt-cudf-get --solver aspcud -o >>>> Debug::pkgProblemResolver=0 -o APT::Install-Recommends=0' >>>> cd src >>>> ./autogen.sh >>>> ./configure --with-hal=machinekit-hal --with-python=python3 >>>> --with-boost-python=boost_python-py35 >>>> make -j$(nproc) >>>> sudo make install >>>> source ../scripts/rip-environment >>>> linuxcnc >>>> >>>> On Saturday, October 3, 2020 at 7:49:44 PM UTC+2 Claudio Lorini wrote: >>>> >>>>> Hello, >>>>> i'm trying running EMCApplication on a MYIR Ultrascale board, with >>>>> kernel: >>>>> Linux zus-cl 5.4.0-rt1+ #7 SMP PREEMPT_RT Wed Sep 30 13:21:36 CEST >>>>> 2020 aarch64 GNU/Linux >>>>> with Debian strech >>>>> >>>>> I think i managed to install nachinekit-hal, all tests are passing and >>>>> i can get some very >>>>> nice result on latency tests: >>>>> [image: 5.4RT.png] >>>>> i built EMCA from sources and configured to use hachinekit-hal (i >>>>> think) >>>>> ./configure --with-hal=machinekit-hal >>>>> >>>>> but launching any configuration for linuxcnc i get some sort of this >>>>> error: >>>>> .... >>>>> 4:rtapi_app:5413:user pid=5413 flavor=rt-preempt gcc=6.3.0 20170516 >>>>> git=unknown >>>>> Traceback (most recent call last): >>>>> File "/home/zus/EMCApplication/bin/hal_manualtoolchange", line 11, >>>>> in <module> >>>>> import linuxcnc, hal >>>>> File "/home/zus/EMCApplication/lib/python/hal.py", line 30, in >>>>> <module> >>>>> import _hal >>>>> *ImportError: No module named _hal* >>>>> >>>>> I think i miss some very basic step, i tried to look for some basic >>>>> how-to but could not find anything useful... >>>>> can someone point me in the right direction? >>>>> >>>>> >>>>> >>>>> -- website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit --- You received this message because you are subscribed to the Google Groups "Machinekit" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/machinekit/17f1d04b-78b7-4b35-913f-9381ab8d217fn%40googlegroups.com.
