warning: libreadline was disabled or not found, interactive smcpctl command line interface will not

28 views
Skip to first unread message

shantan...@gmail.com

unread,
Jun 8, 2015, 9:11:21 AM6/8/15
to smcp...@googlegroups.com
Hello I am a newbie to SMCP and wanted to work with CoAP

I wanted to play around with the SMCP and when I cloned the git this message shows up.
What should I do in order to use the smcpctl ?

Also I would like the smcp to work on Zolertia Z1 mote. Can someone please be kind enough to guide me through some necessary processes or examples?


thank you,

Shantanoo Desai

Robert Quattlebaum

unread,
Jun 8, 2015, 12:59:53 PM6/8/15
to shantan...@gmail.com, SMCP Developers Group Group

> On Jun 8, 2015, at 6:11 AM, shantan...@gmail.com wrote:
>
> Hello I am a newbie to SMCP and wanted to work with CoAP
>
> I wanted to play around with the SMCP and when I cloned the git this message shows up.
> What should I do in order to use the smcpctl ?

You will need either libreadline or libedit installed in order to get the interactive shell that smcpctl provides. Note that you can still use smcpctl without this, you just have to execute one command at a time, like this:

> smcpctl get coap://temp-sensor.local./v/temp


But the interactive shell is really quite nice for poking around. If you are using Ubuntu or Debian, you can install the libreadline bits like this:

> $ sudo apt-get install libreadline-dev






> Also I would like the smcp to work on Zolertia Z1 mote. Can someone please be kind enough to guide me through some necessary processes or examples?

Can the Z1 run Contiki?


-- Robert
Reply all
Reply to author
Forward
0 new messages