Mac OS Catalina, X11 is all updated. In Flair, I get an error that the GeoViewer module is missing. Looking in the GeoViewer directory, GeoViewer.so is not there. After recompiling (GCC9), the following errors occurred which I believe is the culprit:
ld: unsupported tapi file type ‘!tapi-tbd’ in YAML file ‘/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks//CoreFoundation.framework/CoreFoundation.tbd’ for architecture x86_64
collect2: error: ld returned 1 exit status
make: *** [geoviewer.so] Error 1
Could it be some incompatibility with the SDK and GCC 9? Any help to resolve this would be great.
Thank you for the quick reply. This seems to have resolved things somewhat…I am no longer getting the SDK error, though the geoviewer module is still missing in Flair.
After following your instructions and recompiling, I then re-entered the line
make install DESTDIR=PATH_FLAIR, which now yielded this error:
Dear David,
Using DESTDIR yields the same result. Here is the entire command and output
Alexs-Macbook-Pro-2015:flair-geoviewer-3.1 alex$ sudo make install DESTDIR=/Users/alex/flair-3.1
/Library/Developer/CommandLineTools/usr/bin/make -C viewer
make[1]: Nothing to be done for all'. /Library/Developer/CommandLineTools/usr/bin/make -C geometry make[1]: Nothing to be done for all’.
/Library/Developer/CommandLineTools/usr/bin/make -C data
make[1]: Nothing to be done for all'. /Library/Developer/CommandLineTools/usr/bin/make -C graph make[1]: Nothing to be done for all’.
/Library/Developer/CommandLineTools/usr/bin/make -C math
make[1]: Nothing to be done for all'. /Library/Developer/CommandLineTools/usr/bin/make -C farm make[1]: Nothing to be done for all’.
/Library/Developer/CommandLineTools/usr/bin/make -C tool
make[1]: Nothing to be done for all'. /Library/Developer/CommandLineTools/usr/bin/make -C xdraw make[1]: Nothing to be done for all’.
mkdir -p /Users/alex/flair-3.1
mkdir -p /Users/alex/flair-3.1/fonts
install -m 644 geoviewer.so /Users/alex/flair-3.1
install -m 755 usrbin2dvh /Users/alex/flair-3.1
install: usrbin2dvh: No such file or directory
make: *** [install] Error 71