7i97 newbie questions

More
23 Oct 2019 19:35 #148618 by PCW
Replied by PCW on topic 7i97 newbie questions
Yes you need LinuxCNC uspace + Preempt-RT

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

More
23 Oct 2019 22:16 #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 or Create an account to join the conversation.

More
23 Oct 2019 22:41 #148643 by PCW
Replied by PCW on topic 7i97 newbie questions
You might ask on the thread where you got the build instructions
The following user(s) said Thank You: Samuelx

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

More
23 Oct 2019 22:45 #148644 by Samuelx
Replied by Samuelx on topic 7i97 newbie questions
Thanks, I will.

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

More
24 Oct 2019 07:13 - 24 Oct 2019 13:31 #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
Attachments:
Last edit: 24 Oct 2019 13:31 by Samuelx.

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

More
24 Oct 2019 13:21 #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 or Create an account to join the conversation.

More
24 Oct 2019 13:25 - 24 Oct 2019 13:26 #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
Last edit: 24 Oct 2019 13:26 by Samuelx.

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

More
24 Oct 2019 13:31 #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 or Create an account to join the conversation.

More
24 Oct 2019 13:44 - 24 Oct 2019 13:54 #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
Last edit: 24 Oct 2019 13:54 by Samuelx.

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

More
24 Oct 2019 14:06 #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 or Create an account to join the conversation.

Moderators: PCWjmelson
Time to create page: 0.081 seconds
Powered by Kunena Forum