Re: [sigrok-devel] Where/how to contribute an exporter
Thanks Paul, that cleared it up a lot. Also had some warnings about python but I assume for now that it's okay to ignore that. This bit was left when I ran autogen.sh: Makefile.am: installing './INSTALL' Makefile.am:48: error: Libtool library used but 'LIBTOOL' is undefined Makefile.am:48: The usual way to define 'LIBTOOL' is to add 'LT_INIT' So I thought, lets see if there's a libtool package I can install, And voila! No more errors on autogen. Then I ran configure and saw this: configure: error: Package requirements (glib-2.0 >= 2.32.0 libzip >= 0.10) were not met: No package 'glib-2.0' found No package 'libzip' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. I tried installing glib-2.0 which worked (saw loads of packages being installed). Strange thing is, after this when I rerun configure it still comes back with the same error (not finding glib-2.0/libzip). Because I am using 'sudo apt install' I don't think I need to set the environment variable, do I? I feel we're almost there. If someone could help me with this last stretch... Thanks so much, Marc From: Paul Fertser Sent: Sunday, September 29, 2019 7:35 PM To: Marc Jacobi Cc: sigrok-devel@lists.sourceforge.net Subject: Re: [sigrok-devel] Where/how to contribute an exporter Hi, On Sun, Sep 29, 2019 at 07:11:07AM +, Marc Jacobi wrote: > configure.ac:99: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not > m4_defun'd You're certainly missing at least pkg-config (build dependency). Once you install it, rerun autogen.sh and show the results please. Also check that autotools versions you have are not older than the building process specifies. HTH -- Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software! mailto:fercer...@gmail.com ___ sigrok-devel mailing list sigrok-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sigrok-devel
Re: [sigrok-devel] Where/how to contribute an exporter
Hi, On Sun, Sep 29, 2019 at 07:11:07AM +, Marc Jacobi wrote: > configure.ac:99: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not > m4_defun'd You're certainly missing at least pkg-config (build dependency). Once you install it, rerun autogen.sh and show the results please. Also check that autotools versions you have are not older than the building process specifies. HTH -- Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software! mailto:fercer...@gmail.com ___ sigrok-devel mailing list sigrok-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sigrok-devel
Re: [sigrok-devel] Where/how to contribute an exporter
Here you can see what I'm doing: https://github.com/obiwanjacobi/libsigrok Any chance someone can help me with these tool errors? From: Marc Jacobi Sent: Saturday, September 28, 2019 7:09 PM To: sigrok-devel@lists.sourceforge.net Subject: Re: [sigrok-devel] Where/how to contribute an exporter 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.