Closed garrettj403 closed 3 years ago
Have you installed XCode command line tools?
$ xcode-select --install
On Tue, Feb 23, 2021 at 11:16 AM John Garrett notifications@github.com wrote:
I'm trying to install uldaq on my MacBook Pro (running macOS Catalina, version 10.15.7).
It says that my C compiler does not work when I try to run ./configure && make inside the libuldaq-1.2.0 directory:
checking for a BSD-compatible install... /usr/local/bin/ginstall -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/local/bin/gmkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for style of include used by make... GNU checking for gcc... x86_64-apple-darwin13.4.0-clang checking whether the C compiler works... no configure: error: in
/Users/jgarrett/Projects/libuldaq-1.2.0': configure: error: C compiler cannot create executables See
config.log' for more detailsI do also have gcc installed with Homebrew. Is it possible to tell configure to use this gcc installation instead of Apple's clang?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mccdaq/uldaq/issues/25, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB6KXVVRM635U5RQOX25M7DTAPIEZANCNFSM4YCYSOKQ .
Yes, I followed the instructions to install the prerequisites.
What message do you see when you run gcc from command line?
$gcc
On Tue, Feb 23, 2021 at 2:11 PM John Garrett notifications@github.com wrote:
Yes, I followed the instructions to install the prerequisites.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mccdaq/uldaq/issues/25#issuecomment-784443143, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB6KXVWCBTPSOKO2KB7H233TAP4WVANCNFSM4YCYSOKQ .
If I run gcc --version
, I get:
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/4.2.1
Apple clang version 12.0.0 (clang-1200.0.32.29)
Target: x86_64-apple-darwin19.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
What do you get if you run gcc without any parameters?
On Tue, Feb 23, 2021 at 3:57 PM John Garrett notifications@github.com wrote:
If I run gcc --version, I get:
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/4.2.1 Apple clang version 12.0.0 (clang-1200.0.32.29) Target: x86_64-apple-darwin19.6.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mccdaq/uldaq/issues/25#issuecomment-784506597, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB6KXVQFBBAWHAYDHEQ264DTAQJCRANCNFSM4YCYSOKQ .
What do you get if you run gcc without any parameters?
clang: error: no input files
Can you send me your config.log file?
On Tue, Feb 23, 2021 at 5:21 PM John Garrett notifications@github.com wrote:
What do you get if you run gcc without any parameters?
clang: error: no input files
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mccdaq/uldaq/issues/25#issuecomment-784555054, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB6KXVQBWW433K7SMKJHCADTAQS6RANCNFSM4YCYSOKQ .
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 libuldaq configure 1.2.0, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure
## --------- ##
## Platform. ##
## --------- ##
hostname = XXXXX
uname -m = x86_64
uname -r = 19.6.0
uname -s = Darwin
uname -v = Darwin Kernel Version 19.6.0: Tue Nov 10 00:10:30 PST 2020; root:xnu-6153.141.10~1/RELEASE_X86_64
/usr/bin/uname -p = i386
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = Mach kernel version:
Darwin Kernel Version 19.6.0: Tue Nov 10 00:10:30 PST 2020; root:xnu-6153.141.10~1/RELEASE_X86_64
Kernel configured for up to 8 processors.
4 processors are physically available.
8 processors are logically available.
Processor type: x86_64h (Intel x86-64h Haswell)
Processors active: 0 1 2 3 4 5 6 7
Primary memory available: 16.00 gigabytes
Default processor set: 350 tasks, 1670 threads, 8 processors
Load average: 3.95, Mach factor: 4.23
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /Users/jgarrett/.dotfiles/git/bin
PATH: /Users/jgarrett/opt/anaconda3/bin
PATH: /Users/jgarrett/opt/anaconda3/condabin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/sbin
PATH: /sbin
PATH: /Library/TeX/texbin
PATH: /opt/X11/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2414: checking for a BSD-compatible install
configure:2482: result: /usr/local/bin/ginstall -c
configure:2493: checking whether build environment is sane
configure:2548: result: yes
configure:2699: checking for a thread-safe mkdir -p
configure:2738: result: /usr/local/bin/gmkdir -p
configure:2745: checking for gawk
configure:2761: found /usr/local/bin/gawk
configure:2772: result: gawk
configure:2783: checking whether make sets $(MAKE)
configure:2805: result: yes
configure:2834: checking whether make supports nested variables
configure:2851: result: yes
configure:2988: checking for style of include used by make
configure:3016: result: GNU
configure:3087: checking for gcc
configure:3114: result: x86_64-apple-darwin13.4.0-clang
configure:3343: checking for C compiler version
configure:3352: x86_64-apple-darwin13.4.0-clang --version >&5
clang version 4.0.1 (tags/RELEASE_401/final)
Target: x86_64-apple-darwin13.4.0
Thread model: posix
InstalledDir: /Users/jgarrett/opt/anaconda3/bin
configure:3363: $? = 0
configure:3352: x86_64-apple-darwin13.4.0-clang -v >&5
clang version 4.0.1 (tags/RELEASE_401/final)
Target: x86_64-apple-darwin13.4.0
Thread model: posix
InstalledDir: /Users/jgarrett/opt/anaconda3/bin
configure:3363: $? = 0
configure:3352: x86_64-apple-darwin13.4.0-clang -V >&5
clang-4.0: error: argument to '-V' is missing (expected 1 value)
clang-4.0: error: no input files
configure:3363: $? = 1
configure:3352: x86_64-apple-darwin13.4.0-clang -qversion >&5
clang-4.0: error: unknown argument: '-qversion'
clang-4.0: error: no input files
configure:3363: $? = 1
configure:3383: checking whether the C compiler works
configure:3405: x86_64-apple-darwin13.4.0-clang -O3 -D_FORTIFY_SOURCE=2 -mmacosx-version-min=10.9 -Wl,-pie -Wl,-headerpad_max_install_names -Wl,-dead_strip_dylibs conftest.c >&5
ld: warning: ignoring file /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib/libSystem.tbd, file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (x86_64): /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib/libSystem.tbd
ld: dynamic main executables must link with libSystem.dylib for architecture x86_64
clang-4.0: error: linker command failed with exit code 1 (use -v to see invocation)
configure:3409: $? = 1
configure:3447: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libuldaq"
| #define PACKAGE_TARNAME "libuldaq"
| #define PACKAGE_VERSION "1.2.0"
| #define PACKAGE_STRING "libuldaq 1.2.0"
| #define PACKAGE_BUGREPORT "info@mccdaq.com"
| #define PACKAGE_URL "http://www.mccdaq.com"
| #define PACKAGE "libuldaq"
| #define VERSION "1.2.0"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3452: error: in `/Users/jgarrett/Projects/libuldaq-1.2.0':
configure:3454: error: C compiler cannot create executables
See `config.log' for more details
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=set
ac_cv_env_CC_value=x86_64-apple-darwin13.4.0-clang
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe'
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value='-D_FORTIFY_SOURCE=2 -mmacosx-version-min=10.9'
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=set
ac_cv_env_CXXFLAGS_value='-march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -std=c++14 -fmessage-length=0'
ac_cv_env_CXX_set=set
ac_cv_env_CXX_value=x86_64-apple-darwin13.4.0-clang++
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value='-Wl,-pie -Wl,-headerpad_max_install_names -Wl,-dead_strip_dylibs'
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_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_path_install='/usr/local/bin/ginstall -c'
ac_cv_path_mkdir=/usr/local/bin/gmkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_CC=x86_64-apple-darwin13.4.0-clang
ac_cv_prog_make_make_set=yes
am_cv_make_support_nested_variables=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /Users/jgarrett/Projects/libuldaq-1.2.0/missing aclocal-1.14'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
AR='/Users/jgarrett/opt/anaconda3/bin/x86_64-apple-darwin13.4.0-ar'
AUTOCONF='${SHELL} /Users/jgarrett/Projects/libuldaq-1.2.0/missing autoconf'
AUTOHEADER='${SHELL} /Users/jgarrett/Projects/libuldaq-1.2.0/missing autoheader'
AUTOMAKE='${SHELL} /Users/jgarrett/Projects/libuldaq-1.2.0/missing automake-1.14'
AWK='gawk'
BUILD_EXAMPLES_FALSE=''
BUILD_EXAMPLES_TRUE=''
CC='x86_64-apple-darwin13.4.0-clang'
CCDEPMODE=''
CFLAGS='-O3'
CPP=''
CPPFLAGS='-D_FORTIFY_SOURCE=2 -mmacosx-version-min=10.9'
CXX='x86_64-apple-darwin13.4.0-clang++'
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS='-O3'
CYGPATH_W='echo'
DEBUG_FALSE=''
DEBUG_TRUE=''
DEFS=''
DEPDIR='.deps'
DLLTOOL=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C='\c'
ECHO_N=''
ECHO_T=''
EGREP=''
EXEEXT=''
FGREP=''
GREP=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD='/Users/jgarrett/opt/anaconda3/bin/x86_64-apple-darwin13.4.0-ld'
LDFLAGS='-Wl,-pie -Wl,-headerpad_max_install_names -Wl,-dead_strip_dylibs'
LIBOBJS=''
LIBS=''
LIBTOOL='/Users/jgarrett/opt/anaconda3/bin/x86_64-apple-darwin13.4.0-libtool'
LIPO='/Users/jgarrett/opt/anaconda3/bin/x86_64-apple-darwin13.4.0-lipo'
LN_S=''
LTLDFLAGS='-version-info 3:0:2'
LTLIBOBJS=''
MAKEINFO='${SHELL} /Users/jgarrett/Projects/libuldaq-1.2.0/missing makeinfo'
MANIFEST_TOOL=''
MKDIR_P='/usr/local/bin/gmkdir -p'
NM='/Users/jgarrett/opt/anaconda3/bin/x86_64-apple-darwin13.4.0-nm'
NMEDIT='/Users/jgarrett/opt/anaconda3/bin/x86_64-apple-darwin13.4.0-nmedit'
OBJDUMP=''
OBJEXT=''
OS_DARWIN=''
OS_DARWIN_FALSE=''
OS_DARWIN_TRUE=''
OS_LINUX=''
OS_LINUX_FALSE=''
OS_LINUX_TRUE=''
OTOOL64=''
OTOOL='/Users/jgarrett/opt/anaconda3/bin/x86_64-apple-darwin13.4.0-otool'
PACKAGE='libuldaq'
PACKAGE_BUGREPORT='info@mccdaq.com'
PACKAGE_NAME='libuldaq'
PACKAGE_STRING='libuldaq 1.2.0'
PACKAGE_TARNAME='libuldaq'
PACKAGE_URL='http://www.mccdaq.com'
PACKAGE_VERSION='1.2.0'
PATH_SEPARATOR=':'
RANLIB='/Users/jgarrett/opt/anaconda3/bin/x86_64-apple-darwin13.4.0-ranlib'
SED=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP='/Users/jgarrett/opt/anaconda3/bin/x86_64-apple-darwin13.4.0-strip'
VERSION='1.2.0'
ac_ct_AR=''
ac_ct_CC='x86_64-apple-darwin13.4.0-clang'
ac_ct_CXX=''
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /Users/jgarrett/Projects/libuldaq-1.2.0/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='NONE'
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 "libuldaq"
#define PACKAGE_TARNAME "libuldaq"
#define PACKAGE_VERSION "1.2.0"
#define PACKAGE_STRING "libuldaq 1.2.0"
#define PACKAGE_BUGREPORT "info@mccdaq.com"
#define PACKAGE_URL "http://www.mccdaq.com"
#define PACKAGE "libuldaq"
#define VERSION "1.2.0"
configure: exit 77
The issue might be related to xcode command line tools 12 installed on your system. Please uninstall it by running the following command
$ sudo rm -rf /Library/Developer/CommandLineTools
Download Command Line Tools for Xcode 11.5 from here https://developer.apple.com/download/more/ (Dated: May 20, 2020) and install it on your system
On Tue, Feb 23, 2021 at 5:38 PM John Garrett notifications@github.com wrote:
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 libuldaq configure 1.2.0, which was generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure
---------
Platform.
---------
hostname = XXXXX uname -m = x86_64 uname -r = 19.6.0 uname -s = Darwin uname -v = Darwin Kernel Version 19.6.0: Tue Nov 10 00:10:30 PST 2020; root:xnu-6153.141.10~1/RELEASE_X86_64
/usr/bin/uname -p = i386 /bin/uname -X = unknown
/bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = Mach kernel version: Darwin Kernel Version 19.6.0: Tue Nov 10 00:10:30 PST 2020; root:xnu-6153.141.10~1/RELEASE_X86_64 Kernel configured for up to 8 processors. 4 processors are physically available. 8 processors are logically available. Processor type: x86_64h (Intel x86-64h Haswell) Processors active: 0 1 2 3 4 5 6 7 Primary memory available: 16.00 gigabytes Default processor set: 350 tasks, 1670 threads, 8 processors Load average: 3.95, Mach factor: 4.23 /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown
PATH: /Users/jgarrett/.dotfiles/git/bin PATH: /Users/jgarrett/opt/anaconda3/bin PATH: /Users/jgarrett/opt/anaconda3/condabin PATH: /usr/local/bin PATH: /usr/bin PATH: /bin PATH: /usr/sbin PATH: /sbin PATH: /Library/TeX/texbin PATH: /opt/X11/bin
-----------
Core tests.
-----------
configure:2414: checking for a BSD-compatible install configure:2482: result: /usr/local/bin/ginstall -c configure:2493: checking whether build environment is sane configure:2548: result: yes configure:2699: checking for a thread-safe mkdir -p configure:2738: result: /usr/local/bin/gmkdir -p configure:2745: checking for gawk configure:2761: found /usr/local/bin/gawk configure:2772: result: gawk configure:2783: checking whether make sets $(MAKE) configure:2805: result: yes configure:2834: checking whether make supports nested variables configure:2851: result: yes configure:2988: checking for style of include used by make configure:3016: result: GNU configure:3087: checking for gcc configure:3114: result: x86_64-apple-darwin13.4.0-clang configure:3343: checking for C compiler version configure:3352: x86_64-apple-darwin13.4.0-clang --version >&5 clang version 4.0.1 (tags/RELEASE_401/final) Target: x86_64-apple-darwin13.4.0 Thread model: posix InstalledDir: /Users/jgarrett/opt/anaconda3/bin configure:3363: $? = 0 configure:3352: x86_64-apple-darwin13.4.0-clang -v >&5 clang version 4.0.1 (tags/RELEASE_401/final) Target: x86_64-apple-darwin13.4.0 Thread model: posix InstalledDir: /Users/jgarrett/opt/anaconda3/bin configure:3363: $? = 0 configure:3352: x86_64-apple-darwin13.4.0-clang -V >&5 clang-4.0: error: argument to '-V' is missing (expected 1 value) clang-4.0: error: no input files configure:3363: $? = 1 configure:3352: x86_64-apple-darwin13.4.0-clang -qversion >&5 clang-4.0: error: unknown argument: '-qversion' clang-4.0: error: no input files configure:3363: $? = 1 configure:3383: checking whether the C compiler works configure:3405: x86_64-apple-darwin13.4.0-clang -O3 -D_FORTIFY_SOURCE=2 -mmacosx-version-min=10.9 -Wl,-pie -Wl,-headerpad_max_install_names -Wl,-dead_strip_dylibs conftest.c >&5 ld: warning: ignoring file /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib/libSystem.tbd, file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (x86_64): /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib/libSystem.tbd ld: dynamic main executables must link with libSystem.dylib for architecture x86_64 clang-4.0: error: linker command failed with exit code 1 (use -v to see invocation) configure:3409: $? = 1 configure:3447: result: no configure: failed program was: / confdefs.h / #define PACKAGE_NAME "libuldaq" #define PACKAGE_TARNAME "libuldaq" #define PACKAGE_VERSION "1.2.0" #define PACKAGE_STRING "libuldaq 1.2.0" #define PACKAGE_BUGREPORT "info@mccdaq.com" #define PACKAGE_URL "http://www.mccdaq.com" #define PACKAGE "libuldaq" #define VERSION "1.2.0" / end confdefs.h. / int main () { ; return 0; } configure:3452: error: in
/Users/jgarrett/Projects/libuldaq-1.2.0': configure:3454: error: C compiler cannot create executables See
config.log' for more details----------------
Cache variables.
----------------
ac_cv_env_CCC_set= ac_cv_env_CCC_value= ac_cv_env_CC_set=set ac_cv_env_CC_value=x86_64-apple-darwin13.4.0-clang ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe' ac_cv_env_CPPFLAGS_set=set ac_cv_env_CPPFLAGS_value='-D_FORTIFY_SOURCE=2 -mmacosx-version-min=10.9' ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_CXXCPP_set= ac_cv_env_CXXCPP_value= ac_cv_env_CXXFLAGS_set=set ac_cv_env_CXXFLAGS_value='-march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -std=c++14 -fmessage-length=0' ac_cv_env_CXX_set=set ac_cv_env_CXX_value=x86_64-apple-darwin13.4.0-clang++ ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value='-Wl,-pie -Wl,-headerpad_max_install_names -Wl,-dead_strip_dylibs' ac_cv_env_LIBS_set= ac_cv_env_LIBS_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_path_install='/usr/local/bin/ginstall -c' ac_cv_path_mkdir=/usr/local/bin/gmkdir ac_cv_prog_AWK=gawk ac_cv_prog_ac_ct_CC=x86_64-apple-darwin13.4.0-clang ac_cv_prog_make_make_set=yes am_cv_make_support_nested_variables=yes
-----------------
Output variables.
-----------------
ACLOCAL='${SHELL} /Users/jgarrett/Projects/libuldaq-1.2.0/missing aclocal-1.14' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='$${TAR-tar}' AM_BACKSLASH='\' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' AM_DEFAULT_VERBOSITY='1' AM_V='$(V)' AR='/Users/jgarrett/opt/anaconda3/bin/x86_64-apple-darwin13.4.0-ar' AUTOCONF='${SHELL} /Users/jgarrett/Projects/libuldaq-1.2.0/missing autoconf' AUTOHEADER='${SHELL} /Users/jgarrett/Projects/libuldaq-1.2.0/missing autoheader' AUTOMAKE='${SHELL} /Users/jgarrett/Projects/libuldaq-1.2.0/missing automake-1.14' AWK='gawk' BUILD_EXAMPLES_FALSE='' BUILD_EXAMPLES_TRUE='' CC='x86_64-apple-darwin13.4.0-clang' CCDEPMODE='' CFLAGS='-O3' CPP='' CPPFLAGS='-D_FORTIFY_SOURCE=2 -mmacosx-version-min=10.9' CXX='x86_64-apple-darwin13.4.0-clang++' CXXCPP='' CXXDEPMODE='' CXXFLAGS='-O3' CYGPATH_W='echo' DEBUG_FALSE='' DEBUG_TRUE='' DEFS='' DEPDIR='.deps' DLLTOOL='' DSYMUTIL='' DUMPBIN='' ECHO_C='\c' ECHO_N='' ECHO_T='' EGREP='' EXEEXT='' FGREP='' GREP='' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' LD='/Users/jgarrett/opt/anaconda3/bin/x86_64-apple-darwin13.4.0-ld' LDFLAGS='-Wl,-pie -Wl,-headerpad_max_install_names -Wl,-dead_strip_dylibs' LIBOBJS='' LIBS='' LIBTOOL='/Users/jgarrett/opt/anaconda3/bin/x86_64-apple-darwin13.4.0-libtool' LIPO='/Users/jgarrett/opt/anaconda3/bin/x86_64-apple-darwin13.4.0-lipo' LN_S='' LTLDFLAGS='-version-info 3:0:2' LTLIBOBJS='' MAKEINFO='${SHELL} /Users/jgarrett/Projects/libuldaq-1.2.0/missing makeinfo' MANIFEST_TOOL='' MKDIR_P='/usr/local/bin/gmkdir -p' NM='/Users/jgarrett/opt/anaconda3/bin/x86_64-apple-darwin13.4.0-nm' NMEDIT='/Users/jgarrett/opt/anaconda3/bin/x86_64-apple-darwin13.4.0-nmedit' OBJDUMP='' OBJEXT='' OS_DARWIN='' OS_DARWIN_FALSE='' OS_DARWIN_TRUE='' OS_LINUX='' OS_LINUX_FALSE='' OS_LINUX_TRUE='' OTOOL64='' OTOOL='/Users/jgarrett/opt/anaconda3/bin/x86_64-apple-darwin13.4.0-otool' PACKAGE='libuldaq' PACKAGE_BUGREPORT='info@mccdaq.com' PACKAGE_NAME='libuldaq' PACKAGE_STRING='libuldaq 1.2.0' PACKAGE_TARNAME='libuldaq' PACKAGE_URL='http://www.mccdaq.com' PACKAGE_VERSION='1.2.0' PATH_SEPARATOR=':' RANLIB='/Users/jgarrett/opt/anaconda3/bin/x86_64-apple-darwin13.4.0-ranlib' SED='' SET_MAKE='' SHELL='/bin/sh' STRIP='/Users/jgarrett/opt/anaconda3/bin/x86_64-apple-darwin13.4.0-strip' VERSION='1.2.0' ac_ct_AR='' ac_ct_CC='x86_64-apple-darwin13.4.0-clang' ac_ct_CXX='' ac_ct_DUMPBIN='' amEXEEXT_FALSE='' am__EXEEXT_TRUE='' amfastdepCC_FALSE='' amfastdepCC_TRUE='' am__fastdepCXX_FALSE='' amfastdepCXX_TRUE='' aminclude='include' amisrc='' amleading_dot='.' am__nodep='_no' amquote='' amtar='$${TAR-tar} chof - "$$tardir"' amuntar='$${TAR-tar} xf -' bindir='${exec_prefix}/bin' build='' build_alias='' build_cpu='' build_os='' build_vendor='' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='NONE' host='' host_alias='' host_cpu='' host_os='' host_vendor='' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='${SHELL} /Users/jgarrett/Projects/libuldaq-1.2.0/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' mkdir_p='$(MKDIR_P)' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='NONE' 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 "libuldaq"
define PACKAGE_TARNAME "libuldaq"
define PACKAGE_VERSION "1.2.0"
define PACKAGE_STRING "libuldaq 1.2.0"
define PACKAGE_BUGREPORT "info@mccdaq.com"
define PACKAGE_URL "http://www.mccdaq.com"
define PACKAGE "libuldaq"
define VERSION "1.2.0"
configure: exit 77
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mccdaq/uldaq/issues/25#issuecomment-784563833, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB6KXVRDHBAPS6MBI4NIYVTTAQU5HANCNFSM4YCYSOKQ .
I completely reinstalled X-code and it's working now. (Just reinstalling CommandLineTools didn't work.)
Thank you for your help!
I'm trying to install
uldaq
on my MacBook Pro (running macOS Catalina, version 10.15.7).It says that my C compiler does not work when I try to run
./configure && make
inside thelibuldaq-1.2.0
directory:I do also have
gcc
installed with Homebrew. Is it possible to tellconfigure
to use this gcc installation instead of Apple's clang?