Skip to content

pkg-config could not be found during configure stage #352

@rubyFeedback

Description

@rubyFeedback

configure: WARNING: pkg-config not available, cannot check for xrandr
configure: WARNING: pkg-config not available, cannot check for xcursor

Version: rdesktop-1.9.0

URL I used:

https://github.com/rdesktop/rdesktop/releases/download/v1.9.0/rdesktop-1.9.0.tar.gz

This works:

stat /usr/bin/pkg-config

File: /usr/bin/pkg-config
Size: 661336 Blocks: 1296 IO Block: 4096 regular file
Device: 802h/2050d Inode: 144975726 Links: 2
Access: (0755/-rwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2019-10-12 18:17:12.893622207 +0200
Modify: 2019-10-12 18:12:47.999612542 +0200
Change: 2019-10-12 18:12:48.017612543 +0200
Birth: 2019-10-12 18:12:47.997612542 +0200

Also:

pkg-config --version

0.29.2

No idea why the configure script can not find my pkg-config; perhaps some
environment variable is messing it up. But pkg-config resides right there at
/usr/bin/, and it is not even a symlink.

I also tried other things but that did not work either.

If interested, here is config.log:


This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by rdesktop configure 1.9.0, which was
generated by GNU Autoconf 2.69. Invocation command line was

$ ./configure --prefix=/usr --disable-credssp

---------

Platform.

---------

hostname = slackel.example.net
uname -m = x86_64
uname -r = 4.19.59
uname -s = Linux
uname -v = #1 SMP Sun Jul 14 15:55:45 CDT 2019

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = x86_64
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /System/Index/bin/
PATH: /usr/bin/
PATH: /usr/sbin/
PATH: /bin/
PATH: /sbin/
PATH: /usr/local/bin/
PATH: /usr/local/texlive/2019/bin/x86_64-linux/
PATH: /root/.cargo/bin

-----------

Core tests.

-----------

configure:2331: checking build system type
configure:2345: result: x86_64-unknown-linux-gnu
configure:2365: checking host system type
configure:2378: result: x86_64-unknown-linux-gnu
configure:2447: checking for gcc
configure:2463: found /System/Index/bin//gcc
configure:2474: result: gcc
configure:2703: checking for C compiler version
configure:2712: gcc --version >&5
gcc (GCC) 9.2.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2723: $? = 0
configure:2712: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-linux-gnu/9.2.0/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../configure --prefix=/usr --build=x86_64-linux-gnu --host=x86_64-linux-gnu --enable-clocale=gnu --without-headers --enable-languages=c,c++,objc,fortran,go --disable-multilib
Thread model: posix
gcc version 9.2.0 (GCC)
configure:2723: $? = 0
configure:2712: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:2723: $? = 1
configure:2712: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'; did you mean '--version'?
gcc: fatal error: no input files
compilation terminated.
configure:2723: $? = 1
configure:2743: checking whether the C compiler works
configure:2765: gcc -O2 -fPIC -fno-strict-overflow -Wno-error conftest.c >&5
configure:2769: $? = 0
configure:2817: result: yes
configure:2820: checking for C compiler default output file name
configure:2822: result: a.out
configure:2828: checking for suffix of executables
configure:2835: gcc -o conftest -O2 -fPIC -fno-strict-overflow -Wno-error conftest.c >&5
configure:2839: $? = 0
configure:2861: result:
configure:2883: checking whether we are cross compiling
configure:2891: gcc -o conftest -O2 -fPIC -fno-strict-overflow -Wno-error conftest.c >&5
configure:2895: $? = 0
configure:2902: ./conftest
configure:2906: $? = 0
configure:2894: result: no
configure:2899: checking for suffix of object files
configure:2921: gcc -c -O2 -fPIC -fno-strict-overflow -Wno-error conftest.c >&5
configure:2925: $? = 0
configure:2946: result: o
configure:2950: checking whether we are using the GNU C compiler
configure:2969: gcc -c -O2 -fPIC -fno-strict-overflow -Wno-error conftest.c >&5
configure:2969: $? = 0
configure:2978: result: yes
configure:2987: checking whether gcc accepts -g
configure:3007: gcc -c -g conftest.c >&5
configure:3007: $? = 0
configure:3048: result: yes
configure:3065: checking for gcc option to accept ISO C89
configure:3128: gcc -c -O2 -fPIC -fno-strict-overflow -Wno-error conftest.c >&5
configure:3128: $? = 0
configure:3141: result: none needed
configure:3179: checking for a BSD-compatible install
configure:3247: result: /System/Index/bin//ginstall -c
configure:3270: checking how to run the C preprocessor
configure:3301: gcc -E conftest.c
configure:3301: $? = 0
configure:3315: gcc -E conftest.c
conftest.c:9:10: fatal error: ac_nonexistent.h: No such file or directory
9 | #include <ac_nonexistent.h>
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:3315: $? = 1
configure: failed program was:
| /* confdefs.h /
| #define PACKAGE_NAME "rdesktop"
| #define PACKAGE_TARNAME "rdesktop"
| #define PACKAGE_VERSION "1.9.0"
| #define PACKAGE_STRING "rdesktop 1.9.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /
end confdefs.h. /
| #include <ac_nonexistent.h>
configure:3340: result: gcc -E
configure:3360: gcc -E conftest.c
configure:3360: $? = 0
configure:3374: gcc -E conftest.c
conftest.c:9:10: fatal error: ac_nonexistent.h: No such file or directory
9 | #include <ac_nonexistent.h>
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:3374: $? = 1
configure: failed program was:
| /
confdefs.h /
| #define PACKAGE_NAME "rdesktop"
| #define PACKAGE_TARNAME "rdesktop"
| #define PACKAGE_VERSION "1.9.0"
| #define PACKAGE_STRING "rdesktop 1.9.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /
end confdefs.h. /
| #include <ac_nonexistent.h>
configure:3403: checking for grep that handles long lines and -e
configure:3461: result: /System/Index/bin//grep
configure:3466: checking for egrep
configure:3528: result: /System/Index/bin//grep -E
configure:3533: checking for ANSI C header files
configure:3553: gcc -c -O2 -fPIC -fno-strict-overflow -Wno-error -Wall -Wextra conftest.c >&5
configure:3553: $? = 0
configure:3626: gcc -o conftest -O2 -fPIC -fno-strict-overflow -Wno-error -Wall -Wextra conftest.c >&5
configure:3626: $? = 0
configure:3626: ./conftest
configure:3626: $? = 0
configure:3637: result: yes
configure:3650: checking for sys/types.h
configure:3650: gcc -c -O2 -fPIC -fno-strict-overflow -Wno-error -Wall -Wextra conftest.c >&5
configure:3650: $? = 0
configure:3650: result: yes
configure:3650: checking for sys/stat.h
configure:3650: gcc -c -O2 -fPIC -fno-strict-overflow -Wno-error -Wall -Wextra conftest.c >&5
configure:3650: $? = 0
configure:3650: result: yes
configure:3650: checking for stdlib.h
configure:3650: gcc -c -O2 -fPIC -fno-strict-overflow -Wno-error -Wall -Wextra conftest.c >&5
configure:3650: $? = 0
configure:3650: result: yes
configure:3650: checking for string.h
configure:3650: gcc -c -O2 -fPIC -fno-strict-overflow -Wno-error -Wall -Wextra conftest.c >&5
configure:3650: $? = 0
configure:3650: result: yes
configure:3650: checking for memory.h
configure:3650: gcc -c -O2 -fPIC -fno-strict-overflow -Wno-error -Wall -Wextra conftest.c >&5
configure:3650: $? = 0
configure:3650: result: yes
configure:3650: checking for strings.h
configure:3650: gcc -c -O2 -fPIC -fno-strict-overflow -Wno-error -Wall -Wextra conftest.c >&5
configure:3650: $? = 0
configure:3650: result: yes
configure:3650: checking for inttypes.h
configure:3650: gcc -c -O2 -fPIC -fno-strict-overflow -Wno-error -Wall -Wextra conftest.c >&5
configure:3650: $? = 0
configure:3650: result: yes
configure:3650: checking for stdint.h
configure:3650: gcc -c -O2 -fPIC -fno-strict-overflow -Wno-error -Wall -Wextra conftest.c >&5
configure:3650: $? = 0
configure:3650: result: yes
configure:3650: checking for unistd.h
configure:3650: gcc -c -O2 -fPIC -fno-strict-overflow -Wno-error -Wall -Wextra conftest.c >&5
configure:3650: $? = 0
configure:3650: result: yes
configure:3662: checking whether byte ordering is bigendian
configure:3677: gcc -c -O2 -fPIC -fno-strict-overflow -Wno-error -Wall -Wextra conftest.c >&5
conftest.c:20:9: error: unknown type name 'not'
20 | not a universal capable compiler
| ^~~
conftest.c:20:15: error: expected '=', ',', ';', 'asm' or 'attribute' before 'universal'
20 | not a universal capable compiler
| ^~~~~~~~~
conftest.c:20:15: error: unknown type name 'universal'
configure:3677: $? = 1
configure: failed program was:
| /
confdefs.h /
| #define PACKAGE_NAME "rdesktop"
| #define PACKAGE_TARNAME "rdesktop"
| #define PACKAGE_VERSION "1.9.0"
| #define PACKAGE_STRING "rdesktop 1.9.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /
end confdefs.h. /
| #ifndef APPLE_CC
| not a universal capable compiler
| #endif
| typedef int dummy;
|
configure:3722: gcc -c -O2 -fPIC -fno-strict-overflow -Wno-error -Wall -Wextra conftest.c >&5
configure:3722: $? = 0
configure:3740: gcc -c -O2 -fPIC -fno-strict-overflow -Wno-error -Wall -Wextra conftest.c >&5
conftest.c: In function 'main':
conftest.c:26:4: error: unknown type name 'not'; did you mean 'ino_t'?
26 | not big endian
| ^~~
| ino_t
conftest.c:26:12: error: expected '=', ',', ';', 'asm' or 'attribute' before 'endian'
26 | not big endian
| ^~~~~~
configure:3740: $? = 1
configure: failed program was:
| /
confdefs.h /
| #define PACKAGE_NAME "rdesktop"
| #define PACKAGE_TARNAME "rdesktop"
| #define PACKAGE_VERSION "1.9.0"
| #define PACKAGE_STRING "rdesktop 1.9.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /
end confdefs.h. /
| #include <sys/types.h>
| #include <sys/param.h>
|
| int
| main ()
| {
| #if BYTE_ORDER != BIG_ENDIAN
| not big endian
| #endif
|
| ;
| return 0;
| }
configure:3868: result: no
configure:3887: checking for X
configure:4026: gcc -o conftest -O2 -fPIC -fno-strict-overflow -Wno-error -Wall -Wextra conftest.c -lX11 >&5
configure:4026: $? = 0
configure:4076: result: libraries , headers
configure:4175: gcc -o conftest -O2 -fPIC -fno-strict-overflow -Wno-error -Wall -Wextra conftest.c -lX11 >&5
configure:4175: $? = 0
configure:4273: checking for gethostbyname
configure:4273: gcc -o conftest -O2 -fPIC -fno-strict-overflow -Wno-error -Wall -Wextra conftest.c >&5
configure:4273: $? = 0
configure:4273: result: yes
configure:4370: checking for connect
configure:4370: gcc -o conftest -O2 -fPIC -fno-strict-overflow -Wno-error -Wall -Wextra conftest.c >&5
configure:4370: $? = 0
configure:4370: result: yes
configure:4419: checking for remove
configure:4419: gcc -o conftest -O2 -fPIC -fno-strict-overflow -Wno-error -Wall -Wextra conftest.c >&5
configure:4419: $? = 0
configure:4419: result: yes
configure:4468: checking for shmat
configure:4468: gcc -o conftest -O2 -fPIC -fno-strict-overflow -Wno-error -Wall -Wextra conftest.c >&5
configure:4468: $? = 0
configure:4468: result: yes
configure:4526: checking for IceConnectionNumber in -lICE
configure:4551: gcc -o conftest -O2 -fPIC -fno-strict-overflow -Wno-error -Wall -Wextra conftest.c -lICE >&5
configure:4551: $? = 0
configure:4560: result: yes
configure:4629: checking for pkg-config
configure:4647: found /System/Index/bin//pkg-config
configure:4659: result: /System/Index/bin//pkg-config
configure:4683: checking for library containing __gmpz_init
configure:4714: gcc -o conftest -O2 -fPIC -fno-strict-overflow -Wno-error -Wall -Wextra conftest.c >&5
/System/Index/bin/ld: /Depot/Temp/ccbVSr0R.o: in function main': conftest.c:(.text.startup+0x7): undefined reference to __gmpz_init'
collect2: error: ld returned 1 exit status
configure:4714: $? = 1
configure: failed program was:
| /
confdefs.h /
| #define PACKAGE_NAME "rdesktop"
| #define PACKAGE_TARNAME "rdesktop"
| #define PACKAGE_VERSION "1.9.0"
| #define PACKAGE_STRING "rdesktop 1.9.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define L_ENDIAN 1
| /
end confdefs.h. /
|
| /
Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. /
| #ifdef __cplusplus
| extern "C"
| #endif
| char __gmpz_init ();
| int
| main ()
| {
| return __gmpz_init ();
| ;
| return 0;
| }
configure:4714: gcc -o conftest -O2 -fPIC -fno-strict-overflow -Wno-error -Wall -Wextra conftest.c -lgmp >&5
configure:4714: $? = 0
configure:4731: result: -lgmp
configure:4740: checking for library containing socket
configure:4771: gcc -o conftest -O2 -fPIC -fno-strict-overflow -Wno-error -Wall -Wextra conftest.c -lgmp >&5
configure:4771: $? = 0
configure:4788: result: none required
configure:4796: checking for library containing inet_aton
configure:4827: gcc -o conftest -O2 -fPIC -fno-strict-overflow -Wno-error -Wall -Wextra conftest.c -lgmp >&5
configure:4827: $? = 0
configure:4844: result: none required
configure:4853: checking sys/select.h usability
configure:4853: gcc -c -O2 -fPIC -fno-strict-overflow -Wno-error -Wall -Wextra conftest.c >&5
configure:4853: $? = 0
configure:4853: result: yes
configure:4853: checking sys/select.h presence
configure:4853: gcc -E conftest.c
configure:4853: $? = 0
configure:4853: result: yes
configure:4853: checking for sys/select.h
configure:4853: result: yes
configure:4860: checking sys/modem.h usability
configure:4860: gcc -c -O2 -fPIC -fno-strict-overflow -Wno-error -Wall -Wextra conftest.c >&5
conftest.c:54:10: fatal error: sys/modem.h: No such file or directory
54 | #include <sys/modem.h>
| ^~~~~~~~~~~~~
compilation terminated.
configure:4860: $? = 1
configure: failed program was:
| /
confdefs.h /
| #define PACKAGE_NAME "rdesktop"
| #define PACKAGE_TARNAME "rdesktop"
| #define PACKAGE_VERSION "1.9.0"
| #define PACKAGE_STRING "rdesktop 1.9.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define L_ENDIAN 1
| #define HAVE_SYS_SELECT_H 1
| /
end confdefs.h. /
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <sys/modem.h>
configure:4860: result: no
configure:4860: checking sys/modem.h presence
configure:4860: gcc -E conftest.c
conftest.c:21:10: fatal error: sys/modem.h: No such file or directory
21 | #include <sys/modem.h>
| ^~~~~~~~~~~~~
compilation terminated.
configure:4860: $? = 1
configure: failed program was:
| /
confdefs.h /
| #define PACKAGE_NAME "rdesktop"
| #define PACKAGE_TARNAME "rdesktop"
| #define PACKAGE_VERSION "1.9.0"
| #define PACKAGE_STRING "rdesktop 1.9.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define L_ENDIAN 1
| #define HAVE_SYS_SELECT_H 1
| /
end confdefs.h. /
| #include <sys/modem.h>
configure:4860: result: no
configure:4860: checking for sys/modem.h
configure:4860: result: no
configure:4867: checking sys/filio.h usability
configure:4867: gcc -c -O2 -fPIC -fno-strict-overflow -Wno-error -Wall -Wextra conftest.c >&5
conftest.c:54:10: fatal error: sys/filio.h: No such file or directory
54 | #include <sys/filio.h>
| ^~~~~~~~~~~~~
compilation terminated.
configure:4867: $? = 1
configure: failed program was:
| /
confdefs.h /
| #define PACKAGE_NAME "rdesktop"
| #define PACKAGE_TARNAME "rdesktop"
| #define PACKAGE_VERSION "1.9.0"
| #define PACKAGE_STRING "rdesktop 1.9.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define L_ENDIAN 1
| #define HAVE_SYS_SELECT_H 1
| /
end confdefs.h. /
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <sys/filio.h>
configure:4867: result: no
configure:4867: checking sys/filio.h presence
configure:4867: gcc -E conftest.c
conftest.c:21:10: fatal error: sys/filio.h: No such file or directory
21 | #include <sys/filio.h>
| ^~~~~~~~~~~~~
compilation terminated.
configure:4867: $? = 1
configure: failed program was:
| /
confdefs.h /
| #define PACKAGE_NAME "rdesktop"
| #define PACKAGE_TARNAME "rdesktop"
| #define PACKAGE_VERSION "1.9.0"
| #define PACKAGE_STRING "rdesktop 1.9.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define L_ENDIAN 1
| #define HAVE_SYS_SELECT_H 1
| /
end confdefs.h. /
| #include <sys/filio.h>
configure:4867: result: no
configure:4867: checking for sys/filio.h
configure:4867: result: no
configure:4874: checking sys/strtio.h usability
configure:4874: gcc -c -O2 -fPIC -fno-strict-overflow -Wno-error -Wall -Wextra conftest.c >&5
conftest.c:54:10: fatal error: sys/strtio.h: No such file or directory
54 | #include <sys/strtio.h>
| ^~~~~~~~~~~~~~
compilation terminated.
configure:4874: $? = 1
configure: failed program was:
| /
confdefs.h /
| #define PACKAGE_NAME "rdesktop"
| #define PACKAGE_TARNAME "rdesktop"
| #define PACKAGE_VERSION "1.9.0"
| #define PACKAGE_STRING "rdesktop 1.9.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define L_ENDIAN 1
| #define HAVE_SYS_SELECT_H 1
| /
end confdefs.h. /
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <sys/strtio.h>
configure:4874: result: no
configure:4874: checking sys/strtio.h presence
configure:4874: gcc -E conftest.c
conftest.c:21:10: fatal error: sys/strtio.h: No such file or directory
21 | #include <sys/strtio.h>
| ^~~~~~~~~~~~~~
compilation terminated.
configure:4874: $? = 1
configure: failed program was:
| /
confdefs.h /
| #define PACKAGE_NAME "rdesktop"
| #define PACKAGE_TARNAME "rdesktop"
| #define PACKAGE_VERSION "1.9.0"
| #define PACKAGE_STRING "rdesktop 1.9.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define L_ENDIAN 1
| #define HAVE_SYS_SELECT_H 1
| /
end confdefs.h. */
| #include <sys/strtio.h>
configure:4874: result: no
configure:4874: checking for sys/strtio.h
configure:4874: result: no
configure:4881: checking locale.h usability
configure:4881: gcc -c -O2 -fPIC -fno-strict-overflow -Wno-error -Wall -Wextra conftest.c >&5
configure:4881: $? = 0
configure:4881: result: yes
configure:4881: checking locale.h presence
configure:4881: gcc -E conftest.c
configure:4881: $? = 0
configure:4881: result: yes
configure:4881: checking for locale.h
configure:4881: result: yes
configure:4888: checking langinfo.h usability
configure:4888: gcc -c -O2 -fPIC -fno-strict-overflow -Wno-error -Wall -Wextra conftest.c >&5
configure:4888: $? = 0
configure:4888: result: yes
configure:4888: checking langinfo.h presence
configure:4888: gcc -E conftest.c
configure:4888: $? = 0
configure:4888: result: yes
configure:4888: checking for langinfo.h
configure:4888: result: yes
configure:4895: checking sysexits.h usability
configure:4895: gcc -c -O2 -fPIC -fno-strict-overflow -Wno-error -Wall -Wextra conftest.c >&5
configure:4895: $? = 0
configure:4895: result: yes
configure:4895: checking sysexits.h presence
configure:4895: gcc -E conftest.c
configure:4895: $? = 0
configure:4895: result: yes
configure:4895: checking for sysexits.h
configure:4895: result: yes
configure:4946: checking for strip
configure:4962: found /System/Index/bin//strip
configure:4973: result: strip
configure:5101: WARNING: pkg-config not available, cannot check for xrandr
configure:5116: WARNING: pkg-config not available, cannot check for xcursor

----------------

Cache variables.

----------------

ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_c_bigendian=no
ac_cv_c_compiler_gnu=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-O2 -fPIC -fno-strict-overflow -Wno-error'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_XMKMF_set=
ac_cv_env_XMKMF_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_func_connect=yes
ac_cv_func_gethostbyname=yes
ac_cv_func_remove=yes
ac_cv_func_shmat=yes
ac_cv_have_x='have_x=yes ac_x_includes='''''' ac_x_libraries='''''''
ac_cv_header_inttypes_h=yes
ac_cv_header_langinfo_h=yes
ac_cv_header_locale_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_filio_h=no
ac_cv_header_sys_modem_h=no
ac_cv_header_sys_select_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_strtio_h=no
ac_cv_header_sys_types_h=yes
ac_cv_header_sysexits_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=x86_64-unknown-linux-gnu
ac_cv_lib_ICE_IceConnectionNumber=yes
ac_cv_objext=o
ac_cv_path_EGREP='/System/Index/bin//grep -E'
ac_cv_path_GREP=/System/Index/bin//grep
ac_cv_path_ac_pt_PKG_CONFIG=/System/Index/bin//pkg-config
ac_cv_path_install='/System/Index/bin//ginstall -c'
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_search___gmpz_init=-lgmp
ac_cv_search_inet_aton='none required'
ac_cv_search_socket='none required'

-----------------

Output variables.

-----------------

CC='gcc'
CFLAGS='-O2 -fPIC -fno-strict-overflow -Wno-error -Wall -Wextra'
CPP='gcc -E'
CPPFLAGS=''
CREDSSPOBJ=''
DEFS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/System/Index/bin//grep -E'
EXEEXT=''
GREP='/System/Index/bin//grep'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
LDFLAGS=''
LIBICONV=''
LIBOBJS=''
LIBS='-lgmp '
LTLIBOBJS=''
OBJEXT='o'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='rdesktop'
PACKAGE_STRING='rdesktop 1.9.0'
PACKAGE_TARNAME='rdesktop'
PACKAGE_URL=''
PACKAGE_VERSION='1.9.0'
PATH_SEPARATOR=':'
PKG_CONFIG='/System/Index/bin//pkg-config'
SCARDOBJ=''
SHELL='/bin/sh'
SOUNDOBJ=''
STRIP='strip'
XMKMF=''
X_CFLAGS=''
X_EXTRA_LIBS=''
X_LIBS=''
X_PRE_LIBS=' -lSM -lICE'
ac_ct_CC='gcc'
bindir='${exec_prefix}/bin'
build='x86_64-unknown-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='unknown'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='x86_64-unknown-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

-----------

confdefs.h.

-----------

/* confdefs.h */
#define PACKAGE_NAME "rdesktop"
#define PACKAGE_TARNAME "rdesktop"
#define PACKAGE_VERSION "1.9.0"
#define PACKAGE_STRING "rdesktop 1.9.0"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define L_ENDIAN 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_SYSEXITS_H 1

configure: exit 1


I am just reporting this either way, please feel free to disregard and close if it is not applicable. Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions