Skip to content

Problem with installation #60

@NarakuITA

Description

@NarakuITA

I have a problem installing jPilot on my Antix 23.2 distribution.
I ran the command:

curl -s https://packagecloud.io/install/repositories/judd/jpilot/script.deb.sh | sudo bash
sudo apt install jpilot jpilot-plugins

But it fails:

Detected operating system as antiX/bookworm.
Checking for curls...
Detected curl...
Checking for gpg...
Detected gpg...
Detected apt version as 2.6.1
Running apt-get update... done.
Installing apt-transport-https... done.
Installing /etc/apt/sources.list.d/judd_jpilot.list...curl: (22) The requested URL returned error: 404

Unable to download repo config from: https://packagecloud.io/install/repositories/judd/jpilot/config_file.list?os=antiX&dist=bookworm&source=script

This usually happens if your operating system is not supported by
packagecloud.io, or this script's OS detection failed.

You can override the OS detection by setting os= and dist= prior to running this script.
You can find a list of supported OSes and distributions on our website: https://packagecloud.io/docs#os_distro_version

For example, to force Ubuntu Trusty: os=ubuntu dist=trusty ./script.sh

If you are running a supported OS, please email support@packagecloud.io and report this.

So I try to compile the module:

git clone https://github.com/juddmon/jpilot.git
jpilot cd

Installing dependencies:

sudo apt install build-essential libgtk2.0-dev libglib2.0-dev libgdk-pixbuf2.0-dev \
libpango1.0-dev libatk1.0-dev libxtst-dev libusb-dev libssl-dev autoconf \
automake libtool

sudo apt install intltool

Compiling and installing J-Pilot

./autogen.sh
./configure
make
sudo make install

Here is the log:

