7i97 newbie questions

More
7 years 1 week ago #148618 by PCW
Replied by PCW on topic 7i97 newbie questions
Yes you need LinuxCNC uspace + Preempt-RT

Please Log in to join the conversation.

More
7 years 1 week ago #148637 by Samuelx
Replied by Samuelx on topic 7i97 newbie questions
Thank you
This is how far i got When I Was following POST 2 = USPACE PREEMPT Building Kernel and LinuxCNC from source and creating a .deb to Install.

dpkg-checkbuilddeps
no broblems anymore, installed missing packets

git checkout 2.7 [what ever branch you want, or skip this step for master]
I skipped the above command

debuild -uc -us
After this command, it made a work long time.

and got this error:

Makefile:653: recipe for target 'install-python' failed
make[1]: *** [install-python] Error 1
make[1]: Leaving directory '/home/samuelx/linuxcnc-dev/src'
debian/rules:61: recipe for target 'install' failed
make: *** [install] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
debuild: fatal error at line 1376:
dpkg-buildpackage -rfakeroot -D -us -uc failed

Please Log in to join the conversation.

More
7 years 1 week ago #148643 by PCW
Replied by PCW on topic 7i97 newbie questions
You might ask on the thread where you got the build instructions

Please Log in to join the conversation.

More
7 years 1 week ago #148644 by Samuelx
Replied by Samuelx on topic 7i97 newbie questions
Thanks, I will.

Please Log in to join the conversation.

More
7 years 1 week ago #148676 by Samuelx
Replied by Samuelx on topic 7i97 newbie questions
Many thanks for your help.
I got it up and running.
Now new problem....latency

So I started on beginig to do it right on first time.

Now mint 18.1 is installed
kernel is changed amd working
Only problem now is the linuxcnc install

I notice that on the modified makefile there is a line (line 678)
$(FILE) ../lib/python/qtvcp/widgets/*.py ../lib/python/qtvcp/widgets/*.ui $(DESTDIR)$(SITEPY)/qtvcp/widgets

I check the orginal makefile and there (line 692) that look a same place on code line is like this
$(FILE) ../lib/python/qtvcp/widgets/*.py $(DESTDIR)$(SITEPY)/qtvcp/widgets

The problem is that there is no any .ui files on that folder (widgets) so installing crashes here.
Can I just delete ../lib/python/qtvcp/widgets/*ui
and modify line like this
$(FILE) ../lib/python/qtvcp/widgets/*.py $(DESTDIR)$(SITEPY)/qtvcp/widgets

I looked the orginal makefile there line 692 that look a same place in code is
$(FILE) ../lib/python/qtvcp/widgets/*.py $(DESTDIR)$(SITEPY)/qtvcp/widgets

Please Log in to join the conversation.

More
7 years 1 week ago #148696 by PCW
Replied by PCW on topic 7i97 newbie questions
Did you start with the stretch ISO?
That does not really look like a real time system

Please Log in to join the conversation.

More
7 years 1 week ago #148697 by Samuelx
Replied by Samuelx on topic 7i97 newbie questions
I made a mistake on first install

I didnt do this
CAUTION: You MUST at the minimum select "Fully Preemptable Kernel" in the "Processor Types and Features" section. You can use the search function to find this easy.

Now I installed all again but stucked in linuxcnc install
Thats why i modified my last post and take the latency test away

Please Log in to join the conversation.

More
7 years 1 week ago #148699 by PCW
Replied by PCW on topic 7i97 newbie questions
Yeah Probably because that is a 2.9 Makefile
I would just use the original Makefile and add two lines:

hal/drivers/mesa-hostmot2/inmux.o \
hal/drivers/mesa-hostmot2/xy2mod.o \

in the hostmot2-objs section

Please Log in to join the conversation.

More
7 years 1 week ago #148700 by Samuelx
Replied by Samuelx on topic 7i97 newbie questions
Ok, I try that.

After linuxcnc is successfully installed, where I should drop 7i97.ini and 7i97.hal files?
Or should i drop them somewhere before the debuild -uc -us

Please Log in to join the conversation.

More
7 years 1 week ago #148701 by PCW
Replied by PCW on topic 7i97 newbie questions
Normally they go in ~/linuxcnc/configs/

Not sure why you are building debs...

Please Log in to join the conversation.

Time to create page: 0.054 seconds
Powered by Kunena Forum