On Saturday 25 April 2020 14:13:14 Jon Elson wrote:

> On 04/25/2020 12:33 PM, andy pugh wrote:
> > On Sat, 25 Apr 2020 at 18:29, Jon Elson <[email protected]> 
wrote:
> >> Seems like a problem with a preempt rt build -- or the
> >> instructions for it.
> >
> > Which instructions were you following?
>
> Ugh, there is a wiki page under "Installing linuxCNC" that
> has sections for many (old) systems.
> There a link at the top of the page, but it doesn't have
> info on compiling from source.
> So, this Wiki page is the only place I know that tells how
> to do the whole process.
>
> Anyway, I did manage to plunge through it and get it running.
>
> Thanks,
>
> Jon
>
Jon, I've written a couple .sh scripts that your can get from my rpi4 
link described earlier today that have condensed the wiki page down to 
two short bash files, maketoruntests.sh and make-deb.sh. I use the same 
files to build master on both a wheezy build and on the raspbian-buster 
build except for one word in the wheezy because its rtai, whereas the pi 
build is uspace. Get the rpi4 version from my web page, edit the 
configure line to match your build. Both assume a live net connection as 
the first active line is a git pull to make sure you have the latest.

Or use this one for the rtai build:

cd /media/linuxcnc/gene/linuxcnc-dev
git pull
cd ./src
./autogen.sh
./configure --with-realtime=3.4.9-rtai-686-pae
sudo make clean
time make -j4
sudo make setuid
source ../scripts/rip-environment
time runtests

And this one to make debs:

cd /media/linuxcnc/gene/linuxcnc-dev
cd debian
./configure uspace
cd ..
dpkg-checkbuilddeps
time dpkg-buildpackage -b -uc

Humm, that ./configure line probably needs changed too but it runs  ok 
anyway.
 
>
> _______________________________________________
> Emc-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-developers


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/gene>


_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to