problem building 2.9.2 RIP

More
01 May 2024 17:39 - 01 May 2024 18:17 #299479 by vedatech
I have a 2.9.0~pre1 installed and running on ubuntu 22.04 with the 5.15.0-1061 PREEMT_RT kernel.
I am trying to build 2.9.2 before adding to my python modules and qtvcp screens. However, after
making a copy of the 2.9.2 git branch I can't get it to compile with:
> cd src
> ./autogen.sh
> ./configure
> make -j4
Makefile:121: *** Makefile.inc must specify RTPREFIX and other variables. Stop.

I check the debian dependencies and don't find any missing.
can't find any --rip options for ./configure
How are RTPREFIX and other variable supposed to get set?
Any help will be appreciated.

Forgot to add I want a RIP installation.
My 2.9.0~pre1 I'm using now has files added to share/qtvcp/screens. Is there a better place to add these and have linuxcnc find them?
Last edit: 01 May 2024 18:17 by vedatech.

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

More
04 May 2024 09:40 #299705 by andypugh
Replied by andypugh on topic problem building 2.9.2 RIP
I would expect what you have to work. But I nearly always compile on RTAI.

Try ./configure --with-realtime=uspace and see if it still complains.

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

More
05 May 2024 22:05 #299851 by vedatech
Replied by vedatech on topic problem building 2.9.2 RIP
I tried ./configure --with-realtime=uspace but autogen.sh complains about missing src/m4 files. I tried copying the m4 files it complained about from the 2.9.0~pre1 RIP installation but
gives errors about possibly undefined macros. Maybe there is a different git branch than 2.9 which is more complete?

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

More
05 May 2024 22:11 #299852 by rodw
Replied by rodw on topic problem building 2.9.2 RIP
I don't think anything has changed since I made this guide. I have certainl compile linuxcnc recently (for the 2.9 release)
The following user(s) said Thank You: vedatech

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

More
06 May 2024 01:45 #299871 by vedatech
Replied by vedatech on topic problem building 2.9.2 RIP
Thanks, I'll work through this to see if I missed a step. But first I'll make a disk image so I can be sure of recovering the 2.9.0~pre1 install if something goes wrong and any new packages kill the old installation

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

More
06 May 2024 21:18 #299968 by vedatech
Replied by vedatech on topic problem building 2.9.2 RIP
Thank you rodw. I now have 2.9.2 installed and working. I just have to get to use my qtvcp and python code. It seems like there should be path variables I could set to put my additions into my config folder and not have to touch the RIP folder. Any idea how to do this?

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

More
07 May 2024 01:54 #299989 by rodw
Replied by rodw on topic problem building 2.9.2 RIP
. ~/linuxcnc-dev/scripts/rip-environment

give or take a typo (leading dot is important!)

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

Time to create page: 0.132 seconds
Powered by Kunena Forum