However, the operation fails:
++ rm -f configure Makefile Makefile.in config.h.in
++ autopoint --force
Copying file po/Makefile.in.in
++ intltoolize --force --copy --automake
++ libtoolize --force --copy --automake
++ aclocal -I m4
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in:191: warning: macro 'AM_PATH_GTK_3_0' not found in library
configure.in:387: warning: macro 'AM_PATH_LIBGCRYPT' not found in library
++ autoheader
autoheader: warning: autoconf input should be named 'configure.ac', not 'configure.in'
++ automake --add-missing --foreign
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in:57: warning: The 'AM_PROG_MKDIR_P' macro is deprecated, and its use is discouraged.
configure.in:57: You should use the Autoconf-provided 'AC_PROG_MKDIR_P' macro instead,
configure.in:57: and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your Makefile.am files.
configure.in:20: installing './compile'
configure.in:19: installing './config.guess'
configure.in:19: installing './config.sub'
configure.in:8: installing './install-sh'
configure.in:8: installing './missing'
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
Expense/Makefile.am: installing './depcomp'
Makefile.am:32: warning: source file 'icons/icons.c' is in a subdirectory,
Makefile.am:32: but option 'subdir-objects' is disabled
automake: warning: possible forward-incompatibility.
automake: At least one source file is in a subdirectory, but the 'subdir-objects'
automake: automake option hasn't been enabled.  For now, the corresponding output
automake: object file(s) will be placed in the top-level directory.  However, this
automake: behavior may change in a future Automake major version, with object
automake: files being placed in the same subdirectory as the corresponding sources.
automake: You are advised to start using 'subdir-objects' option throughout your
automake: project, to avoid future incompatibilities.
Makefile.am:32: warning: source file 'jpsqlite/jpsqlite.c' is in a subdirectory,
Makefile.am:32: but option 'subdir-objects' is disabled
++ autoconf
configure.in:12: warning: 'AM_CONFIG_HEADER': this macro is obsolete.
configure.in:12: You should use the 'AC_CONFIG_HEADERS' macro instead.
./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from...
aclocal.m4:1003: AM_CONFIG_HEADER is expanded from...
configure.in:12: the top level
configure.in:26: warning: The macro `AC_PROG_INTLTOOL' is obsolete.
configure.in:26: You should run autoupdate.
aclocal.m4:208: AC_PROG_INTLTOOL is expanded from...
configure.in:26: the top level
configure.in:37: warning: The macro `AC_LIBTOOL_DLOPEN' is obsolete.
configure.in:37: You should run autoupdate.
m4/ltoptions.m4:113: AC_LIBTOOL_DLOPEN is expanded from...
configure.in:37: the top level
configure.in:37: warning: AC_LIBTOOL_DLOPEN: Remove this warning and the call to _LT_SET_OPTION when you
configure.in:37: put the 'dlopen' option into LT_INIT's first parameter.
./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from...
m4/ltoptions.m4:113: AC_LIBTOOL_DLOPEN is expanded from...
configure.in:37: the top level
configure.in:38: warning: The macro `AC_PROG_LIBTOOL' is obsolete.
configure.in:38: You should run autoupdate.
m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from...
configure.in:38: the top level
configure.in:57: warning: AM_PROG_MKDIR_P: this macro is deprecated, and will soon be removed.
configure.in:57: You should use the Autoconf-provided 'AC_PROG_MKDIR_P' macro instead,
configure.in:57: and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your Makefile.am files.
./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from...
aclocal.m4:970: AM_PROG_MKDIR_P is expanded from...
m4/po.m4:23: AM_PO_SUBDIRS is expanded from...
m4/gettext.m4:57: AM_GNU_GETTEXT is expanded from...
configure.in:57: the top level
configure.in:57: warning: The macro `AC_TRY_LINK' is obsolete.
configure.in:57: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
m4/gettext.m4:367: gt_INTL_MACOSX is expanded from...
m4/gettext.m4:57: AM_GNU_GETTEXT is expanded from...
configure.in:57: the top level
configure.in:57: warning: The macro `AC_TRY_LINK' is obsolete.
configure.in:57: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
m4/gettext.m4:57: AM_GNU_GETTEXT is expanded from...
configure.in:57: the top level
configure.in:57: warning: The macro `AC_TRY_LINK' is obsolete.
configure.in:57: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
m4/iconv.m4:20: AM_ICONV_LINK is expanded from...
m4/gettext.m4:57: AM_GNU_GETTEXT is expanded from...
configure.in:57: the top level
configure.in:76: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:76: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:76: the top level
configure.in:107: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:107: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:107: the top level
configure.in:120: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:120: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:120: the top level
configure.in:133: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:133: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:133: the top level
configure.in:146: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:146: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:146: the top level
configure.in:163: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:163: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:163: the top level
configure.in:175: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:175: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:175: the top level
configure.in:200: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:200: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:200: the top level
configure.in:278: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:278: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:278: the top level
configure.in:296: warning: The macro `AC_TRY_LINK' is obsolete.
configure.in:296: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
configure.in:296: the top level
configure.in:309: warning: The macro `AC_TRY_RUN' is obsolete.
configure.in:309: You should run autoupdate.
./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from...
configure.in:309: the top level
configure.in:339: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.in:339: You should run autoupdate.
./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
configure.in:339: the top level
configure.in:391: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:391: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:391: the top level
configure.in:428: warning: The macro `AC_HEADER_TIME' is obsolete.
configure.in:428: You should run autoupdate.
./lib/autoconf/headers.m4:743: AC_HEADER_TIME is expanded from...
configure.in:428: the top level
configure.in:438: warning: The macro `AC_TRY_LINK' is obsolete.
configure.in:438: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
configure.in:438: the top level
configure.in:454: warning: The macro `AC_TYPE_SIGNAL' is obsolete.
configure.in:454: You should run autoupdate.
./lib/autoconf/types.m4:776: AC_TYPE_SIGNAL is expanded from...
configure.in:454: the top level
configure.in:462: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:462: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:462: the top level
configure.in:192: error: possibly undefined macro: AM_PATH_GTK_3_0
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.in:388: error: possibly undefined macro: AM_PATH_LIBGCRYPT
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... gcc3
checking for strerror in -lcposix... no
checking whether NLS is requested... yes
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.36.0
checking for XML::Parser... ok
checking for sed... /usr/bin/sed
checking for grep... /usr/bin/grep
checking for cut... /usr/bin/cut
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for file... file
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for sys/time.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking for msgmerge... (cached) /usr/bin/msgmerge
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for locale.h... yes
checking for dlopen... (cached) yes
stock buttons enabled by configure options
./configure: line 15575: syntax error near unexpected token `3.24.12,'
./configure: line 15575: `AM_PATH_GTK_3_0(3.24.12, ,'
make: *** No target specified and no makefile found. Stopping.
make: *** No rules to generate target «install». Stopping.

How do I solve the problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions