Native CAM - How To Install?

More
7 years 4 months ago #136073 by MJPfin
Replied by MJPfin on topic Native CAM - How To Install?
Clean install other machine same deal, but now curl installed automatically
Where should the ncam be located? /home/user/.local/bin i dont even find that folder. just home/cnc and thats it.

cnc@debian:~/Downloads$ sudo bash ncam_debsetup.txt
[sudo] password for cnc:
Detected operating system as debian/wheezy.
Checking for curl...
Installing curl...
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
libcurl3
The following NEW packages will be installed:
curl libcurl3
0 upgraded, 2 newly installed, 0 to remove and 311 not upgraded.
Need to get 611 kB of archives.
After this operation, 915 kB of additional disk space will be used.
Get:1 archive.debian.org/debian-security/ wheezy/updates/main libcurl3 i386 7.26.0-1+wheezy25+deb7u1 [339 kB]
Get:2 archive.debian.org/debian-security/ wheezy/updates/main curl i386 7.26.0-1+wheezy25+deb7u1 [272 kB]
Fetched 611 kB in 1s (458 kB/s)
Selecting previously unselected package libcurl3:i386.
(Reading database ... 126431 files and directories currently installed.)
Unpacking libcurl3:i386 (from .../libcurl3_7.26.0-1+wheezy25+deb7u1_i386.deb) ...
Selecting previously unselected package curl.
Unpacking curl (from .../curl_7.26.0-1+wheezy25+deb7u1_i386.deb) ...
Processing triggers for man-db ...
Setting up libcurl3:i386 (7.26.0-1+wheezy25+deb7u1) ...
Setting up curl (7.26.0-1+wheezy25+deb7u1) ...
Running apt-get update... done.
Installing debian-archive-keyring which is needed for installing
apt-transport-https on many Debian systems.
Installing apt-transport-https... done.
Installing /etc/apt/sources.list.d/FernV_NativeCAM.list...done.
Importing packagecloud gpg key... done.
Running apt-get update... done.

The repository is setup! Installing NativeCAM... done.
cnc@debian:~/Downloads$ nativecam
bash: nativecam: command not found
cnc@debian:~/Downloads$ ncam
bash: ncam: command not found
cnc@debian:~/Downloads$

Iḿ doing something stupidly wrong but what?

Please Log in to join the conversation.

More
7 years 4 months ago #136082 by MJPfin
Replied by MJPfin on topic Native CAM - How To Install?
Somehow the deb pack wont install properly, had to run manually sudo apt-get install apt-transport-https and sudo apt-get install nativecam for it to work.
The https was the key it did not get installed for what ever reason.

After that I updated to 2.7.14 and now everything works.
Thanks guys for trying to help.

Please Log in to join the conversation.

More
6 years 7 months ago #159922 by pmconsulting
I just ran the installation per the instructions for executing the text file & installing it as a .deb.

Here's the output:
Code:
$ sudo bash ncam_debsetup.txt [sudo] password for pat: Detected operating system as LinuxMint/tricia. Checking for curl... Detected curl... Running apt-get update... done. Installing apt-transport-https... done. Installing /etc/apt/sources.list.d/FernV_NativeCAM.list...done. Importing packagecloud gpg key... done. Running apt-get update... done. The repository is setup! Installing NativeCAM... done.

But, when I enter 'ncam' at the command prompt, I get 'Command 'ncam' not found'. Same thing if I type './ncam'.

I don't know where it is installing the program and I can't find it in Synaptic Package Manager.

Any suggestions? I'm running LinuxCNC v2.8 on Mint v19.3

Please Log in to join the conversation.

More
6 years 7 months ago #160031 by Barry
Replied by Barry on topic Native CAM - How To Install?
The attached procedure describes how I successfully installed NCam and embedded it in LinuxCNC. I hope this helps.

Cheers,

Barry

Please Log in to join the conversation.

More
6 years 5 months ago #166735 by pmconsulting
Here's a PDF version of the same instructions for those who might need it:

Attachment not found

Please Log in to join the conversation.

More
6 years 3 months ago #175537 by bruno2626
Hi,
I can't get Nativecam installed on a new milling machine (Hurco BMC 40).
Apparently I have python installed but not python-lxml.
Python-lxml does not appear in synaptic.
I tried to install it from a deb file but some dependencies (python:any and libxml2) prevent me from doing so.
Since debian's been archived, I can't install much of anything.
What do you have in your source list file?
I've already installed nativecam for other machines but each time I'm struggling a little bit more! I don't understand much about Linux.

Thanks.
Bruno

Please Log in to join the conversation.

More
6 years 3 months ago #175569 by Barry
Replied by Barry on topic Native CAM - How To Install?
Bruno, I hope someone will answer your question because I ran into the exact same problem when transferring all of my Wheezy CNC files to a new computer with a fresh installation of Wheezy this past week. I worked on it for countless hours and could not figure out how to install python-lxml. Cloning it from Get-hub is not a problem...just open a terminal and type

git clone github.com/lxml/lxml.git lxml

but then I did not have "pip" to be able to install it. So then I worked on trying to figure out how to install "pip" to be able to run....... sudo pip install lxml.

I did a lot more things and got close but could never get it to fully work. So I gave up and downloaded an iso of Debian 9.0 Stretch to a DVD and installed Stretch. Everything went very smoothly after that and I was able to quickly embed NCAM into the Linuxcnc Axis program, and my CNC was up and running again. I actually like Stretch better than Wheezy.

Note: Once you solve the python-lxml issue, the next issue is figuring out how to install gladevcp if you plan to embed NCAM into Linuxcnc Axis.

If you choose to move to Debian 9 - Stretch and want the installation directions that I documented to repeat the process if necessary, just let me know and I'll post them.

Good luck,

Barry

Please Log in to join the conversation.

More
6 years 3 months ago #175606 by bruno2626
Thank you for your response Barry.
I managed to install python-lxml with pip.
Indeed, now I have a gladevcp error: could not create GladeXML object.
glade-gtk2 was already installed...

So, I'll take your advice about Debian 9.0 Stretch.

Thanks.
Bruno

Please Log in to join the conversation.

More
6 years 3 months ago #175668 by bruno2626
Hi,
I set up Debian 9.0 Stretch found here (i386 r13):
www.linuxcnc.org/testing-stretch-rtpreempt/

I have the same error with gladevcp.
This is the 4th pc where I install nativecam, the other times were easier!

Please Log in to join the conversation.

More
6 years 3 months ago #175721 by bruno2626
Hi,
I finally made it.
I had Debian 9 installed with no network. That's a bad idea.

Thanks.
Bruno

Please Log in to join the conversation.

Time to create page: 0.070 seconds
Powered by Kunena Forum