You are not logged in.

#1 2023-12-06 14:55:06

kq6up
Member
Registered: 2023-12-06
Posts: 2

Autoconf can't find curses.h

I am not sure this is the correct place to ask this question.  I am trying to compile:

https://github.com/ve7fet/linuxax25

And most of the userbase runs Debian based distros, so simply installing libncursesw5-dev takes care of that.

I have ncurses installed, but the autoconf (configure) macro chokes like this:

checking for ncursesw/curses.h... no
configure: error: Required headers missing; aborting

How do I fix this?  I have tried some AUR based ncurses (that provide ncursesw), but I think it is looking in the wrong folder.

Thanks,
Chris

Offline

#2 2023-12-06 15:03:50

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 1,992
Website

Re: Autoconf can't find curses.h

Cannot reproduce:

[playground@der-geraet libax25]$ ./autogen.sh 
---removing generated files---
Making maintainer-clean in man
make[1]: Entering directory '/home/playground/linuxax25/libax25/man'
rm -rf .libs _libs
rm -f *.lo
test -z "" || rm -f 
test . = "." || test -z "" || rm -f 
This command is intended for maintainers to use
it deletes files that may require special tools to rebuild.
rm -f Makefile
make[1]: Leaving directory '/home/playground/linuxax25/libax25/man'
Making maintainer-clean in lib
make[1]: Entering directory '/home/playground/linuxax25/libax25/lib'
Making maintainer-clean in ax25
make[2]: Entering directory '/home/playground/linuxax25/libax25/lib/ax25'
test -z "libax25.la" || rm -f libax25.la
rm -f ./so_locations
rm -rf .libs _libs
rm -f *.o
rm -f *.lo
rm -f *.tab.c
test -z "" || rm -f 
test . = "." || test -z "" || rm -f 
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
This command is intended for maintainers to use
it deletes files that may require special tools to rebuild.
rm -f ./.deps/axconfig.Plo
rm -f ./.deps/axutils.Plo
rm -f ./.deps/daemon.Plo
rm -f ./.deps/nrconfig.Plo
rm -f ./.deps/procutils.Plo
rm -f ./.deps/rsconfig.Plo
rm -f ./.deps/ttyutils.Plo
rm -f Makefile
make[2]: Leaving directory '/home/playground/linuxax25/libax25/lib/ax25'
Making maintainer-clean in ax25io
make[2]: Entering directory '/home/playground/linuxax25/libax25/lib/ax25io'
test -z "libax25io.la" || rm -f libax25io.la
rm -f ./so_locations
rm -rf .libs _libs
rm -f *.o
rm -f *.lo
rm -f *.tab.c
test -z "" || rm -f 
test . = "." || test -z "" || rm -f 
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
This command is intended for maintainers to use
it deletes files that may require special tools to rebuild.
rm -f ./.deps/ax25io.Plo
rm -f Makefile
make[2]: Leaving directory '/home/playground/linuxax25/libax25/lib/ax25io'
make[2]: Entering directory '/home/playground/linuxax25/libax25/lib'
rm -rf .libs _libs
rm -f *.lo
test -z "" || rm -f 
test . = "." || test -z "" || rm -f 
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
This command is intended for maintainers to use
it deletes files that may require special tools to rebuild.
make[2]: Leaving directory '/home/playground/linuxax25/libax25/lib'
rm -f Makefile
make[1]: Leaving directory '/home/playground/linuxax25/libax25/lib'
Making maintainer-clean in netax25
make[1]: Entering directory '/home/playground/linuxax25/libax25/netax25'
rm -rf .libs _libs
rm -f *.lo
test -z "" || rm -f 
test . = "." || test -z "" || rm -f 
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
This command is intended for maintainers to use
it deletes files that may require special tools to rebuild.
rm -f Makefile
make[1]: Leaving directory '/home/playground/linuxax25/libax25/netax25'
Making maintainer-clean in netrose
make[1]: Entering directory '/home/playground/linuxax25/libax25/netrose'
rm -rf .libs _libs
rm -f *.lo
test -z "" || rm -f 
test . = "." || test -z "" || rm -f 
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
This command is intended for maintainers to use
it deletes files that may require special tools to rebuild.
rm -f Makefile
make[1]: Leaving directory '/home/playground/linuxax25/libax25/netrose'
Making maintainer-clean in netrom
make[1]: Entering directory '/home/playground/linuxax25/libax25/netrom'
rm -rf .libs _libs
rm -f *.lo
test -z "" || rm -f 
test . = "." || test -z "" || rm -f 
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
This command is intended for maintainers to use
it deletes files that may require special tools to rebuild.
rm -f Makefile
make[1]: Leaving directory '/home/playground/linuxax25/libax25/netrom'
make[1]: Entering directory '/home/playground/linuxax25/libax25'
rm -rf .libs _libs
rm -f *.lo
test -z "libax25.spec" || rm -f libax25.spec
test . = "." || test -z "" || rm -f 
rm -f config.h stamp-h1
rm -f libtool config.lt
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
rm -f cscope.out cscope.in.out cscope.po.out cscope.files
This command is intended for maintainers to use
it deletes files that may require special tools to rebuild.
make[1]: Leaving directory '/home/playground/linuxax25/libax25'
rm -f config.status config.cache config.log configure.lineno config.status.lineno
rm -rf ./autom4te.cache
rm -f Makefile
---autoreconf---
autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: running: aclocal --force -I m4
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:8: installing './ar-lib'
configure.ac:8: installing './compile'
configure.ac:19: installing './config.guess'
configure.ac:19: installing './config.sub'
configure.ac:3: installing './install-sh'
configure.ac:3: installing './missing'
lib/ax25/Makefile.am: installing './depcomp'
autoreconf: Leaving directory '.'
[playground@der-geraet libax25]$ ./configure 
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 make supports the include directive... yes (GNU style)
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 dependency style of gcc... gcc3
checking for ar... ar
checking the archiver (ar) interface... ar
checking for gcc... (cached) gcc
checking whether the compiler supports GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to enable C11 features... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking whether gcc needs -traditional... no
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
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 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... no
checking if : 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 vfork.h... no
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 whether setpgrp requires zero arguments... yes
checking for zlibVersion in -lz... yes
./configure: line 14077: #include: command not found
checking for fcntl.h... yes
checking for sys/file.h... yes
checking for sys/ioctl.h... yes
checking for sys/param.h... yes
checking for sys/socket.h... yes
checking for termios.h... yes
checking for limits.h... yes
checking for working zlib.h header file... yes
checking for working netax25/ax25.h header file... yes
checking for working netrom/netrom.h header file... yes
checking for working netrose/rose.h header file... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for pid_t... yes
checking for fork... yes
checking for vfork... yes
checking for vprintf... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for GNU libc compatible malloc... yes
checking for GNU libc compatible realloc... yes
checking for memmove... yes
checking for memset... yes
checking for socket... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strcspn... yes
checking for strdup... yes
checking for strerror... yes
checking for strrchr... yes
checking for strspn... yes
checking for strstr... yes
checking for strtoul... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating man/Makefile
config.status: creating lib/Makefile
config.status: creating lib/ax25/Makefile
config.status: creating lib/ax25io/Makefile
config.status: creating netax25/Makefile
config.status: creating netrose/Makefile
config.status: creating netrom/Makefile
config.status: creating libax25.spec
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
[playground@der-geraet libax25]$ pacman -F curses.h
core/ncurses 6.4_20230520-1 [installed]
    usr/include/curses.h
