do2bbc / tnt

TNT - Linux Packet Radio Terminal
GNU General Public License v2.0
0 stars 0 forks source link

Compile Fail on Slackware 14.2 (with current updates) #2

Open kq6up opened 1 year ago

kq6up commented 1 year ago

config stage:

root@kiwi:/home/chris/tmp# git clone https://github.com/do2bbc/tnt tnt2 Cloning into 'tnt2'... remote: Enumerating objects: 262, done. remote: Counting objects: 100% (262/262), done. remote: Compressing objects: 100% (204/204), done. remote: Total 262 (delta 51), reused 262 (delta 51), pack-reused 0 Receiving objects: 100% (262/262), 973.06 KiB | 2.73 MiB/s, done. Resolving deltas: 100% (51/51), done. root@kiwi:/home/chris/tmp# cd tnt2/ root@kiwi:/home/chris/tmp/tnt2# ./configure loading cache ./config.cache checking for non-GNU ld... (cached) /bin/ld checking if the linker (/bin/ld) is GNU ld... (cached) yes checking host system type... x86_64-pc-linux-gnuoldld checking target system type... x86_64-pc-linux-gnuoldld checking build system type... x86_64-pc-linux-gnuoldld checking for a BSD compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... (cached) yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for strerror in -lcposix... (cached) no checking for a BSD compatible install... /usr/bin/install -c checking whether make sets ${MAKE}... (cached) yes checking how to run the C preprocessor... (cached) gcc -E checking for ANSI C header files... (cached) yes checking for fcntl.h... (cached) yes checking for strings.h... (cached) yes checking for sys/ioctl.h... (cached) yes checking for sys/time.h... (cached) yes checking for unistd.h... (cached) yes checking for signal.h... (cached) yes checking for string.h... (cached) yes checking for ctype.h... (cached) yes checking for time.h... (cached) yes checking for dirent.h... (cached) yes checking for sys/stat.h... (cached) yes checking for sys/types.h... (cached) yes checking for sys/wait.h... (cached) yes checking for errno.h... (cached) yes checking for libintl.h... (cached) yes checking for locale.h... (cached) yes checking for main in -lncurses... (cached) yes checking for gettext in -lintl... (cached) no checking for shared library run path origin... (cached) done checking for ranlib... (cached) ranlib checking for working const... (cached) yes checking for inline... (cached) inline checking for off_t... (cached) yes checking for size_t... (cached) yes checking for working alloca.h... (cached) yes checking for alloca... (cached) yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/stat.h... (cached) yes checking for sys/types.h... (cached) yes checking for getpagesize... (cached) yes checking for working mmap... (cached) no checking whether we are using the GNU C Library 2.1 or newer... (cached) yes checking for iconv... (cached) yes 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 argz.h... (cached) yes checking for limits.h... (cached) yes checking for locale.h... (cached) yes checking for nl_types.h... (cached) yes checking for malloc.h... (cached) yes checking for stddef.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... (cached) yes checking for feof_unlocked... (cached) yes checking for fgets_unlocked... (cached) yes checking for getc_unlocked... (cached) yes checking for getcwd... (cached) yes checking for getegid... (cached) yes checking for geteuid... (cached) yes checking for getgid... (cached) yes checking for getuid... (cached) yes checking for mempcpy... (cached) yes checking for munmap... (cached) yes checking for putenv... (cached) yes checking for setenv... (cached) yes checking for setlocale... (cached) yes checking for stpcpy... (cached) yes checking for strcasecmp... (cached) yes checking for strdup... (cached) yes checking for strtoul... (cached) yes checking for tsearch... (cached) yes checking for argz_count... (cached) yes checking for __argz_stringify... (cached) yes checking for argz_next... (cached) yes checking for iconv declaration... (cached) extern size_t iconv (iconv_t cd, char inbuf, size_t inbytesleft, char outbuf, size_t outbytesleft); checking for nl_langinfo and CODESET... (cached) yes checking for LC_MESSAGES... (cached) yes checking for bison... (cached) bison checking version of bison... 3.0.4, ok checking whether NLS is requested... yes checking whether included gettext is requested... no checking for GNU gettext in libc... (cached) yes checking whether to enable flat install locations... no checking for dirent.h that defines DIR... (cached) yes checking for opendir in -ldir... (cached) no checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... (cached) yes checking for errno.h... (cached) yes checking for fcntl.h... (cached) yes checking for sys/ioctl.h... (cached) yes checking for sys/signal... (cached) no checking for sys/time.h... (cached) yes checking for termcap.h... (cached) yes checking for termio.h... (cached) yes checking for unistd.h... (cached) yes checking for working const... (cached) yes checking for pid_t... (cached) yes checking for size_t... (cached) yes checking for uid_t in sys/types.h... (cached) yes checking whether time.h and sys/time.h may both be included... (cached) yes checking whether struct tm is in sys/time.h or time.h... (cached) time.h checking whether gcc needs -traditional... (cached) no checking return type of signal handlers... (cached) void checking whether utime accepts a null argument... (cached) yes checking for getcwd... (cached) yes checking for gettimeofday... (cached) yes checking for mkdir... (cached) yes checking for mktime... (cached) yes checking for select... (cached) yes checking for socket... (cached) yes checking for strdup... (cached) yes checking for strerror... (cached) yes checking for strstr... (cached) yes checking for strtoul... (cached) yes checking for usleep... (cached) yes checking for srandom... (cached) yes checking for index... (cached) yes checking for memmove... (cached) yes checking for cmdtool... (cached) /usr/bin/editor checking whether to enable sound support... yes checking which language to use from {en de fr}... english checking whether to enable support for DPBOXT... no checking whether to enable newuser generation... no checking whether to enable ax25 kernel support... no checking whether to enable ax25 kernel v2.2.x support... no checking whether to enable HIBAUD... no updating cache ./config.cache creating ./config.status creating conf/tnt_setup.de creating conf/tnt_setup.en creating conf/tnt_setup.fr creating conf/Makefile creating doc/Makefile creating doc/solaris/Makefile creating examples/sounds.tnt creating examples/tnt.ini creating examples/tntc.ini creating examples/sounds/Makefile creating examples/Makefile creating intl/Makefile creating po/Makefile.in creating src/Makefile creating src/runprgs/tntrun.h creating src/runprgs/Makefile creating Makefile creating config.h creating po/POTFILES creating po/Makefile ---- Check ok. Type now "make" to compile and then "make install" to install.

