In the readme is lists these steps:
$ git clone git://sigrok.org/libsigrok
$ cd libsigrok
$ ./autogen.sh
$ ./configure
$ make
When running the configure step I get an error:
> ./configure
configure: error: cannot find install-sh, install.sh, or shtool in autostuff
"."/autostuff
The autostuff folder that was created by autogen is empty...
I am no linux user so I may be doing something simple wrong here. Do I need to
install something else?
BTW: I'm on win10 with ubuntu18 subsystem installed.
Here's the output of autogen:
./autogen.sh
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
configure.ac:99: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
m4/sigrok.m4:308: SR_ARG_OPT_PKG is expanded from...
configure.ac:99: the top level
configure.ac:99: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
m4/sigrok.m4:194: SR_PKG_CHECK is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
m4/sigrok.m4:308: SR_ARG_OPT_PKG is expanded from...
configure.ac:99: the top level
configure.ac:102: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
m4_defun'd
m4/sigrok.m4:308: SR_ARG_OPT_PKG is expanded from...
configure.ac:102: the top level
configure.ac:102: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
m4_defun'd
m4/sigrok.m4:194: SR_PKG_CHECK is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
m4/sigrok.m4:308: SR_ARG_OPT_PKG is expanded from...
configure.ac:102: the top level
configure.ac:105: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
m4_defun'd
m4/sigrok.m4:308: SR_ARG_OPT_PKG is expanded from...
configure.ac:105: the top level
configure.ac:105: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
m4_defun'd
m4/sigrok.m4:194: SR_PKG_CHECK is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
m4/sigrok.m4:308: SR_ARG_OPT_PKG is expanded from...
configure.ac:105: the top level
configure.ac:108: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
m4_defun'd
m4/sigrok.m4:308: SR_ARG_OPT_PKG is expanded from...
configure.ac:108: the top level
configure.ac:108: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
m4_defun'd
m4/sigrok.m4:194: SR_PKG_CHECK is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
m4/sigrok.m4:308: SR_ARG_OPT_PKG is expanded from...
configure.ac:108: the top level
configure.ac:119: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
m4_defun'd
m4/sigrok.m4:308: SR_ARG_OPT_PKG is expanded from...
configure.ac:119: the top level
configure.ac:119: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
m4_defun'd
m4/sigrok.m4:194: SR_PKG_CHECK is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
m4/sigrok.m4:308: SR_ARG_OPT_PKG is expanded from...
configure.ac:119: the top level
configure.ac:122: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
m4_defun'd
m4/sigrok.m4:308: SR_ARG_OPT_PKG is expanded from...
configure.ac:122: the top level
configure.ac:122: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
m4_defun'd
m4/sigrok.m4:194: SR_PKG_CHECK is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
m4/sigrok.m4:308: SR_ARG_OPT_PKG is expanded from...
configure.ac:122: the top level
configure.ac:125: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
m4_defun'd
m4/sigrok.m4:308: SR_ARG_OPT_PKG is expanded from...
configure.ac:125: the top level
configure.ac:125: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
m4_defun'd
m4/sigrok.m4:194: SR_PKG_CHECK is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
m4/sigrok.m4:308: SR_ARG_OPT_PKG is expanded from...
configure.ac:125: the top level
configure.ac:159: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
m4_defun'd
m4/sigrok.m4:194: SR_PKG_CHECK is expanded from...
configure.ac:159: the top level
configure.ac:358: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
m4_defun'd
m4/sigrok.m4:194: SR_PKG_CHECK is expanded from...
configure.ac:358: the top level
configure.ac:405: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
m4_defun'd
m4/sigrok.m4:194: SR_PKG_CHECK is expanded from...
configure.ac:405: the top level
configure.ac:415: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
m4_defun'd
m4/sigrok.m4:194: SR_PKG_CHECK is expanded from...
configure.ac:415: the top level
configure.ac:426: warning: Missing macro AX_PYTHON_MODULE: no check for
setuptools and numpy
configure.ac:478: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
m4_defun'd
m4/sigrok.m4:194: SR_PKG_CHECK is expanded from...
configure.ac:478: the top level
configure.ac:99: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
m4/sigrok.m4:308: SR_ARG_OPT_PKG is expanded from...
configure.ac:99: the top level
configure.ac:99: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
m4/sigrok.m4:194: SR_PKG_CHECK is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
m4/sigrok.m4:308: SR_ARG_OPT_PKG is expanded from...
configure.ac:99: the top level
configure.ac:102: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
m4_defun'd
m4/sigrok.m4:308: SR_ARG_OPT_PKG is expanded from...
configure.ac:102: the top level
configure.ac:102: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
m4_defun'd
m4/sigrok.m4:194: SR_PKG_CHECK is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
m4/sigrok.m4:308: SR_ARG_OPT_PKG is expanded from...
configure.ac:102: the top level
configure.ac:105: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
m4_defun'd
m4/sigrok.m4:308: SR_ARG_OPT_PKG is expanded from...
configure.ac:105: the top level
configure.ac:105: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
m4_defun'd
m4/sigrok.m4:194: SR_PKG_CHECK is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
m4/sigrok.m4:308: SR_ARG_OPT_PKG is expanded from...
configure.ac:105: the top level
configure.ac:108: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
m4_defun'd
m4/sigrok.m4:308: SR_ARG_OPT_PKG is expanded from...
configure.ac:108: the top level
configure.ac:108: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
m4_defun'd
m4/sigrok.m4:194: SR_PKG_CHECK is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
m4/sigrok.m4:308: SR_ARG_OPT_PKG is expanded from...
configure.ac:108: the top level
configure.ac:119: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
m4_defun'd
m4/sigrok.m4:308: SR_ARG_OPT_PKG is expanded from...
configure.ac:119: the top level
configure.ac:119: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
m4_defun'd
m4/sigrok.m4:194: SR_PKG_CHECK is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
m4/sigrok.m4:308: SR_ARG_OPT_PKG is expanded from...
configure.ac:119: the top level
configure.ac:122: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
m4_defun'd
m4/sigrok.m4:308: SR_ARG_OPT_PKG is expanded from...
configure.ac:122: the top level
configure.ac:122: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
m4_defun'd
m4/sigrok.m4:194: SR_PKG_CHECK is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
m4/sigrok.m4:308: SR_ARG_OPT_PKG is expanded from...
configure.ac:122: the top level
configure.ac:125: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
m4_defun'd
m4/sigrok.m4:308: SR_ARG_OPT_PKG is expanded from...
configure.ac:125: the top level
configure.ac:125: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
m4_defun'd
m4/sigrok.m4:194: SR_PKG_CHECK is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
m4/sigrok.m4:308: SR_ARG_OPT_PKG is expanded from...
configure.ac:125: the top level
configure.ac:159: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
m4_defun'd
m4/sigrok.m4:194: SR_PKG_CHECK is expanded from...
configure.ac:159: the top level
configure.ac:358: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
m4_defun'd
m4/sigrok.m4:194: SR_PKG_CHECK is expanded from...
configure.ac:358: the top level
configure.ac:405: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
m4_defun'd
m4/sigrok.m4:194: SR_PKG_CHECK is expanded from...
configure.ac:405: the top level
configure.ac:415: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
m4_defun'd
m4/sigrok.m4:194: SR_PKG_CHECK is expanded from...
configure.ac:415: the top level
configure.ac:426: warning: Missing macro AX_PYTHON_MODULE: no check for
setuptools and numpy
configure.ac:478: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
m4_defun'd
m4/sigrok.m4:194: SR_PKG_CHECK is expanded from...
configure.ac:478: the top level
autoreconf: configure.ac: tracing
configure.ac:99: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
m4/sigrok.m4:308: SR_ARG_OPT_PKG is expanded from...
configure.ac:99: the top level
configure.ac:99: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
m4/sigrok.m4:194: SR_PKG_CHECK is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
m4/sigrok.m4:308: SR_ARG_OPT_PKG is expanded from...
configure.ac:99: the top level
configure.ac:102: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
m4_defun'd
m4/sigrok.m4:308: SR_ARG_OPT_PKG is expanded from...
configure.ac:102: the top level
configure.ac:102: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
m4_defun'd
m4/sigrok.m4:194: SR_PKG_CHECK is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
m4/sigrok.m4:308: SR_ARG_OPT_PKG is expanded from...
configure.ac:102: the top level
configure.ac:105: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
m4_defun'd
m4/sigrok.m4:308: SR_ARG_OPT_PKG is expanded from...
configure.ac:105: the top level
configure.ac:105: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
m4_defun'd
m4/sigrok.m4:194: SR_PKG_CHECK is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
m4/sigrok.m4:308: SR_ARG_OPT_PKG is expanded from...
configure.ac:105: the top level
configure.ac:108: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
m4_defun'd
m4/sigrok.m4:308: SR_ARG_OPT_PKG is expanded from...
configure.ac:108: the top level
configure.ac:108: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
m4_defun'd
m4/sigrok.m4:194: SR_PKG_CHECK is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
m4/sigrok.m4:308: SR_ARG_OPT_PKG is expanded from...
configure.ac:108: the top level
configure.ac:119: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
m4_defun'd
m4/sigrok.m4:308: SR_ARG_OPT_PKG is expanded from...
configure.ac:119: the top level
configure.ac:119: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
m4_defun'd
m4/sigrok.m4:194: SR_PKG_CHECK is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
m4/sigrok.m4:308: SR_ARG_OPT_PKG is expanded from...
configure.ac:119: the top level
configure.ac:122: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
m4_defun'd
m4/sigrok.m4:308: SR_ARG_OPT_PKG is expanded from...
configure.ac:122: the top level
configure.ac:122: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
m4_defun'd
m4/sigrok.m4:194: SR_PKG_CHECK is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
m4/sigrok.m4:308: SR_ARG_OPT_PKG is expanded from...
configure.ac:122: the top level
configure.ac:125: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
m4_defun'd
m4/sigrok.m4:308: SR_ARG_OPT_PKG is expanded from...
configure.ac:125: the top level
configure.ac:125: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
m4_defun'd
m4/sigrok.m4:194: SR_PKG_CHECK is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
m4/sigrok.m4:308: SR_ARG_OPT_PKG is expanded from...
configure.ac:125: the top level
configure.ac:159: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
m4_defun'd
m4/sigrok.m4:194: SR_PKG_CHECK is expanded from...
configure.ac:159: the top level
configure.ac:358: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
m4_defun'd
m4/sigrok.m4:194: SR_PKG_CHECK is expanded from...
configure.ac:358: the top level
configure.ac:405: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
m4_defun'd
m4/sigrok.m4:194: SR_PKG_CHECK is expanded from...
configure.ac:405: the top level
configure.ac:415: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
m4_defun'd
m4/sigrok.m4:194: SR_PKG_CHECK is expanded from...
configure.ac:415: the top level
configure.ac:426: warning: Missing macro AX_PYTHON_MODULE: no check for
setuptools and numpy
configure.ac:478: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
m4_defun'd
m4/sigrok.m4:194: SR_PKG_CHECK is expanded from...
configure.ac:478: the top level
autoreconf: configure.ac: creating directory autostuff
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf --force
configure.ac:99: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
m4/sigrok.m4:308: SR_ARG_OPT_PKG is expanded from...
configure.ac:99: the top level
configure.ac:99: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
m4/sigrok.m4:194: SR_PKG_CHECK is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
m4/sigrok.m4:308: SR_ARG_OPT_PKG is expanded from...
configure.ac:99: the top level
configure.ac:102: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
m4_defun'd
m4/sigrok.m4:308: SR_ARG_OPT_PKG is expanded from...
configure.ac:102: the top level
configure.ac:102: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
m4_defun'd
m4/sigrok.m4:194: SR_PKG_CHECK is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
m4/sigrok.m4:308: SR_ARG_OPT_PKG is expanded from...
configure.ac:102: the top level
configure.ac:105: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
m4_defun'd
m4/sigrok.m4:308: SR_ARG_OPT_PKG is expanded from...
configure.ac:105: the top level
configure.ac:105: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
m4_defun'd
m4/sigrok.m4:194: SR_PKG_CHECK is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
m4/sigrok.m4:308: SR_ARG_OPT_PKG is expanded from...
configure.ac:105: the top level
configure.ac:108: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
m4_defun'd
m4/sigrok.m4:308: SR_ARG_OPT_PKG is expanded from...
configure.ac:108: the top level
configure.ac:108: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
m4_defun'd
m4/sigrok.m4:194: SR_PKG_CHECK is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
m4/sigrok.m4:308: SR_ARG_OPT_PKG is expanded from...
configure.ac:108: the top level
configure.ac:119: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
m4_defun'd
m4/sigrok.m4:308: SR_ARG_OPT_PKG is expanded from...
configure.ac:119: the top level
configure.ac:119: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
m4_defun'd
m4/sigrok.m4:194: SR_PKG_CHECK is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
m4/sigrok.m4:308: SR_ARG_OPT_PKG is expanded from...
configure.ac:119: the top level
configure.ac:122: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
m4_defun'd
m4/sigrok.m4:308: SR_ARG_OPT_PKG is expanded from...
configure.ac:122: the top level
configure.ac:122: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
m4_defun'd
m4/sigrok.m4:194: SR_PKG_CHECK is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
m4/sigrok.m4:308: SR_ARG_OPT_PKG is expanded from...
configure.ac:122: the top level
configure.ac:125: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
m4_defun'd
m4/sigrok.m4:308: SR_ARG_OPT_PKG is expanded from...
configure.ac:125: the top level
configure.ac:125: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
m4_defun'd
m4/sigrok.m4:194: SR_PKG_CHECK is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
m4/sigrok.m4:308: SR_ARG_OPT_PKG is expanded from...
configure.ac:125: the top level
configure.ac:159: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
m4_defun'd
m4/sigrok.m4:194: SR_PKG_CHECK is expanded from...
configure.ac:159: the top level
configure.ac:358: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
m4_defun'd
m4/sigrok.m4:194: SR_PKG_CHECK is expanded from...
configure.ac:358: the top level
configure.ac:405: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
m4_defun'd
m4/sigrok.m4:194: SR_PKG_CHECK is expanded from...
configure.ac:405: the top level
configure.ac:415: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
m4_defun'd
m4/sigrok.m4:194: SR_PKG_CHECK is expanded from...
configure.ac:415: the top level
configure.ac:426: warning: Missing macro AX_PYTHON_MODULE: no check for
setuptools and numpy
configure.ac:478: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
m4_defun'd
m4/sigrok.m4:194: SR_PKG_CHECK is expanded from...
configure.ac:478: the top level
configure.ac:144: error: possibly undefined macro: AC_DEFINE
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.ac:237: error: possibly undefined macro: m4_ifval
configure.ac:467: error: possibly undefined macro: AC_SUBST
configure.ac:582: error: possibly undefined macro: AS_MESSAGE_LOG_FD
configure:6107: error: possibly undefined macro: dnl
configure:6115: error: possibly undefined macro: m4_shift3
autoreconf: /usr/bin/autoconf failed with exit status: 1
________________________________
From: Marc Jacobi <[email protected]>
Sent: Thursday, September 26, 2019 8:22 AM
To: [email protected] <[email protected]>
Subject: Re: [sigrok-devel] Where/how to contribute an exporter
Beginner questions 😉
Looking at the README to find out what I need to get it building, I see a list
of requirements.
Do I really need all that to build!?
Also when I have some code, what is an easy way to test it in the app?
Marc.
________________________________
From: Marc Jacobi <[email protected]>
Sent: Thursday, September 26, 2019 7:28 AM
To: [email protected] <[email protected]>
Subject: Re: [sigrok-devel] Where/how to contribute an exporter
Thanks for the pointers. Looks like 'output' is the right place.
I though that interfacing with this would be handy:
https://wavedrom.com/
Basically a JSON format.
________________________________
From: Gerhard Sittig <[email protected]>
Sent: Wednesday, September 25, 2019 9:53 PM
To: [email protected] <[email protected]>
Subject: Re: [sigrok-devel] Where/how to contribute an exporter
On Wed, 2019-09-25 at 17:46 +0000, Marc Jacobi wrote:
>
> I am trying to research the feasibility of writing an exporter for Sigrok.
> However, after scanning through several code repositories, I am unsure where
> that code lives.
> I was hoping to estimate the complexity by looking at the code of some of the
> other exporters.
See the git://sigrok.org/libsigrok repository (libsigrok is the
component which contains all the device drivers and file formats)
and especially the src/output/ folder there.
Care to tell which export file format you plan targetting?
virtually yours
Gerhard Sittig
--
If you don't understand or are scared by any of the above
ask your parents or an adult to help you.
_______________________________________________
sigrok-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sigrok-devel
_______________________________________________
sigrok-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sigrok-devel