extra/pdcurses 3.9-2
    usr/include/xcurses/curses.h
[playground@der-geraet libax25]$ make 
make  all-recursive
make[1]: Entering directory '/home/playground/linuxax25/libax25'
Making all in man
make[2]: Entering directory '/home/playground/linuxax25/libax25/man'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/playground/linuxax25/libax25/man'
Making all in lib
make[2]: Entering directory '/home/playground/linuxax25/libax25/lib'
Making all in ax25
make[3]: Entering directory '/home/playground/linuxax25/libax25/lib/ax25'
/bin/sh ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..  -DAX25_SYSCONFDIR=\""/usr/local/etc/ax25/"\" -DAX25_LOCALSTATEDIR=\""/usr/local/var/ax25/"\" -I../.. -I../../netax25 -I../../netrose -I../../netrom    -g -O2 -MT axconfig.lo -MD -MP -MF .deps/axconfig.Tpo -c -o axconfig.lo axconfig.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -DAX25_SYSCONFDIR=\"/usr/local/etc/ax25/\" -DAX25_LOCALSTATEDIR=\"/usr/local/var/ax25/\" -I../.. -I../../netax25 -I../../netrose -I../../netrom -g -O2 -MT axconfig.lo -MD -MP -MF .deps/axconfig.Tpo -c axconfig.c  -fPIC -DPIC -o .libs/axconfig.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -DAX25_SYSCONFDIR=\"/usr/local/etc/ax25/\" -DAX25_LOCALSTATEDIR=\"/usr/local/var/ax25/\" -I../.. -I../../netax25 -I../../netrose -I../../netrom -g -O2 -MT axconfig.lo -MD -MP -MF .deps/axconfig.Tpo -c axconfig.c -o axconfig.o >/dev/null 2>&1
mv -f .deps/axconfig.Tpo .deps/axconfig.Plo
/bin/sh ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..  -DAX25_SYSCONFDIR=\""/usr/local/etc/ax25/"\" -DAX25_LOCALSTATEDIR=\""/usr/local/var/ax25/"\" -I../.. -I../../netax25 -I../../netrose -I../../netrom    -g -O2 -MT axutils.lo -MD -MP -MF .deps/axutils.Tpo -c -o axutils.lo axutils.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -DAX25_SYSCONFDIR=\"/usr/local/etc/ax25/\" -DAX25_LOCALSTATEDIR=\"/usr/local/var/ax25/\" -I../.. -I../../netax25 -I../../netrose -I../../netrom -g -O2 -MT axutils.lo -MD -MP -MF .deps/axutils.Tpo -c axutils.c  -fPIC -DPIC -o .libs/axutils.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -DAX25_SYSCONFDIR=\"/usr/local/etc/ax25/\" -DAX25_LOCALSTATEDIR=\"/usr/local/var/ax25/\" -I../.. -I../../netax25 -I../../netrose -I../../netrom -g -O2 -MT axutils.lo -MD -MP -MF .deps/axutils.Tpo -c axutils.c -o axutils.o >/dev/null 2>&1
mv -f .deps/axutils.Tpo .deps/axutils.Plo
/bin/sh ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..  -DAX25_SYSCONFDIR=\""/usr/local/etc/ax25/"\" -DAX25_LOCALSTATEDIR=\""/usr/local/var/ax25/"\" -I../.. -I../../netax25 -I../../netrose -I../../netrom    -g -O2 -MT daemon.lo -MD -MP -MF .deps/daemon.Tpo -c -o daemon.lo daemon.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -DAX25_SYSCONFDIR=\"/usr/local/etc/ax25/\" -DAX25_LOCALSTATEDIR=\"/usr/local/var/ax25/\" -I../.. -I../../netax25 -I../../netrose -I../../netrom -g -O2 -MT daemon.lo -MD -MP -MF .deps/daemon.Tpo -c daemon.c  -fPIC -DPIC -o .libs/daemon.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -DAX25_SYSCONFDIR=\"/usr/local/etc/ax25/\" -DAX25_LOCALSTATEDIR=\"/usr/local/var/ax25/\" -I../.. -I../../netax25 -I../../netrose -I../../netrom -g -O2 -MT daemon.lo -MD -MP -MF .deps/daemon.Tpo -c daemon.c -o daemon.o >/dev/null 2>&1
mv -f .deps/daemon.Tpo .deps/daemon.Plo
/bin/sh ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..  -DAX25_SYSCONFDIR=\""/usr/local/etc/ax25/"\" -DAX25_LOCALSTATEDIR=\""/usr/local/var/ax25/"\" -I../.. -I../../netax25 -I../../netrose -I../../netrom    -g -O2 -MT nrconfig.lo -MD -MP -MF .deps/nrconfig.Tpo -c -o nrconfig.lo nrconfig.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -DAX25_SYSCONFDIR=\"/usr/local/etc/ax25/\" -DAX25_LOCALSTATEDIR=\"/usr/local/var/ax25/\" -I../.. -I../../netax25 -I../../netrose -I../../netrom -g -O2 -MT nrconfig.lo -MD -MP -MF .deps/nrconfig.Tpo -c nrconfig.c  -fPIC -DPIC -o .libs/nrconfig.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -DAX25_SYSCONFDIR=\"/usr/local/etc/ax25/\" -DAX25_LOCALSTATEDIR=\"/usr/local/var/ax25/\" -I../.. -I../../netax25 -I../../netrose -I../../netrom -g -O2 -MT nrconfig.lo -MD -MP -MF .deps/nrconfig.Tpo -c nrconfig.c -o nrconfig.o >/dev/null 2>&1
mv -f .deps/nrconfig.Tpo .deps/nrconfig.Plo
/bin/sh ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..  -DAX25_SYSCONFDIR=\""/usr/local/etc/ax25/"\" -DAX25_LOCALSTATEDIR=\""/usr/local/var/ax25/"\" -I../.. -I../../netax25 -I../../netrose -I../../netrom    -g -O2 -MT rsconfig.lo -MD -MP -MF .deps/rsconfig.Tpo -c -o rsconfig.lo rsconfig.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -DAX25_SYSCONFDIR=\"/usr/local/etc/ax25/\" -DAX25_LOCALSTATEDIR=\"/usr/local/var/ax25/\" -I../.. -I../../netax25 -I../../netrose -I../../netrom -g -O2 -MT rsconfig.lo -MD -MP -MF .deps/rsconfig.Tpo -c rsconfig.c  -fPIC -DPIC -o .libs/rsconfig.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -DAX25_SYSCONFDIR=\"/usr/local/etc/ax25/\" -DAX25_LOCALSTATEDIR=\"/usr/local/var/ax25/\" -I../.. -I../../netax25 -I../../netrose -I../../netrom -g -O2 -MT rsconfig.lo -MD -MP -MF .deps/rsconfig.Tpo -c rsconfig.c -o rsconfig.o >/dev/null 2>&1
mv -f .deps/rsconfig.Tpo .deps/rsconfig.Plo
/bin/sh ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..  -DAX25_SYSCONFDIR=\""/usr/local/etc/ax25/"\" -DAX25_LOCALSTATEDIR=\""/usr/local/var/ax25/"\" -I../.. -I../../netax25 -I../../netrose -I../../netrom    -g -O2 -MT procutils.lo -MD -MP -MF .deps/procutils.Tpo -c -o procutils.lo procutils.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -DAX25_SYSCONFDIR=\"/usr/local/etc/ax25/\" -DAX25_LOCALSTATEDIR=\"/usr/local/var/ax25/\" -I../.. -I../../netax25 -I../../netrose -I../../netrom -g -O2 -MT procutils.lo -MD -MP -MF .deps/procutils.Tpo -c procutils.c  -fPIC -DPIC -o .libs/procutils.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -DAX25_SYSCONFDIR=\"/usr/local/etc/ax25/\" -DAX25_LOCALSTATEDIR=\"/usr/local/var/ax25/\" -I../.. -I../../netax25 -I../../netrose -I../../netrom -g -O2 -MT procutils.lo -MD -MP -MF .deps/procutils.Tpo -c procutils.c -o procutils.o >/dev/null 2>&1
mv -f .deps/procutils.Tpo .deps/procutils.Plo
/bin/sh ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..  -DAX25_SYSCONFDIR=\""/usr/local/etc/ax25/"\" -DAX25_LOCALSTATEDIR=\""/usr/local/var/ax25/"\" -I../.. -I../../netax25 -I../../netrose -I../../netrom    -g -O2 -MT ttyutils.lo -MD -MP -MF .deps/ttyutils.Tpo -c -o ttyutils.lo ttyutils.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -DAX25_SYSCONFDIR=\"/usr/local/etc/ax25/\" -DAX25_LOCALSTATEDIR=\"/usr/local/var/ax25/\" -I../.. -I../../netax25 -I../../netrose -I../../netrom -g -O2 -MT ttyutils.lo -MD -MP -MF .deps/ttyutils.Tpo -c ttyutils.c  -fPIC -DPIC -o .libs/ttyutils.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -DAX25_SYSCONFDIR=\"/usr/local/etc/ax25/\" -DAX25_LOCALSTATEDIR=\"/usr/local/var/ax25/\" -I../.. -I../../netax25 -I../../netrose -I../../netrom -g -O2 -MT ttyutils.lo -MD -MP -MF .deps/ttyutils.Tpo -c ttyutils.c -o ttyutils.o >/dev/null 2>&1
mv -f .deps/ttyutils.Tpo .deps/ttyutils.Plo
/bin/sh ../../libtool  --tag=CC   --mode=link gcc  -g -O2 -version-info 1:1:0  -o libax25.la -rpath /usr/local/lib axconfig.lo axutils.lo daemon.lo nrconfig.lo rsconfig.lo procutils.lo ttyutils.lo  
libtool: link: gcc -shared  -fPIC -DPIC  .libs/axconfig.o .libs/axutils.o .libs/daemon.o .libs/nrconfig.o .libs/rsconfig.o .libs/procutils.o .libs/ttyutils.o    -g -O2   -Wl,-soname -Wl,libax25.so.1 -o .libs/libax25.so.1.0.1
libtool: link: (cd ".libs" && rm -f "libax25.so.1" && ln -s "libax25.so.1.0.1" "libax25.so.1")
libtool: link: (cd ".libs" && rm -f "libax25.so" && ln -s "libax25.so.1.0.1" "libax25.so")
libtool: link: ar cr .libs/libax25.a  axconfig.o axutils.o daemon.o nrconfig.o rsconfig.o procutils.o ttyutils.o
libtool: link: ranlib .libs/libax25.a
libtool: link: ( cd ".libs" && rm -f "libax25.la" && ln -s "../libax25.la" "libax25.la" )
make[3]: Leaving directory '/home/playground/linuxax25/libax25/lib/ax25'
Making all in ax25io
make[3]: Entering directory '/home/playground/linuxax25/libax25/lib/ax25io'
/bin/sh ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..  -DAX25_SYSCONFDIR=\""/usr/local/etc/ax25/"\" -DAX25_LOCALSTATEDIR=\""/usr/local/var/ax25/"\" -I../.. -I../../netax25   -g -O2 -MT ax25io.lo -MD -MP -MF .deps/ax25io.Tpo -c -o ax25io.lo ax25io.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -DAX25_SYSCONFDIR=\"/usr/local/etc/ax25/\" -DAX25_LOCALSTATEDIR=\"/usr/local/var/ax25/\" -I../.. -I../../netax25 -g -O2 -MT ax25io.lo -MD -MP -MF .deps/ax25io.Tpo -c ax25io.c  -fPIC -DPIC -o .libs/ax25io.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -DAX25_SYSCONFDIR=\"/usr/local/etc/ax25/\" -DAX25_LOCALSTATEDIR=\"/usr/local/var/ax25/\" -I../.. -I../../netax25 -g -O2 -MT ax25io.lo -MD -MP -MF .deps/ax25io.Tpo -c ax25io.c -o ax25io.o >/dev/null 2>&1
mv -f .deps/ax25io.Tpo .deps/ax25io.Plo
/bin/sh ../../libtool  --tag=CC   --mode=link gcc  -g -O2 -version-info 1:0:0  -o libax25io.la -rpath /usr/local/lib ax25io.lo -lz 
libtool: link: gcc -shared  -fPIC -DPIC  .libs/ax25io.o   -lz  -g -O2   -Wl,-soname -Wl,libax25io.so.1 -o .libs/libax25io.so.1.0.0
libtool: link: (cd ".libs" && rm -f "libax25io.so.1" && ln -s "libax25io.so.1.0.0" "libax25io.so.1")
libtool: link: (cd ".libs" && rm -f "libax25io.so" && ln -s "libax25io.so.1.0.0" "libax25io.so")
libtool: link: ar cr .libs/libax25io.a  ax25io.o
libtool: link: ranlib .libs/libax25io.a
libtool: link: ( cd ".libs" && rm -f "libax25io.la" && ln -s "../libax25io.la" "libax25io.la" )
make[3]: Leaving directory '/home/playground/linuxax25/libax25/lib/ax25io'
make[3]: Entering directory '/home/playground/linuxax25/libax25/lib'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/playground/linuxax25/libax25/lib'
make[2]: Leaving directory '/home/playground/linuxax25/libax25/lib'
Making all in netax25
make[2]: Entering directory '/home/playground/linuxax25/libax25/netax25'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/playground/linuxax25/libax25/netax25'
Making all in netrose
make[2]: Entering directory '/home/playground/linuxax25/libax25/netrose'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/playground/linuxax25/libax25/netrose'
Making all in netrom
make[2]: Entering directory '/home/playground/linuxax25/libax25/netrom'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/playground/linuxax25/libax25/netrom'
make[2]: Entering directory '/home/playground/linuxax25/libax25'
make[2]: Leaving directory '/home/playground/linuxax25/libax25'
make[1]: Leaving directory '/home/playground/linuxax25/libax25'
[playground@der-geraet libax25]$ 

