Need help installing LinuxCNC

More
24 Mar 2019 08:18 #129453 by InMyDarkestHour
If you want to use a linuxcnc install image maybe just buy a seperate NIC. If of course you have a spare slot

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

More
24 Mar 2019 09:25 - 24 Mar 2019 21:18 #129459 by InMyDarkestHour
To build on Ubuntu 18.04.1

In your terminal:
sudo apt install devscripts build-essential imagemagick tcl8.6-dev tk8.6-dev libxaw7-dev libncurses-dev python-dev python-tk libglu1-mesa-dev libgtk2.0-dev source-highlight libboost-python-dev debhelper libmodbus-dev dvipng libusb-1.0-0-dev inkscape python-numpy python-imaging-tk python-gtkglext1 blt bwidget libtk-img tclx libudev-dev python-vte libqt4-dev libssl-dev libxenomai-dev git python-pil.imagetk

(The above has to be on one line)

sudo apt install yapps2 intltool libreadline-dev git

cd ~
git clone https://github.com/LinuxCNC/linuxcnc.git linuxcnc-dev

cd linuxcnc-dev/src

./autogen.sh
./configure --with-realtime=uspace --enable-non-distributable=yes
make
sudo make setuid

cd ../scripts
. ./rip-environment
(note it is dot space dot/rip-environment)
linuxcnc

I just installed Ubuntu 18.04.1 in virtualbox and went through the process. Just to check.
Last edit: 24 Mar 2019 21:18 by InMyDarkestHour. Reason: added code tags, fix configure

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

More
24 Mar 2019 17:12 #129493 by Don4
Replied by Don4 on topic Need help installing LinuxCNC
I ran into trouble with the second command. Got an error on initltool.

....
Processing triggers for tex-common (6.09) ...
Running updmap-sys. This may take some time... done.
Running mktexlsr /var/lib/texmf ... done.
Building format(s) --all.
This may take some time... done.


don@don-PRIME-Z390-A:~$ sudo apt install yapps2 initltool libreadline-dev git
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package initltool
don@don-PRIME-Z390-A:~$

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

More
24 Mar 2019 18:22 - 24 Mar 2019 18:24 #129495 by InMyDarkestHour
Sorry my bad stupid typo

the package you want is intltool

the original post has been edited to suit
Last edit: 24 Mar 2019 18:24 by InMyDarkestHour.

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

More
24 Mar 2019 18:40 #129497 by Don4
Replied by Don4 on topic Need help installing LinuxCNC
Thanks... that command worked... now have another problem

don@don-PRIME-Z390-A:~$ cd ~
don@don-PRIME-Z390-A:~$ git clone github.com/LinuxCNC/linuxcnc.git linuxcnc-dev
fatal: repository 'github.com/LinuxCNC/linuxcnc.git' does not exist
don@don-PRIME-Z390-A:~$

i see a linuxcnc.gif
is that what I should use?

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

More
24 Mar 2019 19:03 #129498 by tommylight
The stretch version of 2.8 ( master ) works in LinuxMint19.1 as is !
Literally download, open with gdebi, click install ! That is with Preempt-RT .
Sim should also work without preempt-rt.

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

More
24 Mar 2019 19:31 - 24 Mar 2019 19:32 #129508 by InMyDarkestHour
Another typo :(
git clone https://github.com/LinuxCNC/linuxcnc.git linuxcnc-dev

Original has been edited as well
Last edit: 24 Mar 2019 19:32 by InMyDarkestHour.

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

More
24 Mar 2019 19:37 #129511 by InMyDarkestHour
I think I have a solution to your card not being recognised with the Debian net install.
Found the updated driver source and compiled it, it should recognise your card, would have to make some packages for you to install once the install is completed.

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

More
24 Mar 2019 21:13 #129518 by Don4
Replied by Don4 on topic Need help installing LinuxCNC
Thanks Tommylight with your input. i will give that a try when I get a chance.

I believe I found another typo in that install post. The command as given is

./confiure --with-realtime=uspace --enable-non-distributable=yes
I think it should be
./configure --with-realtime=uspace --enable-non-distributable=yes

If you concur it would be good to edit the post for future reference.
With that change I was able to finish the installation and start linuxcnc YEAH!!!:woohoo:

Thanks so much for everyone's help

If you think you have a solution for the network card I would be glad to give that another go.

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

More
24 Mar 2019 21:27 #129520 by InMyDarkestHour
Yeah you got it to work, even after my dopey typos.

I'll have to run through the process a few times to nail it down.

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

Time to create page: 0.107 seconds
Powered by Kunena Forum