Make stage:

root@kiwi:/home/chris/tmp/tnt2# make cd . && aclocal aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:23: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS /usr/share/aclocal/threadlib.m4:36: gl_THREADLIB_EARLY_BODY is expanded from... /usr/share/aclocal/threadlib.m4:29: gl_THREADLIB_EARLY is expanded from... /usr/share/aclocal/threadlib.m4:318: gl_THREADLIB is expanded from... /usr/share/aclocal/lock.m4:9: gl_LOCK is expanded from... /usr/share/aclocal/intl.m4:211: gt_INTL_SUBDIR_CORE is expanded from... /usr/share/aclocal/intl.m4:25: AM_INTL_SUBDIR is expanded from... /usr/share/aclocal/gettext.m4:57: AM_GNU_GETTEXT is expanded from... configure.in:23: the top level configure.in:23: warning: AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS /usr/share/aclocal/threadlib.m4:36: gl_THREADLIB_EARLY_BODY is expanded from... /usr/share/aclocal/threadlib.m4:29: gl_THREADLIB_EARLY is expanded from... /usr/share/aclocal/threadlib.m4:318: gl_THREADLIB is expanded from... /usr/share/aclocal/lock.m4:9: gl_LOCK is expanded from... /usr/share/aclocal/intl.m4:211: gt_INTL_SUBDIR_CORE is expanded from... /usr/share/aclocal/intl.m4:25: AM_INTL_SUBDIR is expanded from... /usr/share/aclocal/gettext.m4:57: AM_GNU_GETTEXT is expanded from... configure.in:23: the top level cd . && automake --gnu --include-deps Makefile automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:23: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS aclocal.m4:3693: gl_THREADLIB_EARLY_BODY is expanded from... aclocal.m4:3686: gl_THREADLIB_EARLY is expanded from... aclocal.m4:3975: gl_THREADLIB is expanded from... aclocal.m4:2773: gl_LOCK is expanded from... aclocal.m4:1344: gt_INTL_SUBDIR_CORE is expanded from... aclocal.m4:1158: AM_INTL_SUBDIR is expanded from... aclocal.m4:342: AM_GNU_GETTEXT is expanded from... configure.in:23: the top level configure.in:23: warning: AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS aclocal.m4:3693: gl_THREADLIB_EARLY_BODY is expanded from... aclocal.m4:3686: gl_THREADLIB_EARLY is expanded from... aclocal.m4:3975: gl_THREADLIB is expanded from... aclocal.m4:2773: gl_LOCK is expanded from... aclocal.m4:1344: gt_INTL_SUBDIR_CORE is expanded from... aclocal.m4:1158: AM_INTL_SUBDIR is expanded from... aclocal.m4:342: AM_GNU_GETTEXT is expanded from... configure.in:23: the top level configure.in:5: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.in:5: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.in:10: error: required file './compile' not found configure.in:10: 'automake --add-missing' can install 'compile' configure.in:23: error: required file './config.rpath' not found Makefile:130: recipe for target 'Makefile.in' failed make: *** [Makefile.in] Error 1

Ok, try what it says:

root@kiwi:/home/chris/tmp/tnt2# automake --add-missing automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:23: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS aclocal.m4:3693: gl_THREADLIB_EARLY_BODY is expanded from... aclocal.m4:3686: gl_THREADLIB_EARLY is expanded from... aclocal.m4:3975: gl_THREADLIB is expanded from... aclocal.m4:2773: gl_LOCK is expanded from... aclocal.m4:1344: gt_INTL_SUBDIR_CORE is expanded from... aclocal.m4:1158: AM_INTL_SUBDIR is expanded from... aclocal.m4:342: AM_GNU_GETTEXT is expanded from... configure.in:23: the top level configure.in:23: warning: AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS aclocal.m4:3693: gl_THREADLIB_EARLY_BODY is expanded from... aclocal.m4:3686: gl_THREADLIB_EARLY is expanded from... aclocal.m4:3975: gl_THREADLIB is expanded from... aclocal.m4:2773: gl_LOCK is expanded from... aclocal.m4:1344: gt_INTL_SUBDIR_CORE is expanded from... aclocal.m4:1158: AM_INTL_SUBDIR is expanded from... aclocal.m4:342: AM_GNU_GETTEXT is expanded from... configure.in:23: the top level configure.in:5: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.in:5: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.in:10: installing './compile' configure.in:23: error: required file './config.rpath' not found automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' doc/Makefile.am:12: error: 'infodir' is not a legitimate directory for 'DATA' src/Makefile.am:55: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '_CPPFLAGS') src/Makefile.am: installing './depcomp' src/runprgs/Makefile.am:16: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '_CPPFLAGS') src/runprgs/Makefile.am:10: error: 'bindir' is not a legitimate directory for 'DATA' automake: warning: redefinition of 'info' ... /usr/share/automake-1.15/am/program.am: ... 'info$(EXEEXT)' previously defined here src/runprgs/Makefile.am:9: while processing program 'info'

Well that was sad, and now I am lost :(

do2bbc commented 1 year ago

my debian does it when i type make a couple of times.....