Ubuntu PPA Repository

More
31 Jul 2018 22:03 - 24 Aug 2018 16:17 #115262 by szechyjs
If you are running Ubuntu LTS (Trusty, Xenial or Bionic) I now have a PPA repository setup on launchpad.net.

I have the stable v2.7 releases as well as daily v2.8 builds for both i386 & amd64.

Stable launchpad.net/~szechyjs/+archive/ubuntu/linuxcnc
sudo add-apt-repository ppa:szechyjs/linuxcnc
sudo apt-get update
sudo apt-get install linuxcnc-uspace

Daily code.launchpad.net/~szechyjs/+archive/ubuntu/linuxcnc-daily
sudo add-apt-repository ppa:szechyjs/linuxcnc-daily
sudo apt-get update
sudo apt-get install linuxcnc-uspace
Last edit: 24 Aug 2018 16:17 by szechyjs.
The following user(s) said Thank You: LinuksGuru, deusex25

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

More
22 Aug 2018 20:21 #116457 by LinuksGuru
Replied by LinuksGuru on topic Ubuntu PPA Repository
Hi !

Did you remember which extra repositories you defined in Ubuntu 18.04 LTS Bionic in order to compile stable v2.7?

I built 2.7 on previous 16 LTS, and it required very old outdated packages like libgnomeprint2.2-dev, tcl8.4-dev, tk8.4-dev.

PS. Please remove unnecessary dependencies from deb like kernel-rt. Thanks.

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

More
23 Aug 2018 21:13 #116505 by LinuksGuru
Replied by LinuksGuru on topic Ubuntu PPA Repository
According to this tutorial:
www.cnc-club.ru/wiki/index.php/%D0%A3%D1...D%D0%B0_Ubuntu_18.04

packages listed below required for compiling LinuxCNC

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

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

More
24 Aug 2018 16:17 #116550 by szechyjs
Replied by szechyjs on topic Ubuntu PPA Repository
Build dependencies are defined in the control file in the debian directory of the source. This file needs generated with:
./configure uspace

The control file that is used for the 2.8 nightlies is found below.

git.launchpad.net/~szechyjs/+git/linuxcnc/tree/debian/control

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

More
07 Sep 2018 19:14 #117203 by squik
Replied by squik on topic Ubuntu PPA Repository
Hi,

Do you have some specific repo added to the standard bionic ?
because I have some unmet dependencies :

apt-get install linuxcnc-uspace
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
linuxcnc-uspace : Depends: python2.7-imaging but it is not installable or
python-imaging but it is not installable
Depends: python-gst0.10 but it is not installable
Depends: gstreamer0.10-plugins-base but it is not installable
Recommends: linuxcnc-doc-en but it is not going to be installed or
linuxcnc-doc
Recommends: hostmot2-firmware-all but it is not installable
Recommends: linux-image-rt-amd64 but it is not installable
E: Unable to correct problems, you have held broken packages.

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

More
07 Sep 2018 20:46 #117204 by deusex25
Replied by deusex25 on topic Ubuntu PPA Repository
Hi guys!

Ihave exactly the same issue if I try to build LinuxCNC 2.8 under Bionic.
The packages mentioned above are not exist in 18.04. Rolling back to Xenial :-(
Would be nice to hear how did author managed to get it working under Bionic...

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

More
08 Sep 2018 13:08 #117221 by Aesculap
Replied by Aesculap on topic Ubuntu PPA Repository
Reply 08/09/18

I have the same issue.

I have compiled 2 RT kernels [4.16.18-rt12 (after the latest stable) & 4.13.13-rt5 (before the latest stable)] for implementation on amd64 UBUNTU 18.04.1 (see screenshot below); I have not yet tried to create an NVIDIA driver module for either so that at the time of writing (and of the screenshot) the Nouveau Xorg driver is running at 2560 x 1440.

I have used both the Git-Hub master source and Jared's dedicated source for LinuxCNC, commencing with ./autogen.sh in ~/linuxcnc-dev/src (renamed in Jared's case (from 'recipe') after tar -xJfv of his 2.80 source archive).



There is a consistent failure after 'successful' compilation in the runtests script suite, involving the parsing of text strings in the HAL-compile module; the same 3 tests fail with all builds, but LinuxCNC runs without difficulty in simulation. Clearly nothing can be hooked up to it without HAL passing self-testing at this stage.

In passing, I have successfully determined (intercurrrently) LinuxCNC 2.80 with pre-empt kernel [rpi-4.14.66-rt*] to userspace completion with ALL tests passed; the build dependencies were satisfied in that ecosystem, possibly the relevant sources could be compiled for this project, TNYA.

Resolution of the dependency issues to allow full building would be most welcome. Perhaps a source *tar.gz of the required dependencies could be made available from Jared's Launchpad site in due course.

Regards
Attachments:

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

More
11 Sep 2018 07:36 #117320 by Aesculap
Replied by Aesculap on topic Ubuntu PPA Repository
Reply 11/09/18

Further to the foregoing information.

I have now extensively tested the various compilation alternatives under UBUNTU 18.04.1 with the amd64 RT:Pre-empt kernels indicated previously; the 4.13.13-rt5 (before the latest stable) is the faster.
LinuxCNC 2.80 builds without error in this order: ./configure uspace noauto, dpkg-checkbuilddeps, ./autogen.sh, ./configure --with-realtime=uspace, make clear, make -j4 | tee -a LinuxCNCMake.log [Note: this command may be used to send the terminal output to the *.log file preferred, LinuxCNCMake.log in this case], sudo make setuid, . ./scripts/rip-environment (the last from within the linuxcnc-dev (or top local linuxcnc directory) directory).
Satisfaction of any build dependencies will be forced by the above sequence; they will depend upon your local machine setup.
Following this, in order to have pyvcp and HAL-widget functionality in creating custom control layouts, etc. it will be necessary to install GTK2-compatible versions of both glade and glade-gtk2; this is easily possible via standard trusted repositories.
However, once the above satisfying steps have been completed, and the linuxcnc install appears to function perfectly, in every permutation tried, either using Jared's source or git-hub repository, the outcome of the runtests suite is the same, ie:

