You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
please describe exactly what base system you have and all the steps you took, including error messages - "makes me miss some packages" is not an error report somebody can act upon
@Strahlex
I do not know if you are the right person to complain about it,
but xenomai on jessie 8.4.0 cannot be started with Vagrant/VirtualBox.
There is a kernel panic at the beginning of the start.
My /etc/default/grub is
The only difference is my debian/configure -px instead of debian/configure -prx.
As you see, ./configure yields:
checking for CZMQ... yes
checking for PROTOBUF... no
configure: error: Package requirements (protobuf > 2.4.0) were not met:
No package 'protobuf' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables PROTOBUF_CFLAGS
and PROTOBUF_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
dpkg-query -l | grep protobuf does not find anything.
I think the libreadline-gplv2-dev requirement carried over from Wheezy, but could now just be replaced with the libreadline-dev meta-package to ensure the correct versions get pulled.
I was going to edit my original list of Jessie building and development packages in the docs, but that whole list appears to have been removed anyway.
vagrant@debian-jessie:~/machinekit$ sudo apt-get build-dep machinekit
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libncurses5-dev' instead of 'libncurses-dev'
The following packages have unmet dependencies:
libboost-thread-dev : Depends: libboost-thread1.55-dev but it is not going to be installed
E: Build-dependencies for machinekit could not be satisfied.
adding deb-src http://deb.machinekit.io/debian jessie main to /etc/apt/sources.list.d/machinekit.list before.
As you see there is a dependency problem: libboost-thread1.55-dev depends on libstdc++,
which is already installed as a sid and a jessie version:
Luca Boccassi (one of the Debian libczmq maintainers) promised to include libczmq-dev (3.0.2-7)
into jessie-backports.
Until then the following should be a workaround to avoid overlapping libstdc++ dependency between jessie and sid:
wget http://http.debian.net/debian/pool/main/c/czmq/czmq_3.0.2.orig.tar.gz
tar xfvz czmq_3.0.2.orig.tar.gz
cd czmq-3.0.2
./configure
make
make check
sudo make install
Activity
mhaberler commentedon May 3, 2016
this advice is about runtime packages, not required-for-build packages
If you follow this: https://github.com/machinekit/machinekit-docs/blob/master/machinekit-documentation/developing/machinekit-developing.asciidoc
and do the
sudo mk-build-deps -irstep, it'd all be covered. Why the hoops?sirop commentedon May 3, 2016
@mhaberler
I followed https://github.com/machinekit/machinekit-docs/blob/master/machinekit-documentation/developing/machinekit-developing.asciidoc
with the only difference that I built only for
posixandxenomai.So I did:
Is it the absent
rfor rt-preemt indebian/configure -pxthat makes me miss some packages?mhaberler commentedon May 3, 2016
please describe exactly what base system you have and all the steps you took, including error messages - "makes me miss some packages" is not an error report somebody can act upon
sirop commentedon May 3, 2016
I began with a fresh Debian install based on
debian-8.3.0-amd64-CD-1.iso.No desktop - gnome or similar - was installed. Openssh server was installed.
Then:
From now on under
3.8-1-xenomai.x86-amd64 jessy:Edited
/etc/apt/sources.list.As I thought that I'd need to fetch all the machinekit runtime packages ,
I did at this point:
Then:
Now
./configurecomplained about missing packages which I had to install one by oneas above said in #71 (comment) .
mhaberler commentedon May 3, 2016
can you reproduce this including a log?
there's definitely something wrong
example: liburiparser-dev - stock from debian stream, and a build dep here: https://github.com/machinekit/machinekit/blob/master/debian/control.in#L15
sudo mk-build-deps -irMUST catch this onesirop commentedon May 3, 2016
I have to setup a fresh jessy installation for that. Will do it tomorrow morning.
machinekoder commentedon May 3, 2016
@sirop I can recommend using Vagrant for testing such things. (see https://github.com/strahlex/machinekit-vagrant)
sirop commentedon May 4, 2016
@Strahlex
I do not know if you are the right person to complain about it,
but xenomai on jessie 8.4.0 cannot be started with Vagrant/VirtualBox.
There is a kernel panic at the beginning of the start.
My
/etc/default/grubisAnyway I'll do the same tomorrow on a "real" machine.
sirop commentedon May 5, 2016
@mhaberler
Ok, I just set up debian-8.3.0-amd64-CD-1.iso on a "real" machine.
I began with these packages installed as
dpkg-query -lshows them:https://gist.github.com/sirop/7984794ba4946e3c14d81be94bbc0f8b
Then I did:
Recorded the terminal session with
script:https://gist.github.com/sirop/f31a7e818d71445c7a4e540873d8f3b0
The only difference is my
debian/configure -pxinstead ofdebian/configure -prx.As you see,
./configureyields:dpkg-query -l | grep protobufdoes not find anything.ArcEye commentedon May 6, 2016
The protobuf packages I have installed on jessie rt-preempt amd64 are:
I never use debian/XXXX unless I am building a deb and don't expect it to
supply a full set of packages for building, just to run packages.
The basic set of files you need are in debian/control.in
Will probably find that
libprotobuf-dev, libprotoc-dev, protobuf-compiler and python-protobufwill pull all the rest with them.
sirop commentedon May 6, 2016
@ArcEye
I followed now your advice and built without
sudo mk-build-deps -ir,but had to install these packages before:
Well, then I'll do it this way in future.
ArcEye commentedon May 6, 2016
I think this is largely a debian package problem.
They have both https://packages.debian.org/jessie/libreadline-gplv2-dev
and
https://packages.debian.org/jessie/libreadline6-dev
in the same repo
The meta-package libreadline-dev requires libreadline6-dev and conflicts with libreadline-gplv2-dev
so it is possible to get in a right state, depending upon what was installed first.
I think the
libreadline-gplv2-devrequirement carried over from Wheezy, but could now just be replaced with thelibreadline-devmeta-package to ensure the correct versions get pulled.I was going to edit my original list of Jessie building and development packages in the docs, but that whole list appears to have been removed anyway.
sirop commentedon May 6, 2016
@ArcEye
Do you mean this list:
https://github.com/luminize/machinekit-docs/blob/master/machinekit-documentation/developing/machinekit-developing.asciidoc
ArcEye commentedon May 6, 2016
I did, but it is only in @luminize 's repo. It is not in the main one, not even in my fork, because I updated it recently
https://github.com/machinekit/machinekit-docs/blob/master/machinekit-documentation/developing/machinekit-developing.asciidoc
sirop commentedon May 15, 2016
I looked into it again and used
adding
deb-src http://deb.machinekit.io/debian jessie mainto/etc/apt/sources.list.d/machinekit.listbefore.As you see there is a dependency problem:
libboost-thread1.55-devdepends onlibstdc++,which is already installed as a sid and a jessie version:
Postponing the installation of
libczmq-dev/sidright until./configurehelps for a while,but then
makeyields an error compilingprotobuf.So if the manual installation of supporting packages as in #71 (comment) is not elegant enough, what is to do?
Build `libczmq-dev´ for jessie?
sirop commentedon May 15, 2016
Anyway, just built
libczmq-dev (3.0.2-7)on jessie with./src/czmq_selftestpassing all tests.sirop commentedon May 16, 2016
Built machinekit with libczmq-dev (3.0.2-7) on jessie/amd64 .
Had to
in between, but the good news is that
sudo mk-build-deps -irnow really pulls in all Build-Depends packages.So what is next to do? Ask the maintainers of https://packages.debian.org/en/sid/libczmq-dev
to include libczmq-dev also into jessie?
sirop commentedon May 19, 2016
Luca Boccassi (one of the Debian libczmq maintainers) promised to include libczmq-dev (3.0.2-7)
into jessie-backports.
Until then the following should be a workaround to avoid overlapping libstdc++ dependency between jessie and sid:
You may need
as well as
if not already installed.