Unable to locate package libzmq4-dev, libczmq-dev, libwebsockets-dev

908 views
Skip to first unread message

Claudio Lorini

unread,
Feb 22, 2015, 8:39:45 AM2/22/15
to machi...@googlegroups.com
Hello everybody,
i'm trying to rebuild machinekit from scratches on a Zedboard (http://zedboard.org/product/zedboard)  platform 
from a pristine Debian image:
Distributor ID: Debian
Description: Debian GNU/Linux 7.8 (wheezy)
Release: 7.8
Codename: wheezy

with a 3.8.0  kernel: 
Linux zedebian 3.8.0-xilinx #8 SMP PREEMPT Thu Jan 29 15:03:04 CET 2015 armv7l GNU/Linux

xenomai patched:
I-pipe: head domain Xenomai registered.
Xenomai: hal/arm started.
Xenomai: scheduling class idle registered.
Xenomai: scheduling class rt registered.
Xenomai: real-time nucleus v2.6.4 (Jumpin' Out) loaded.
Xenomai: debug mode enabled.
Xenomai: starting native API services.
Xenomai: starting POSIX services.
Xenomai: starting RTDM services.

i added the repositories to the sources list:
root@zedebian:~/machinekit# cat /etc/apt/sources.list.d/*
deb http://deb.dovetail-automata.com wheezy main
deb http://ftp.it.debian.org/debian wheezy-backports main

apt-get update seems to complete without errors:
Get:1 http://ftp.it.debian.org wheezy-backports Release.gpg [836 B]
Hit http://mi.mirror.garr.it wheezy Release.gpg                                                                                     
Hit http://deb.dovetail-automata.com wheezy Release.gpg                                            
Hit http://mi.mirror.garr.it wheezy-updates Release.gpg                      
Hit http://security.debian.org wheezy/updates Release.gpg                                                  
Hit http://mi.mirror.garr.it wheezy Release                                                                
Get:2 http://ftp.it.debian.org wheezy-backports Release [147 kB]                                           
Hit http://deb.dovetail-automata.com wheezy Release                                                                       
Hit http://mi.mirror.garr.it wheezy-updates Release                                                                       
Hit http://security.debian.org wheezy/updates Release                                               
Hit http://mi.mirror.garr.it wheezy/main Sources                               
Hit http://deb.dovetail-automata.com wheezy/main armel Packages                                                       
Hit http://mi.mirror.garr.it wheezy/main armel Packages                                                               
Hit http://mi.mirror.garr.it wheezy/main Translation-en                                                                              
Hit http://mi.mirror.garr.it wheezy-updates/main Sources                                                                             
Hit http://security.debian.org wheezy/updates/main Sources                                                                           
Hit http://mi.mirror.garr.it wheezy-updates/main armel Packages/DiffIndex                                                            
Hit http://security.debian.org wheezy/updates/main armel Packages                                                                    
Hit http://mi.mirror.garr.it wheezy-updates/main Translation-en/DiffIndex                                                            
Hit http://security.debian.org wheezy/updates/main Translation-en                                                                    
Get:3 http://ftp.it.debian.org wheezy-backports/main armel Packages [523 kB]                            
Get:4 http://ftp.it.debian.org wheezy-backports/main Translation-en [352 kB]                                    
Ign http://deb.dovetail-automata.com wheezy/main Translation-en_US                                                                   
Ign http://deb.dovetail-automata.com wheezy/main Translation-en          
Fetched 1,023 kB in 25s (40.1 kB/s)                                                                                                  
Reading package lists... Done

but when i get the dependencies for the build:
root@zedebian:~/machinekit# scripts/apt-installbuilddeps
apt-get install cython libzmq4-dev libczmq-dev libjansson-dev libwebsockets-dev python-zmq
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libzmq4-dev
E: Unable to locate package libczmq-dev
E: Unable to locate package libwebsockets-dev
dpkg-checkbuilddeps: Unmet build dependencies: cython (>= 0.19) libzmq4-dev (>= 4.0.4) libczmq-dev (>= 2.2.0) libjansson-dev (>= 2.5) libwebsockets-dev (>= 2.2) python-zmq (>= 14.3)

or if i try to apt-get them:
root@zedebian:~/machinekit# apt-get install  libzmq4-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libzmq4-dev

..shouldn't they come from http://deb.dovetail-automata.com?
I'know i can build from sources, i've already tried with a Linaro(Ubuntu) environment but got stuck later on in 
the build process so i tried a more traveled path...

any suggestion where to get the pre-built packages?
C.

Alexander Rössler

unread,
Feb 23, 2015, 5:30:35 AM2/23/15
to Claudio Lorini, machi...@googlegroups.com
These packages are not in the standard Debian Wheezy repositories. You
can find them in John's repository. Take a look at
http://www.machinekit.io/docs/packages-debian/

You may be able to reuse packages for another platform (BeagleBone). If
not you need to rebuild the necessary packages.

Claudio Lorini writes:

> Hello everybody,
> i'm trying to rebuild machinekit from scratches on a Zedboard
> (http://zedboard.org/product/zedboard
> <http://zedboard.org/product/zedboard>) platform
> from a pristine Debian image:
>
>> Distributor ID: Debian
>> Description: Debian GNU/Linux 7.8 (wheezy)
>> Release: 7.8
>> Codename: wheezy
>
>
> with a 3.8.0 kernel:
>
>> Linux zedebian *3.8.0*-xilinx #8 SMP PREEMPT Thu Jan 29 15:03:04 CET 2015
>> *armv7*l GNU/Linux
>
>
> xenomai patched:
>
>> I-pipe: head domain Xenomai registered.
>> Xenomai: hal/arm started.
>> Xenomai: scheduling class idle registered.
>> Xenomai: scheduling class rt registered.
>> *Xenomai: real-time nucleus v2.6.4 (Jumpin' Out) loaded.*
>> Xenomai: debug mode enabled.
>> Xenomai: starting native API services.
>> Xenomai: starting POSIX services.
>> Xenomai: starting RTDM services.
>
>
> i added the repositories to the sources list:
>
>> root@zedebian:~/machinekit# cat /etc/apt/sources.list.d/*
>> deb http://deb.dovetail-automata.com wheezy main
>> deb http://ftp.it.debian.org/debian wheezy-backports main
>
>
> apt-get update seems to complete without errors:
>
>> Get:1 http://ftp.it.debian.org wheezy-backports Release.gpg [836 B]
>> Hit http://mi.mirror.garr.it wheezy Release.gpg
>>
>> *Hit http://deb.dovetail-automata.com wheezy Release.gpg *
>>
>> Hit http://mi.mirror.garr.it wheezy-updates Release.gpg
>>
>> Hit http://security.debian.org wheezy/updates Release.gpg
>>
>> Hit http://mi.mirror.garr.it wheezy Release
>>
>> Get:2 http://ftp.it.debian.org wheezy-backports Release [147 kB]
>>
>> *Hit http://deb.dovetail-automata.com wheezy Release
>> *
>> Hit http://mi.mirror.garr.it wheezy-updates Release
>>
>> Hit http://security.debian.org wheezy/updates Release
>>
>> Hit http://mi.mirror.garr.it wheezy/main Sources
>>
>> *Hit http://deb.dovetail-automata.com wheezy/main armel Packages
>> *
>> Hit http://mi.mirror.garr.it wheezy/main armel Packages
>>
>> Hit http://mi.mirror.garr.it wheezy/main Translation-en
>>
>> Hit http://mi.mirror.garr.it wheezy-updates/main Sources
>>
>> Hit http://security.debian.org wheezy/updates/main Sources
>>
>> Hit http://mi.mirror.garr.it wheezy-updates/main armel Packages/DiffIndex
>>
>> Hit http://security.debian.org wheezy/updates/main armel Packages
>>
>> Hit http://mi.mirror.garr.it wheezy-updates/main Translation-en/DiffIndex
>>
>> Hit http://security.debian.org wheezy/updates/main Translation-en
>>
>> Get:3 http://ftp.it.debian.org wheezy-backports/main armel Packages [523
>> kB]
>> Get:4 http://ftp.it.debian.org wheezy-backports/main Translation-en [352
>> kB]
>>
>> *Ign http://deb.dovetail-automata.com wheezy/main Translation-en_US
>> *
>> *Ign http://deb.dovetail-automata.com wheezy/main Translation-en *Fetched
>> 1,023 kB in 25s (40.1 kB/s)
>>
>> Reading package lists... Done
>
>
> but when i get the dependencies for the build:
>
>> root@zedebian:~/machinekit# scripts/apt-installbuilddeps
>> apt-get install cython libzmq4-dev libczmq-dev libjansson-dev
>> libwebsockets-dev python-zmq
>> Reading package lists... Done
>> Building dependency tree
>> Reading state information... Done
>>
>> *E: Unable to locate package libzmq4-dev*
>> *E: Unable to locate package libczmq-dev*
>> *E: Unable to locate package libwebsockets-dev*dpkg-checkbuilddeps: Unmet
>> build dependencies: cython (>= 0.19) libzmq4-dev (>= 4.0.4) libczmq-dev (>=
>> 2.2.0) libjansson-dev (>= 2.5) libwebsockets-dev (>= 2.2) python-zmq (>=
>> 14.3)
>
>
> or if i try to apt-get them:
>
>> root@zedebian:~/machinekit# apt-get install libzmq4-dev
>> Reading package lists... Done
>> Building dependency tree
>> Reading state information... Done
>> *E: Unable to locate package libzmq4-dev*
>
>
> ..shouldn't they come from http://deb.dovetail-automata.com?
> I'know i can build from sources, i've already tried with a Linaro(Ubuntu)
> environment but got stuck later on in
> the build process so i tried a more traveled path...
>
> any suggestion where to get the pre-built packages?
> C.

--
Alexander Rössler

Claudio Lorini

unread,
Feb 23, 2015, 12:29:30 PM2/23/15
to machi...@googlegroups.com, claudio...@libero.it
...John's repository is deb.dovetail.automata.com
maybe yesterday i was experiencing the same connection problem signaled today...
I'll retry as soon as the repository is up again
thank you, C.

Claudio Lorini

unread,
Mar 1, 2015, 12:31:32 PM3/1/15
to machi...@googlegroups.com
...ok, I think I found the problem i was having, I'll put it here if anyone will experience the same in the future:

http://deb.dovetail-automata.com contains only 'armhf' (arm with hardware floating-point) packages and I 
have installed from scratch a Debian image using 'armel' packages, so apt-get was looking for 'armel' packages. 
I'll try to restart from a 'armhf' netinstall to see what happens, but i think it'll work... 

C.

Claudio Lorini

unread,
Mar 2, 2015, 1:23:17 PM3/2/15
to machi...@googlegroups.com
confirmed.
works like charm!
Reply all
Reply to author
Forward
0 new messages