NativeCAM is Features renamed

More
08 May 2017 15:16 #92824 by gmouer
Many of us have installed NativeCam by cloning the git directory and following Ferns instructions.

Some had issues trying to use NatveCam using the master branch of LCNC, myself included. Going to the release version cured those issues.

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

More
08 May 2017 15:17 #92825 by grump
Replied by grump on topic NativeCAM is Features renamed
I feel I am being a villain of the piece here, what you have created is a fantastic facility for us and I would love to use it.
There are too many if's, buts and variables to warrant doing so, I am sure your work is appreciated by many.
I am equally sure that many more would do so if it were an easy install which it isn't.
For my own reasons my online time is very restricted,I unable to research where faults lie and left to my own devices.

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

More
08 May 2017 17:19 - 08 May 2017 17:29 #92837 by FernV
Replied by FernV on topic NativeCAM is Features renamed
Hi Grump

Before making your decision, read this CAREFULLY (using path is not in the scope of this subject, you must know how to access a file or directory)

Making a deb was first proposed by senior developers of LinuxCNC like John T, Sebastian Kuzminski, Andy Pough and many others.
Dewey Garrett made tremendous work to make it possible. However it takes time to develop a project and the code to include NativeCAM is allready in the pre-release version of lcnc (the one you have). It will be available in the next stable release.

Why a deb version? Because using the non-deb version will require reinstalling NativeCAM on every update of lcnc. However it has been greatly simplified with nondeb_setup.py

If you feel 2 commands like 'make_deb' and 'pckg install' are too much and risky, using the non-deb is more work and no less risky (no risk in either case in fact)
If you want to go this way, then it is simple but you will have to redo it from times to times.

After you cloned (recommended instead of using the zip) you may try it standalone just by typing './ncam.py', it will create ~/nativecam directory and create the needed files there. It is not usefull because lcnc does not have access to subroutine path at this time. It can be deleted anytime without any consequences.

To use embedded, open a terminal in NativeCAM and issue the command :
'sudo ./nondeb_setup.py'
(it will modify files and create links to needed files. That will all be overwritten on the next lcnc update)

You may want to test with any of the demos supplied in configs/sim using normal command like :
'linuxcnc demo_ini_file,ini'

When you are ready to use with your setup (do not worry, a backup of your ini file will be created)
the next command is similar for a deb or non-deb :
with a deb it is : 'ncam -i your_inifilename.ini' (either issued from the inifile sub-dir or specifying the path to that sub-dir)
with a non-deb :'./ncam.py -i your_inifilename.ini' (specifying the path your inifile)
or '(full_path_to)/ncam.py -i your_inifilename.ini' (if from the ini dir)

linuxcnc your_inifilename.ini should be now embedded

If you want to go from a non-deb setup to a deb setup, you must first remove the non-deb from NativeCAM dir with
'sudo ./nondeb_setup.py c'
Then go with the deb setup as mentionned before and issue :
'ncam -i your_inifilename.ini' to update your inifile (however the backup is still the original ini)

Anytime you want to drop NativeCAM, delete your_inifile.ini and restore the backup by removing the '.bak'
Everything will be back to what it is now.

Good luck
Fern
Last edit: 08 May 2017 17:29 by FernV.

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

More
08 May 2017 17:29 #92839 by grump
Replied by grump on topic NativeCAM is Features renamed
Exactly my point thank you.
Complicated and doesn't do what it thinks it will do.

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

More
08 May 2017 17:31 #92841 by FernV
Replied by FernV on topic NativeCAM is Features renamed

... doesn't do what it thinks it will do.


Please explain

Fern

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

More
08 May 2017 17:58 #92845 by grump
Replied by grump on topic NativeCAM is Features renamed
cncuser@debian:~/linuxcnc/configs/my-mill/NativeCAM-master/debian$ ./makedeb.sh
=================================================
Changelog:
nativecam (0.1.1) UNRELEASED; urgency=medium

add TTFont engraving and example
add error message if copying, linking create an error

-- Fernand Veilleux <This email address is being protected from spambots. You need JavaScript enabled to view it.> Sun, 7 May 2017 13:51:00 -0500

nativecam (0.1.0) UNRELEASED; urgency=medium

Major update, changes include
...
=================================================

Is changelog up-to-date? (y|n)
y
Building deb
./makedeb.sh: line 20: debuild: command not found

unexpected status 127

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

More
08 May 2017 18:01 #92846 by cncnoob1979
Grump;

Do you have build essentials installed? Did you build linuxcnc yourself or are you using a buildbot version?

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

More
08 May 2017 18:11 #92848 by andypugh

I am equally sure that many more would do so if it were an easy install which it isn't.


This is mainly because it is an unreleased feature still under active development.
It will get easier when it is part of the released LinuxCNC distribution.
The following user(s) said Thank You: FernV

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

More
08 May 2017 18:11 #92850 by FernV
Replied by FernV on topic NativeCAM is Features renamed

./makedeb.sh: line 20: debuild: command not found


Sorry, Dewey also forgot to tell me to install that package too. I will check the version I have at home at the end of day and tell you what it is.

Meanwhile, check for installation of required debhelper package:
$ dpkg -i debhelper
ii debhelper 9.20120909 all helper programs for debian/rules

The rev (like 9.2xxxx) it must be >=6
If debhelper is not installed, then install it with:
$ sudo apt-get install debhelper

Fern

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

More
08 May 2017 18:50 #92860 by grump
Replied by grump on topic NativeCAM is Features renamed
Thanks for all your efforts but until it works from the box I won't be spending any more time trying to get it working.
Don't tell me things are updated and working when they clearly don't.
It is a perfect add on so please don't give up but I am too old to spend my life bashing my bonce against a wall when I should be enjoying what's left of it.
I'll keep an eye on progress and use it when it's stable.

Just to assist you here is the rely from your last post.

cncuser@debian:~$ sudo apt-get install debhelper
Reading package lists... Done
Building dependency tree
Reading state information... Done
debhelper is already the newest version (10.2.5).
debhelper set to manually installed.
0 upgraded, 0 newly installed, 0 to remove.
cncuser@debian:~$

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

Time to create page: 0.201 seconds
Powered by Kunena Forum