Difficulty building RTAI linuxcnc from source

More
3 years 3 months ago #276369 by tommylight

Please Log in or Create an account to join the conversation.

More
3 years 3 months ago #276374 by southbayguy
Probably something like "Difficulty building linuxcnc from source."

Please Log in or Create an account to join the conversation.

More
3 years 3 months ago #276375 by southbayguy
Please see praise for LinuxCNC here:

www.woodenreliefmaps.com/pages/about

Thanks.

Please Log in or Create an account to join the conversation.

More
3 years 3 months ago #276379 by andypugh

I downloaded the zip file. Maybe that's the issue.
 
Yes, you probably downloaded the zip for the development version of LinuxCNC, and that is not currently working with RTAI 

Try again, using this .zip file:   github.com/LinuxCNC/linuxcnc/archive/refs/heads/2.8.zip

(Or use git clone, which is probably a better idea. Wipe the existing linuxcnc-dev folder and then 
git clone  github.com/LinuxCNC/linuxcnc.git linuxcnc-dev
cd linuxcnc-dev
git checkout 2.8
./autogen.sh
./configure
make
sudo make setuid
 

Please Log in or Create an account to join the conversation.

More
3 years 3 months ago #276380 by tommylight
Topic tittle changed.
-

Please see praise for LinuxCNC here:

www.woodenreliefmaps.com/pages/about

Thanks.
Wow, nice maps, thank you.
The prices seem very reasonable considering the time it takes to make those.

Please Log in or Create an account to join the conversation.

More
3 years 3 months ago #276386 by southbayguy
Thank you for sticking with me.
git clone github.com/LinuxCNC/linux.git linuxcnc-dev didn't work until I pre-pended https:// in front of github.com.
I had to cd into /src for ./autogen.sh to work ... I had been in /src running autogen earlier in the week, so I knew to do so.
./configure errored out because I didn't have GTK or the right version of GTK. To see what would happen I took the suggestion and did ./configure --disable-gtk. That may have been a foolish decision if the LinuxCNC GUI is trashed for lack of GTK. Then ./configure ran past GTK but encountered the same rigmarole as a few days ago about licensing, so I ended up doing ./configure --disable-gtk --enable-non-distributable=yes.
That last ./configure command yielded the success box.

I ran make. It bombed, saying "No module named yapps."
Since then, I haven't tried anything. I'm feeling that I have a cleaner copy of the code than in previous attempts and I don't want to ruin it by getting too creative.
Here's the output from make when it stops:



Compiling hal/hal_lib.c
Compiling rtapi/rtai_ulapi.c
Creating shared library liblinuxcnchal.so.0
ln -sf liblinuxcnchal.so.0 ../lib/liblinuxcnchal.so
Creating shared library libnml.so.0
ln -sf libnml.so.0 ../lib/libnml.so
Compiling rtapi/test_rtapi_vsnprintf.c
Linking test_rtapi_vsnprintf
Compiling hal/components/streamer_usr.c
Linking halstreamer
Compiling hal/components/sampler_usr.c
Linking halsampler
Compiling hal/components/panelui.c
Linking panelui
Compiling hal/user_comps/mb2hal/mb2hal.c
Compiling hal/user_comps/mb2hal/mb2hal_init.c
Compiling hal/user_comps/mb2hal/mb2hal_modbus.c
Compiling hal/user_comps/mb2hal/mb2hal_hal.c
Linking mb2hal
Compiling hal/user_comps/gs2_vfd.c
Linking gs2_vfd
Compiling hal/user_comps/hy_gt_vfd.c
Linking hy_gt_vfd
Compiling hal/user_comps/shuttle.c
Linking shuttle
Compiling hal/user_comps/xhc-hb04.cc
Linking xhc-hb04
Compiling hal/user_comps/sendkeys.c
Linking sendkeys
Syntax checking python script halcompile
Copying python script halcompile
Preprocessing thermistor.comp
Traceback (most recent call last):
File "../bin/halcompile", line 24, in <module>
from yapps import runtime
ImportError: No module named yapps
make: *** [hal/user_comps/Submakefile:89: objects/hal/user_comps/thermistor.c] Error 1
robert@debian:~/linuxcnc-dev/src$

Please Log in or Create an account to join the conversation.

Time to create page: 0.481 seconds
Powered by Kunena Forum