[Xastir] OSX 10.15.7 Macports: configure: error: **** MOTIF LIBRARIES NOT FOUND ****

f1mhv f1mhv at free.fr
Mon Feb 1 09:00:46 PST 2021


Hi Tom,

I am a bit confused… which of these files should be modified (see enclosed screenshot)?



73 de Cyril - DF1CHB - F1MHV



> Le 1 févr. 2021 à 17:52, Tom Russo <russo at bogodyn.org> a écrit :
> 
> Actually, on my system it is already throwing a warning on this line, and
> it's just that on your system apparently the warning is an error rather 
> than a warning.  If I can eliminate the warning on my system it will have
> fixed yours.
> 
> As a temporary measure, you may be able to disable the "warning is an error"
> thing for this specific problem by adding 
> "-Wno-error=implicit-function-declaration" to the CFLAGS.  That should
> turn that error back into a warning for just the implicit function declaration
> issue and let you get past configure's problem.
> 
> I will work on getting the probe correct so that this implicit function
> declaration issue is not a problem.  It will take time, as once the correct
> prototype is set up, XmGetDestination requires arguments and no longer
> correctly compiles without them.
> 
>>>>> 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()
> 
> -- 
> 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]
> 
> _______________________________________________
> Xastir mailing list
> Xastir at lists.xastir.org
> http://xastir.org/mailman/listinfo/xastir



More information about the Xastir mailing list