*** /home/administrator/linuxcnc-dev/tests/halcompile/extralib: FAIL: test run exited with 2
--- count-and-extra-args.expected 2018-09-07 03:03:14.000000000 +0930
+++ count-and-extra-args.result 2018-09-09 15:42:53.814071238 +0930
@@ -1,26 +0,0 @@
-count=2
-argc=2
-argv[0]=userspace_count_names
-argv[1]=zip
-argv[2]=(null)
-userspace-count-names.0.out
-userspace-count-names.1.out
-
-count=2
-argc=3
-argv[0]=userspace_count_names
-argv[1]=zip
-argv[2]=zap
-argv[3]=(null)
-userspace-count-names.0.out
-userspace-count-names.1.out
-
-count=2
-argc=3
-argv[0]=userspace_count_names
-argv[1]=zap
-argv[2]=zoot
-argv[3]=(null)
-userspace-count-names.0.out
-userspace-count-names.1.out
-
--- count=3.expected 2018-09-07 03:03:14.000000000 +0930
+++ count=3.result 2018-09-09 15:42:54.234110248 +0930
@@ -1,8 +0,0 @@
-count=3
-argc=1
-argv[0]=userspace_count_names
-argv[1]=(null)
-userspace-count-names.0.out
-userspace-count-names.1.out
-userspace-count-names.2.out
-
--- names-and-extra-args.expected 2018-09-07 03:03:14.000000000 +0930
+++ names-and-extra-args.result 2018-09-09 15:42:54.626146656 +0930
@@ -1,33 +0,0 @@
-count=0
-names[0]=swim
-names[1]=swish
-argc=3
-argv[0]=userspace_count_names
-argv[1]=slap
-argv[2]=slop
-argv[3]=(null)
-swim.out
-swish.out
-
-count=0
-names[0]=swat
-names[1]=swap
-argc=4
-argv[0]=userspace_count_names
-argv[1]=slam
-argv[2]=slalom
-argv[3]=slap
-argv[4]=(null)
-swap.out
-swat.out
-
-count=0
-names[0]=sock
-names[1]=slack
-argc=2
-argv[0]=userspace_count_names
-argv[1]=slip
-argv[2]=(null)
-slack.out
-sock.out
-
--- names.expected 2018-09-07 03:03:14.000000000 +0930
+++ names.result 2018-09-09 15:42:55.046185664 +0930
@@ -1,9 +0,0 @@
-count=0
-names[0]=bibble
-names[1]=bobble
-argc=1
-argv[0]=userspace_count_names
-argv[1]=(null)
-bibble.out
-bobble.out
-
--- no-args.expected 2018-09-07 03:03:14.000000000 +0930
+++ no-args.result 2018-09-09 15:42:55.442222444 +0930
@@ -1,6 +0,0 @@
-count=0
-argc=1
-argv[0]=userspace_count_names
-argv[1]=(null)
-userspace-count-names.0.out
-
*** /home/administrator/linuxcnc-dev/tests/halcompile/userspace-count-names: FAIL: checkresult exited with 1
*** /home/administrator/linuxcnc-dev/tests/halcompile/userspace: FAIL: test run exited with 2
loadrt found the test component, and it failed to load
Runtest: 224 tests run, 221 successful, 3 failed + 0 expected
Failed:
/home/administrator/linuxcnc-dev/tests/halcompile/extralib
/home/administrator/linuxcnc-dev/tests/halcompile/userspace-count-names
/home/administrator/linuxcnc-dev/tests/halcompile/userspace

The failure of these tests may not be significant; everything seems to work, particularly after the glade/glade-GTK2 dependencies are satisfied.
It would be wonderful if one of the senior developers close to the code could indicate the likely cause(s), and their significance; at this stage, a faulty data structure, and/or the parsing of that data due to incorrect pointers seems most likely.
Additionally, I have installed 2.80 directly from Jared's repository (ie as he recommends via sudo apt-get *) after correcting the missing dependencies identified during that process; the outcome of the runtests suite is the same.
I have not found any references to the outcome of the post-installation runtests (these or any) or their relationship to any as yet undetermined defects.

Regards

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

More
02 Feb 2020 12:59 #156370 by sacarde
Replied by sacarde on topic Ubuntu PPA Repository
hi,
in a ubuntu18.04 I install ppa: ppa.launchpad.net/szechyjs/linuxcnc/ubuntu bionic InRelease

but when I run: sudo apt-get install linuxcnc-uspace
I have:

Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
linuxcnc-uspace : Depends: python2.7-imaging but it is not installable or
python-imaging but it is not installable
Depends: python-gst0.10 but it is not installable
Depends: gstreamer0.10-plugins-base but it is not installable
Recommends: linuxcnc-doc-en but it is not going to be installed or
linuxcnc-doc
Recommends: hostmot2-firmware-all but it is not installable
Recommends: linux-image-rt-amd64 but it is not installable
E: Unable to correct problems, you have held broken packages.


what is the problem?

thank you

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

More
02 Feb 2020 17:27 #156388 by tommylight
Replied by tommylight on topic Ubuntu PPA Repository
Please check if that is the official repository, and you also need to enable source code repositories in the software sources from the administration menu.

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

Time to create page: 0.270 seconds
Powered by Kunena Forum