|
From: Stewart A. <san...@gm...> - 2023-05-23 02:13:06
|
Hi, I pulled a fresh clone with git but am getting an error. Have dependencies changed since the last time I compiled? $ git clone https://github.com/Motion-Project/motion.git Cloning into 'motion'... remote: Enumerating objects: 8115, done. remote: Counting objects: 100% (687/687), done. remote: Compressing objects: 100% (266/266), done. remote: Total 8115 (delta 472), reused 600 (delta 413), pack-reused 7428 Receiving objects: 100% (8115/8115), 7.50 MiB | 697.00 KiB/s, done. Resolving deltas: 100% (6061/6061), done. $ cd motion $ autoreconf -fiv autoreconf: Entering directory `.' autoreconf: running: autopoint --force Copying file ABOUT-NLS Copying file config.rpath Creating directory m4 Copying file m4/codeset.m4 Copying file m4/extern-inline.m4 Copying file m4/fcntl-o.m4 Copying file m4/gettext.m4 Copying file m4/glibc2.m4 Copying file m4/glibc21.m4 Copying file m4/iconv.m4 Copying file m4/intdiv0.m4 Copying file m4/intl.m4 Copying file m4/intldir.m4 Copying file m4/intlmacosx.m4 Copying file m4/intmax.m4 Copying file m4/inttypes-pri.m4 Copying file m4/inttypes_h.m4 Copying file m4/lcmessage.m4 Copying file m4/lib-ld.m4 Copying file m4/lib-link.m4 Copying file m4/lib-prefix.m4 Copying file m4/lock.m4 Copying file m4/longlong.m4 Copying file m4/nls.m4 Copying file m4/po.m4 Copying file m4/printf-posix.m4 Copying file m4/progtest.m4 Copying file m4/size_max.m4 Copying file m4/stdint_h.m4 Copying file m4/threadlib.m4 Copying file m4/uintmax_t.m4 Copying file m4/visibility.m4 Copying file m4/wchar_t.m4 Copying file m4/wint_t.m4 Copying file m4/xsize.m4 Copying file po/Makefile.in.in Copying file po/Makevars.template Copying file po/Rules-quot Copying file po/boldquot.sed Copying file po/en...@bo... Copying file po/en...@qu... Copying file po/insert-header.sin Copying file po/quot.sed Copying file po/remove-potcdate.sin autoreconf: running: aclocal --force -I m4 sh: 1: ./scripts/version.sh: Permission denied configure.ac:2: error: AC_INIT should be called with package and version arguments /usr/share/aclocal-1.16/init.m4:29: AM_INIT_AUTOMAKE is expanded from... configure.ac:2: the top level autom4te: /usr/bin/m4 failed with exit status: 1 aclocal: error: echo failed with exit status: 1 autoreconf: aclocal failed with exit status: 1 ▶May22_1836.54▶ /usr/share/audvid/src/motion ▶pi@raspberrypi3▶0▶ $ sudo autoreconf -fiv autoreconf: Entering directory `.' autoreconf: running: autopoint --force autoreconf: running: aclocal --force -I m4 sh: 1: ./scripts/version.sh: Permission denied configure.ac:2: error: AC_INIT should be called with package and version arguments /usr/share/aclocal-1.16/init.m4:29: AM_INIT_AUTOMAKE is expanded from... configure.ac:2: the top level autom4te: /usr/bin/m4 failed with exit status: 1 aclocal: error: echo failed with exit status: 1 autoreconf: aclocal failed with exit status: 1 $ ls -l scripts/version.sh -rwxr-xr-x 1 pi pi 445 May 22 18:36 scripts/version.sh It's executable. sh points to dash in this Raspbian. $ ls -l /bin/sh /bin/dash -rwxr-xr-x 1 root root 91896 Jan 17 2019 /bin/dash lrwxrwxrwx 1 root root 4 Sep 25 2019 /bin/sh -> dash $ cat /proc/version Linux version 5.10.60-v7l+ (dom@buildbot) (arm-linux-gnueabihf-gcc-8 (Ubuntu/Linaro 8.4.0-3ubuntu1) 8.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1449 SMP Wed Aug 25 15:00:44 BST 2021 $ cat /etc/debian_version 10.10 $ ls -l /usr/share/aclocal-1.16/init.m4 -rw-r--r-- 1 root root 8032 Nov 4 2018 /usr/share/aclocal-1.16/init.m4 $ sudo apt install autotools-dev Reading package lists... Done Building dependency tree Reading state information... Done autotools-dev is already the newest version (20180224.1). |