- Posts: 70
- Thank you received: 0
rip-environment script not running on RPi4 64bit
I set-up a RPi4 with a 64bit real-time kernel 5.4.61-rt37-v8+.
I also installed 2.8.1 which is running fine.
Then I got the source from github, satisfied all the dependencies and compiled successfully.
Finally to test my build I run from the src directory:
Any suggestions what could be wrong?
Best regards,
Marc
PS: ...the very same procedure worked fine for me on my laptop with Debian Buster.
Please Log in to join the conversation.
- BeagleBrainz
- New Member
-
- Thank you received: 0
Please Log in to join the conversation.
Please Log in to join the conversation.
Have you ever build a .deb on the machine? That can change the config away from run-in-place.
make clean
./sutogen,sh
./configure --with-realtime-uspace
make
sudo make setuid
Should get you back to a run-in-place.
Please Log in to join the conversation.
you were exactly right. Had built a .deb package before and make clean solved it.
Thanks a lot
Regards,
Marc
Please Log in to join the conversation.
andypugh wrote:
make clean
./sutogen,sh
./configure --with-realtime-uspace
make
sudo make setuid
I use the linuxcnc prebuilt images provided on the downloads page, when ever I build a run-in-place version of linuxcnc, the first time I usually need to install all the dependencies/library manually despite having linuxcnc already installed globally.
Why is that? Is there a configuration option Im not using properly?
Please Log in to join the conversation.
That is normal. I understand your question.
For building lcnc from source you actually need all the libraries it depends on only at compile time.
But you also need a few extra's like build-essentials, gcc (the compiler itself), etc.
Some of the dependencies will be compiled into the lcnc code. Some will stay out like python.
After compiling you have a closed source, if you delete the src folder.
The process of compiling lcnc is quite complicated.
A trick for enabling "ripping the environment" :evil: :
Please Log in to join the conversation.
Grotius wrote: Hi Cakeslob,
That is normal. I understand your question.
For building lcnc from source you actually need all the libraries it depends on only at compile time.
But you also need a few extra's like build-essentials, gcc (the compiler itself), etc.
Some of the dependencies will be compiled into the lcnc code. Some will stay out like python.
After compiling you have a closed source, if you delete the src folder.
Ok, because I use this as my install guide forum.linuxcnc.org/32-documents/34495-in...ion-git-clone#109943 (thanks, it explains whats happening step by step , which I desperately need )
So if I understand correctly, the premade images, linuxcnc is compiled beforehand? And on any system, once linuxcnc is compiled, you can strip away (some) the things required only to build it (the things compiled into linuxcnc code)?
Please Log in to join the conversation.
cakeslob wrote: I use the linuxcnc prebuilt images provided on the downloads page, when ever I build a run-in-place version of linuxcnc, the first time I usually need to install all the dependencies/library manually despite having linuxcnc already installed globally.
Why is that? Is there a configuration option Im not using properly?
The ISO includes all the run-time dependencies, but does not include all the build-time dependencies.
But that as led me to wonder why linuxcnc-dev does not have all the dependencies as dependencies.
Please Log in to join the conversation.
- BeagleBrainz
- New Member
-
- Thank you received: 0
If I remember correctly up to about 6 -12 months there was a script in the source tree that used to help with dependencies.
Building Linuxcnc itself is not at all difficult once all the build deps are there.
I used to supply a “build dev package” along with the regular Linuxcnc updates when I had the Mint repo. TBH I don’t think anyone actually downloaded or used the package.
Please Log in to join the conversation.