What does

# pacman -Qikk ncurses
# pacman -Fy curses.h

yield?


macro_rules! yolo { { $($tokens:tt)* } => { unsafe { $($tokens)* } }; }

Offline

#3 2023-12-06 15:08:06

kq6up
Member
Registered: 2023-12-06
Posts: 2

Re: Autoconf can't find curses.h

Try it again in the sub folder ax25apps.  I was able to get it compile and install the library, but choked in ax25apps.

Here is the output you requested:

# pacman -Qikk ncurses
Name            : ncurses
Version         : 6.4_20230520-1
Description     : System V Release 4.0 curses emulation library
Architecture    : x86_64
URL             : https://invisible-island.net/ncurses/ncurses.html
Licenses        : MIT
Groups          : None
Provides        : libncurses++w.so=6-64  libformw.so=6-64  libmenuw.so=6-64  libpanelw.so=6-64
                  libncursesw.so=6-64
Depends On      : glibc  gcc-libs
Optional Deps   : bash: for ncursesw6-config [installed]
Required By     : aalib  bash  brltty  guile  inetutils  lame  less  libcaca  libedit  libxml2
                  llvm-libs  mariadb-clients  nftables  pinentry  procps-ng  psmisc  qemu-ui-curses
                  readline  texinfo  util-linux  vi  xterm
Optional For    : None
Conflicts With  : None
Replaces        : alacritty-terminfo
Installed Size  : 3.97 MiB
Packager        : David Runge <dvzrv@archlinux.org>
Build Date      : Tue 23 May 2023 01:02:38 PM PDT
Install Date    : Wed 06 Dec 2023 05:56:35 AM PST
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : Signature

ncurses: 3888 total files, 0 altered files

#########################################################

# pacman -Fy curses.h
:: Synchronizing package databases...
core                            1044.9 KiB   464 KiB/s 00:02 [##################################] 100%
extra                             38.6 MiB  2.21 MiB/s 00:17 [##################################] 100%
core/ncurses 6.4_20230520-1 [installed]
    usr/include/curses.h
extra/pdcurses 3.9-2
    usr/include/xcurses/curses.h

Offline

Board footer

Powered by FluxBB