Forwarding to the list as well. ---------- Forwarded message --------- From: Curt Mills <curt.w...@gmail.com> Date: Mon, Feb 1, 2021 at 6:06 AM Subject: Re: [Xastir] OSX 10.15.7 Macports: configure: error: **** MOTIF LIBRARIES NOT FOUND **** To: f1mhv <f1...@free.fr>
It's this section that's relevant: configure:8614: result: no configure:8675: checking for Motif headers configure:8681: gcc -E -I/sw/include -I/opt/local/include -I/usr/local/include -I/opt/local/include conftest.c configure:8681: $? = 0 configure:8685: result: in default path configure:8745: checking for Motif libraries configure:8765: gcc -o conftest -g -O2 -pipe -W -Wall -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -I/sw/include -I/opt/local/include -I/usr/local/include -I/opt/local/include -L/sw/lib -L/opt/local/lib -L/usr/local/lib -L/opt/local/lib conftest.c -lXm -lXm -lXt -lXext -lSM -lICE -lX11 -lcurl >&5 conftest.c:52:1: error: implicit declaration of function 'XmGetDestination' is invalid in C99 [-Werror,-Wimplicit-function-declaration] XmGetDestination() ^ 1 error generated. The way this works: Xastir tries to do little example compiles with each set of headers and libraries needed to add in various functions. Some of those tests are for required pieces to compile Xastir, some are for optional add-on libraries. Motif is required for Xastir. In this case it's trying to compile a test program to use the library function XmGetDestination() from the Motif library and failing. Which method did you use to install Motif: Fink, Homebrew, or from sources? I'll assume you're trying to use one of the HOWTO's from the www.xastir.org project. If so, which one? On Sun, Jan 31, 2021 at 8:52 PM f1mhv <f1...@free.fr> wrote: > > Good morning Tom & Curt, > > I encroached a bit more, i hope it’s enough? > > configure:8400: result: no > configure:8408: checking whether byte ordering is bigendian > configure:8423: gcc -c -g -O2 -pipe -W -Wall -Wpointer-arith > -Wstrict-prototypes -Wno-unused-parameter -I/sw/include -I/opt/local/include > -I/usr/local/include -I/opt/local/include conftest.c >&5 > configure:8423: $? = 0 > configure:8468: gcc -c -g -O2 -pipe -W -Wall -Wpointer-arith > -Wstrict-prototypes -Wno-unused-parameter -I/sw/include -I/opt/local/include > -I/usr/local/include -I/opt/local/include conftest.c >&5 > configure:8468: $? = 0 > configure:8486: gcc -c -g -O2 -pipe -W -Wall -Wpointer-arith > -Wstrict-prototypes -Wno-unused-parameter -I/sw/include -I/opt/local/include > -I/usr/local/include -I/opt/local/include conftest.c >&5 > conftest.c:55:4: error: use of undeclared identifier 'not' > not big endian > ^ > 1 error generated. > configure:8486: $? = 1 > configure: failed program was: > | /* confdefs.h */ > | #define PACKAGE_NAME "xastir" > | #define PACKAGE_TARNAME "xastir" > | #define PACKAGE_VERSION "2.1.7" > | #define PACKAGE_STRING "xastir 2.1.7" > | #define PACKAGE_BUGREPORT "xas...@xastir.org" > | #define PACKAGE_URL "" > | #define PACKAGE "xastir" > | #define VERSION "2.1.7" > | #define PACKAGE "xastir" > | #define VERSION "2.1.7" > | #define XASTIR_TOCALL "APX217" > | #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 __EXTENSIONS__ 1 > | #define _ALL_SOURCE 1 > | #define _GNU_SOURCE 1 > | #define _POSIX_PTHREAD_SEMANTICS 1 > | #define _TANDEM_SOURCE 1 > | #define TNC_PORT "none" > | #define GPS_PORT "none" > | #define HAVE_PTHREAD 1 > | #define XASTIR_SYSTEM "Darwin" > | #define HAVE_CONVERT 1 > | #define CONVERT_PATH "/opt/local/bin/gm convert" > | #define HAVE_LPR 1 > | #define LPR_PATH "/usr/bin/lpr" > | #define STIPPLE 1 > | #define HAVE_LIBXEXT 1 > | #define HAVE_LIBXT 1 > | #define HAVE_LIBXM 1 > | #define HAVE_SED 1 > | #define SED_PATH "/usr/bin/sed" > | #define HAVE_MV 1 > | #define MV_PATH "/bin/mv" > | #define HAVE_XFONTSEL 1 > | #define XFONTSEL_PATH "/opt/X11/bin/xfontsel" > | #define HAVE_LIBCURL 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:8614: result: no > configure:8675: checking for Motif headers > configure:8681: gcc -E -I/sw/include -I/opt/local/include > -I/usr/local/include -I/opt/local/include conftest.c > configure:8681: $? = 0 > configure:8685: result: in default path > configure:8745: checking for Motif libraries > configure:8765: gcc -o conftest -g -O2 -pipe -W -Wall -Wpointer-arith > -Wstrict-prototypes -Wno-unused-parameter -I/sw/include -I/opt/local/include > -I/usr/local/include -I/opt/local/include -L/sw/lib -L/opt/local/lib > -L/usr/local/lib -L/opt/local/lib conftest.c -lXm -lXm -lXt -lXext -lSM > -lICE -lX11 -lcurl >&5 > conftest.c:52:1: error: implicit declaration of function 'XmGetDestination' > is invalid in C99 [-Werror,-Wimplicit-function-declaration] > XmGetDestination() > ^ > 1 error generated. > configure:8765: $? = 1 > configure: failed program was: > | /* confdefs.h */ > | #define PACKAGE_NAME "xastir" > | #define PACKAGE_TARNAME "xastir" > | #define PACKAGE_VERSION "2.1.7" > | #define PACKAGE_STRING "xastir 2.1.7" > | #define PACKAGE_BUGREPORT "xas...@xastir.org" > | #define PACKAGE_URL "" > | #define PACKAGE "xastir" > | #define VERSION "2.1.7" > | #define PACKAGE "xastir" > | #define VERSION "2.1.7" > | #define XASTIR_TOCALL "APX217" > | #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 __EXTENSIONS__ 1 > | #define _ALL_SOURCE 1 > | #define _GNU_SOURCE 1 > | #define _POSIX_PTHREAD_SEMANTICS 1 > | #define _TANDEM_SOURCE 1 > | #define TNC_PORT "none" > | #define GPS_PORT "none" > | #define HAVE_PTHREAD 1 > | #define XASTIR_SYSTEM "Darwin" > | #define HAVE_CONVERT 1 > | #define CONVERT_PATH "/opt/local/bin/gm convert" > | #define HAVE_LPR 1 > | #define LPR_PATH "/usr/bin/lpr" > | #define STIPPLE 1 > | #define HAVE_LIBXEXT 1 > | #define HAVE_LIBXT 1 > | #define HAVE_LIBXM 1 > | #define HAVE_SED 1 > | #define SED_PATH "/usr/bin/sed" > | #define HAVE_MV 1 > | #define MV_PATH "/bin/mv" > | #define HAVE_XFONTSEL 1 > | #define XFONTSEL_PATH "/opt/X11/bin/xfontsel" > | #define HAVE_LIBCURL 1 > | /* end confdefs.h. */ > | > | int > | main () > | { > | XmGetDestination() > | ; > | return 0; > | } > configure:8826: error: **** MOTIF LIBRARIES NOT FOUND **** Install Motif > development headers/libraries or use --with-motif-libraries to specify path > to libXm.a > > ## ---------------- ## > ## Cache variables. ## > ## ---------------- ## > > ac_cv_build=x86_64-apple-darwin19.6.0 > 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= > ac_cv_env_CFLAGS_value= > 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_file__usr_bin_gm_exe=no > 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_curl_curl_h=yes > ac_cv_header_inttypes_h=yes > ac_cv_header_memory_h=yes > ac_cv_header_minix_config_h=no > 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_stat_h=yes > ac_cv_header_sys_types_h=yes > ac_cv_header_unistd_h=yes > ac_cv_host=x86_64-apple-darwin19.6.0 > ac_cv_lib_ICE_IceConnectionNumber=yes > ac_cv_lib_Xext_XextAddDisplay=yes > ac_cv_lib_Xm_XmTextFindString=yes > ac_cv_lib_Xt_XtDisplay=yes > ac_cv_lib_compat_main=no > ac_cv_lib_curl_curl_global_init=yes > ac_cv_lib_rt_sched_yield=no > ac_cv_objext=o > ac_cv_path_EGREP='/usr/bin/grep -E' > ac_cv_path_GREP=/usr/bin/grep > ac_cv_path_festival=no > ac_cv_path_gm=/opt/local/bin/gm > ac_cv_path_gpsman=no > ac_cv_path_gv=no > ac_cv_path_install='/usr/bin/install -c' > ac_cv_path_lpr=/usr/bin/lpr > ac_cv_path_mv=/bin/mv > ac_cv_path_sed=/usr/bin/sed > ac_cv_path_xfontsel=/opt/X11/bin/xfontsel > ac_cv_prog_AWK=gawk > ac_cv_prog_CPP='gcc -E' > ac_cv_prog_PTHREAD_CC=gcc > ac_cv_prog_ac_ct_CC=gcc > ac_cv_prog_ac_ct_RANLIB=ranlib > ac_cv_prog_cc_c89= > ac_cv_prog_cc_g=yes > ac_cv_prog_make_make_set=yes > ac_cv_safe_to_define___extensions__=yes > ac_cv_search_tan='none required' > am_cv_CC_dependencies_compiler_type=gcc3 > am_cv_make_support_nested_variables=yes > am_cv_prog_cc_c_o=yes > > ## ----------------- ## > ## Output variables. ## > ## ----------------- ## > > > 73 de Cyril - DF1CHB - F1MHV > > > > Le 31 janv. 2021 à 19:24, Tom Russo <ru...@bogodyn.org> a écrit : > > Not nearly enough. Probably need 10-20 more lines before this. What you > want to see is *what* the error generated was, not the program that caused > it. > > On Sun, Jan 31, 2021 at 07:22:44PM +0100, we recorded a bogon-computron > collision of the <f1...@free.fr> flavor, containing: > > Hi Tom, > > Is that the part (or complete log needed?): > > 1 error generated. > configure:8765: $? = 1 > configure: failed program was: > | /* confdefs.h */ > | #define PACKAGE_NAME "xastir" > | #define PACKAGE_TARNAME "xastir" > | #define PACKAGE_VERSION "2.1.7" > | #define PACKAGE_STRING "xastir 2.1.7" > | #define PACKAGE_BUGREPORT "xas...@xastir.org" > | #define PACKAGE_URL "" > | #define PACKAGE "xastir" > | #define VERSION "2.1.7" > | #define PACKAGE "xastir" > | #define VERSION "2.1.7" > | #define XASTIR_TOCALL "APX217" > | #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 __EXTENSIONS__ 1 > | #define _ALL_SOURCE 1 > | #define _GNU_SOURCE 1 > | #define _POSIX_PTHREAD_SEMANTICS 1 > | #define _TANDEM_SOURCE 1 > | #define TNC_PORT "none" > | #define GPS_PORT "none" > | #define HAVE_PTHREAD 1 > | #define XASTIR_SYSTEM "Darwin" > | #define HAVE_CONVERT 1 > | #define CONVERT_PATH "/opt/local/bin/gm convert" > | #define HAVE_LPR 1 > | #define LPR_PATH "/usr/bin/lpr" > | #define STIPPLE 1 > | #define HAVE_LIBXEXT 1 > | #define HAVE_LIBXT 1 > | #define HAVE_LIBXM 1 > | #define HAVE_SED 1 > | #define SED_PATH "/usr/bin/sed" > | #define HAVE_MV 1 > | #define MV_PATH "/bin/mv" > | #define HAVE_XFONTSEL 1 > | #define XFONTSEL_PATH "/opt/X11/bin/xfontsel" > | #define HAVE_LIBCURL 1 > | /* end confdefs.h. */ > | > | int > | main () > | { > | XmGetDestination() > | ; > | return 0; > | } > configure:8826: error: **** MOTIF LIBRARIES NOT FOUND **** Install Motif > development headers/libraries or use --with-motif-libraries to specify path > to libXm.a > > > 73 de Cyril - DF1CHB/AM - F1MHV/M > > > > Le 31 janv. 2021 ?? 19:06, Tom Russo <ru...@bogodyn.org> a ??crit : > > Look in config.log and see what the actual failure is. > > Configure finds libraries not simply by looking for the file, but by actually > trying to link them into a small program. If that fails, it says it can't > find them. There are often reasons for the failure other than the file not > existing --- for example, the library can be broken in some way, or require > dependencies that don't exist. > > Look in config.log and try to find the spot where it actually claims it can't > find libXm.a, and the error message from the linker should help to explain > why it doesn't work. But the solution to whatever that problem may be might > not be obvious at first. > > On Sun, Jan 31, 2021 at 07:03:28PM +0100, we recorded a bogon-computron > collision of the <f1...@free.fr> flavor, containing: > > > > -- > Tom Russo KM5VY > Tijeras, NM > > echo "prpv_a'rfg_cnf_har_cvcr" | sed -e 's/_/ /g' | tr [a-m][n-z] [n-z][a-m] > > -- Curt, WE7U http://xastir.org http://www.sarguydigital.com -- Curt, WE7U http://xastir.org http://www.sarguydigital.com _______________________________________________ Xastir mailing list Xastir@lists.xastir.org http://xastir.org/mailman/listinfo/xastir