Hallo,
es geht um dieses Projekt: https://github.com/desrod/pilot-link
Zunächst erst mal funktioniert die in der Datei INSTALL beschriebene Anleitung nicht, da ./configure
nicht existiert. Diese konnte ich jedoch mittels autoreconf -i -s
erzeugen.
Hier nun die Ausgabe von autoreconf:
$ autoreconf -i -s libtoolize: putting auxiliary files in '.'. libtoolize: linking file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: linking file 'm4/libtool.m4' libtoolize: linking file 'm4/ltoptions.m4' libtoolize: linking file 'm4/ltsugar.m4' libtoolize: linking file 'm4/ltversion.m4' libtoolize: linking file 'm4/lt~obsolete.m4' configure.ac:19: warning: 'AM_CONFIG_HEADER': this macro is obsolete. configure.ac:19: You should use the 'AC_CONFIG_HEADERS' macro instead. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:1125: AM_CONFIG_HEADER is expanded from... configure.ac:19: the top level configure.ac:20: warning: 'AM_CONFIG_HEADER': this macro is obsolete. configure.ac:20: You should use the 'AC_CONFIG_HEADERS' macro instead. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:1125: AM_CONFIG_HEADER is expanded from... configure.ac:20: the top level configure.ac:76: warning: The macro `AC_CANONICAL_SYSTEM' is obsolete. configure.ac:76: You should run autoupdate. ./lib/autoconf/general.m4:2081: AC_CANONICAL_SYSTEM is expanded from... configure.ac:76: the top level configure.ac:79: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:773: AM_INIT_AUTOMAKE is expanded from... configure.ac:79: the top level configure.ac:88: warning: The macro `AM_PROG_LIBTOOL' is obsolete. configure.ac:88: You should run autoupdate. m4/libtool.m4:101: AM_PROG_LIBTOOL is expanded from... configure.ac:88: the top level configure.ac:158: warning: The macro `AC_HEADER_STDC' is obsolete. configure.ac:158: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.ac:158: the top level configure.ac:160: warning: The macro `AC_HEADER_TIME' is obsolete. configure.ac:160: You should run autoupdate. ./lib/autoconf/headers.m4:743: AC_HEADER_TIME is expanded from... configure.ac:160: the top level configure.ac:163: warning: The macro `AC_TYPE_SIGNAL' is obsolete. configure.ac:163: You should run autoupdate. ./lib/autoconf/types.m4:776: AC_TYPE_SIGNAL is expanded from... configure.ac:163: the top level configure.ac:195: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:195: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE 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... configure.ac:195: the top level configure.ac:207: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:207: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE 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... m4/socklen.m4:24: AC_CHECK_SOCKLEN_T is expanded from... configure.ac:207: the top level configure.ac:280: warning: The macro `AC_LANG_C' is obsolete. configure.ac:280: You should run autoupdate. ./lib/autoconf/c.m4:72: AC_LANG_C is expanded from... m4/threads.m4:26: ACX_PTHREAD is expanded from... m4/threads.m4:7: PILOT_LINK_THREADS_SUPPORT is expanded from... configure.ac:280: the top level configure.ac:280: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:280: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... m4/threads.m4:26: ACX_PTHREAD is expanded from... m4/threads.m4:7: PILOT_LINK_THREADS_SUPPORT is expanded from... configure.ac:280: the top level configure.ac:296: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:296: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:296: the top level configure.ac:351: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:351: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:351: the top level configure.ac:446: warning: The macro `AC_TRY_RUN' is obsolete. configure.ac:446: You should run autoupdate. ./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/functions.m4:66: AC_CHECK_FUNC 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/libs.m4:100: AC_CHECK_LIB is expanded from... configure.ac:446: the top level configure.ac:629: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:629: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... m4/python.m4:6: AM_CHECK_PYTHON is expanded from... configure.ac:629: the top level configure.ac:708: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:708: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1534: AC_ARG_ENABLE is expanded from... configure.ac:708: the top level configure.ac:773: warning: AC_OUTPUT should be used without arguments. configure.ac:773: You should run autoupdate. configure.ac:79: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.ac:79: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.ac:85: installing './compile' configure.ac:75: installing './config.guess' configure.ac:75: installing './config.sub' configure.ac:79: installing './install-sh' configure.ac:79: installing './missing' bindings/Java/Makefile.am:5: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') bindings/Makefile.am:82: warning: find $(distdir: non-POSIX variable name bindings/Makefile.am:82: (probably a GNU make extension) bindings/Tcl/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') bindings/Tcl/Makefile.am:12: warning: source file '$(top_builddir)/src/plu_args.c' is in a subdirectory, bindings/Tcl/Makefile.am:12: 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. bindings/Tcl/Makefile.am:12: warning: source file '$(top_builddir)/src/userland.c' is in a subdirectory, bindings/Tcl/Makefile.am:12: but option 'subdir-objects' is disabled bindings/Tcl/Makefile.am: installing './depcomp' libpisock/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') libpisync/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') popt/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') src/Makefile.am:5: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') configure.ac: installing './ylwrap' tests/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') parallel-tests: installing './test-driver' tests/Makefile.am:15: warning: variable 'contactsdb_jps_SOURCES' is defined but no program or tests/Makefile.am:15: library has 'contactsdb_jps' as canonical name (possible typo) tests/Makefile.am:17: warning: variable 'contactsdb_jps_LDADD' is defined but no program or tests/Makefile.am:17: library has 'contactsdb_jps' as canonical name (possible typo)
Anschließend die Ausgabe von configure:
$ ./configure --prefix=/home/ich/Projects/Palm/PilotLink/pilot-link-CoSoCo/build/ checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu 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 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 g77... no checking for g77-3.2... no checking for g77-3.3... no checking for fl32... no checking for f77... no checking for fort77... no checking for xlf... no checking for f90... no checking for xlf90... no checking whether the compiler supports GNU Fortran 77... no checking whether accepts -g... no checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /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 x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-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 -m elf_x86_64) 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 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... yes checking for bison... no checking for byacc... no checking for egrep... (cached) /usr/bin/grep -E checking for an ANSI C-conforming const... yes checking whether struct tm is in sys/time.h or time.h... time.h checking how to run the C preprocessor... gcc -E checking whether gcc needs -traditional... no checking return type of signal handlers... void checking for dirent.h... yes checking for errno.h... yes checking for fcntl.h... yes checking for inttypes.h... (cached) yes checking for memory.h... yes checking for netdb.h... yes checking for netinet/in.h... yes checking for regex.h... yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for sys/ioctl_compat.h... no checking for sys/ioctl.h... yes checking for sys/malloc.h... no checking for sys/select.h... yes checking for sys/sockio.h... no checking for sys/time.h... (cached) yes checking for sys/utsname.h... yes checking for unistd.h... (cached) yes checking for IOKit/IOBSD.h... no checking for ifaddrs.h... yes checking for inttypes.h... (cached) yes checking for atexit... yes checking for cfmakeraw... yes checking for cfsetispeed... yes checking for cfsetospeed... yes checking for cfsetspeed... yes checking for dup2... yes checking for gethostname... yes checking for inet_aton... yes checking for malloc... yes checking for memcpy... yes checking for memmove... yes checking for putenv... yes checking for sigaction... yes checking for snprintf... yes checking for strchr... yes checking for strdup... yes checking for strtok... yes checking for strtoul... yes checking for strerror... yes checking for uname... yes checking for connect... yes checking for gethostbyname... yes checking for main in -linet... no checking for cispeed and cospeed members of struct termios... yes checking for socklen_t... yes checking whether to enable userland conduits... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for bluez... yes ./configure: line 18676: syntax error near unexpected token `)' ./configure: line 18676: ` )'
Leider scheitert dann make
:
$ make make: *** Es wurden keine Ziele angegeben und keine Makedatei gefunden. Schluss.
Also es wird gar kein Makefile erstellt.
So habe ich die Frage, welche der Warnings von autoreconf
hier wichtig sind, um das Projekt bauen zu können.
EDIT: Inzwischen habe ich auch mal autoupdate
laufen lassen, doch das hat nichts verbessert.