-
Notifications
You must be signed in to change notification settings - Fork 5.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Errors while attempting to 'make' on MacOS Catalina #4078
Comments
Looks to me like incompatibilities within your XCode installation tself.
Reinstall?
…On Wed, May 20, 2020 at 10:26 AM Patrick Toche ***@***.***> wrote:
Unable to make, let alone /.configure. Any suggestions? Thanks.
*MacOS Catalia 10.15.4. Latest version of Xcode.**
(base) HOME tools % make
extras/check_dependencies.sh
extras/check_dependencies.sh: all OK.
tar xojf sctk-2.4.10-20151007-1312Z.tar.bz2 || \
tar --exclude '*NONE*html' -xvojf sctk-2.4.10-20151007-1312Z.tar.bz2
rm -rf sctk && ln -s sctk-2.4.10 sctk
cd sctk; /Applications/Xcode.app/Contents/Developer/usr/bin/make config
(mkdir -p bin)
(cd src; make config)
(cd asclite; make config)
(cd core; sh config.sh -prefix=`cd ../../..; pwd`)
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for main in -lm... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for unistd.h... (cached) yes
checking for string.h... (cached) yes
checking iostream usability... no
checking iostream presence... no
checking for iostream... no
checking ostream usability... no
checking ostream presence... no
checking for ostream... no
checking fstream usability... no
checking fstream presence... no
checking for fstream... no
checking iomanip usability... no
checking iomanip presence... no
checking for iomanip... no
checking map usability... no
checking map presence... no
checking for map... no
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking list usability... no
checking list presence... no
checking for list... no
checking vector usability... no
checking vector presence... no
checking for vector... no
checking set usability... no
checking set presence... no
checking for set... no
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking sstream usability... no
checking sstream presence... no
checking for sstream... no
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking for install... /usr/bin/install
config.sh: creating ./config.status
config.status: creating makefile
(cd test; sh config.sh -prefix=`cd ../../..; pwd`)
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for main in -lm... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking for install... /usr/bin/install
config.sh: creating ./config.status
config.status: creating makefile
(cd sclite; sh config.sh -prefix=`cd ../..; pwd`)
loading cache ./config.cache
checking for gcc... (cached) gcc
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking whether make sets ${MAKE}... (cached) yes
checking for -lm... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking whether cross-compiling... (cached) no
checking for ANSI C header files... (cached) yes
checking for unistd.h... (cached) yes
checking for working const... (cached) yes
checking for size_t... (cached) yes
checking for install... (cached) /usr/bin/install
Checking installation site
creating ./config.status
creating makefile
(cd rfilter1; sed -e "s:PREFIX=.*:PREFIX=`cd ../..; pwd`:" < makefile.in > makefile)
(cd csrfilt; sed -e "s:PREFIX=.*:PREFIX=`cd ../..; pwd`:" < makefile.in > makefile)
(cd chfilt; sed -e "s:PREFIX=.*:PREFIX=`cd ../..; pwd`:" < makefile.in > makefile)
(cd hamzaNorm; sed -e "s:PREFIX=.*:PREFIX=`cd ../..; pwd`:" < makefile.in > makefile)
(cd tanweenFilt; sed -e "s:PREFIX=.*:PREFIX=`cd ../..; pwd`:" < makefile.in > makefile)
(cd acomp; sed -e "s:PREFIX=.*:PREFIX=`cd ../..; pwd`:" < makefile.in > makefile)
(cd def_art; sed -e "s:PREFIX=.*:PREFIX=`cd ../..; pwd`:" < makefile.in > makefile)
(cd hubscr; sed -e "s:PREFIX=.*:PREFIX=`cd ../..; pwd`:" < makefile.in > makefile)
(cd utf_filt; sh config.sh -prefix=`cd ../..; pwd`)
checking for nsgmls... no
checking for onsgmls... no
config.sh: creating ./config.status
config.status: creating makefile
(cd rttmSort; sed -e "s:PREFIX=.*:PREFIX=`cd ../..; pwd`:" < makefile.in > makefile)
(cd rttmSmooth; sed -e "s:PREFIX=.*:PREFIX=`cd ../..; pwd`:" < makefile.in > makefile)
(cd rttm2ctm; sed -e "s:PREFIX=.*:PREFIX=`cd ../..; pwd`:" < makefile.in > makefile)
(cd spkr2sad; sed -e "s:PREFIX=.*:PREFIX=`cd ../..; pwd`:" < makefile.in > makefile)
(cd mergectm2rttm; sed -e "s:PREFIX=.*:PREFIX=`cd ../..; pwd`:" < makefile.in > makefile)
(cd align2html; sed -e "s:PREFIX=.*:PREFIX=`cd ../..; pwd`:" < makefile.in > makefile)
(cd md-eval; sed -e "s:PREFIX=.*:PREFIX=`cd ../..; pwd`:" < makefile.in > makefile)
(cd stm2rttm; sed -e "s:PREFIX=.*:PREFIX=`cd ../..; pwd`:" < makefile.in > makefile)
(cd stmValidator; sed -e "s:PREFIX=.*:PREFIX=`cd ../..; pwd`:" < makefile.in > makefile)
(cd rttmValidator; sed -e "s:PREFIX=.*:PREFIX=`cd ../..; pwd`:" < makefile.in > makefile)
(cd ctmValidator; sed -e "s:PREFIX=.*:PREFIX=`cd ../..; pwd`:" < makefile.in > makefile)
(cd slatreport; sed -e "s:PREFIX=.*:PREFIX=`cd ../..; pwd`:" < makefile.in > makefile)
touch sctk/.configured
cd sctk; \
/Applications/Xcode.app/Contents/Developer/usr/bin/make CC="cc" CXX="c++" all && /Applications/Xcode.app/Contents/Developer/usr/bin/make install && /Applications/Xcode.app/Contents/Developer/usr/bin/make doc
(mkdir -p bin)
(cd src; make all)
(cd asclite; make all)
(cd core; make all)
cc -c -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MATH_H=1 -DHAVE_TIME_H=1 -DHAVE_ASSERT_H=1 -DHAVE_FLOAT_H=1 -DHAVE_LIMITS_H=1 -I. -g -Os alignedsegment.cpp
In file included from alignedsegment.cpp:22:
In file included from ./alignedsegment.h:21:
In file included from ./stdinc.h:29:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:317:9: error:
no member named 'signbit' in the global namespace
using ::signbit;
~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:318:9: error:
no member named 'fpclassify' in the global namespace
using ::fpclassify;
~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:319:9: error:
no member named 'isfinite' in the global namespace; did you mean 'finite'?
using ::isfinite;
~~^
/usr/local/include/math.h:749:12: note: 'finite' declared here
extern int finite(double)
^
In file included from alignedsegment.cpp:22:
In file included from ./alignedsegment.h:21:
In file included from ./stdinc.h:29:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:320:9: error:
no member named 'isinf' in the global namespace
using ::isinf;
~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:321:9: error:
no member named 'isnan' in the global namespace
using ::isnan;
~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:322:9: error:
no member named 'isnormal' in the global namespace
using ::isnormal;
~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:323:7: error:
no member named 'isgreater' in the global namespace; did you mean
'::std::greater'?
using ::isgreater;
^~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/functional:731:29: note:
'::std::greater' declared here
struct _LIBCPP_TEMPLATE_VIS greater : binary_function<_Tp, _Tp, bool>
^
In file included from alignedsegment.cpp:22:
In file included from ./alignedsegment.h:21:
In file included from ./stdinc.h:29:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:324:7: error:
no member named 'isgreaterequal' in the global namespace; did you mean
'::std::greater_equal'?
using ::isgreaterequal;
^~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/functional:760:29: note:
'::std::greater_equal' declared here
struct _LIBCPP_TEMPLATE_VIS greater_equal : binary_function<_Tp, _Tp, bool>
^
In file included from alignedsegment.cpp:22:
In file included from ./alignedsegment.h:21:
In file included from ./stdinc.h:29:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:325:9: error:
no member named 'isless' in the global namespace
using ::isless;
~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:326:9: error:
no member named 'islessequal' in the global namespace
using ::islessequal;
~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:327:9: error:
no member named 'islessgreater' in the global namespace
using ::islessgreater;
~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:328:9: error:
no member named 'isunordered' in the global namespace
using ::isunordered;
~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:329:9: error:
no member named 'isunordered' in the global namespace
using ::isunordered;
~~^
13 errors generated.
make[4]: *** [alignedsegment.o] Error 1
make[3]: *** [all] Error 2
make[2]: *** [all] Error 2
make[1]: *** [all] Error 2
make: *** [sclite_compiled] Error 2
(base) HOME tools %
% gcc --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/4.2.1
Apple clang version 11.0.3 (clang-1103.0.32.59)
Target: x86_64-apple-darwin19.4.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#4078>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAZFLO4EAORI3DBB6T3EGJTRSM5U5ANCNFSM4NFQXCKQ>
.
|
Thanks for your comment Dan. So I just did. I removed |
No better luck with |
Try |
Thanks Nikolay. I have since cleaned up and reinstalled
The current problem I have is:
Looked like a permission problem, so I ran
|
After the cleanup I don't seem to have so many versions of Oh and I removed Not sure if these are supposed to be the same version:
A vaguely similar error message was reported here: |
You shouldn't have done anything using sudo. That was likely the reason
for your permission problems.
I couldn't replicate because I don't have enough disk space to update XCode
and it doesn't even say how much I need.
…On Fri, May 22, 2020 at 1:41 AM Patrick Toche ***@***.***> wrote:
After the cleanup I don't seem to have so many versions of gcc available.
Only one gets listed in /usr/bin/gcc.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#4078 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAZFLOZTL5X5EBIUUOX7763RSVRUZANCNFSM4NFQXCKQ>
.
|
Thanks Dan. I only |
I have the same exact issue, did you find a solution? |
@Sruthik22 , I haven't tried! I managed to install
and I run That, I think, helps making sure that if I'm in environment |
This error seems to happen when your Xcode toolchain is corrupted. I find your got result with $ brew config
...
Clang: 11.0 build 1103
Git: 2.24.1 => /usr/local/bin/git
Curl: 7.64.1 => /usr/bin/curl
Java: 1.8.0_66
macOS: 10.15.5-x86_64
CLT: 1103.0.32.62
Xcode: 11.5 Is it a different CLT version with you? As I have made sure, my version is up-to-date by: $ softwareupdate -i -a
Software Update Tool
Finding available software
No updates are available. I suggest you reinstall Xcode or try run
|
When I run brew config the output is:
|
@Sruthik22 Delete the present CLT, by |
Ok, I did both of those things. I got the same result from running |
Could you provide the output of brew config
echo $CC
type -a gcc
xcode-select --reset && xcrun --show-sdk-path And the error log pls. |
And I may reply later as it's late here. |
|
Error Log:
|
Hi @Sruthik22, the above log shows the gcc was cached. Have you tried |
I ran
Then I ran
I had this error previously, but I just bypassed it with the |
It's fine to workaround as you did. It's unrelated with this issue. You cloud try to upgrade wget or openssl with brew. |
Yes, upgrading wget did the trick. I got the same error as before though:
|
Not all setups require sclite.. might be better for you to ignore the error?
Funny thing is, that stdinc.h just includes a bunch of system headers. So
it kind of looks like any error is within your C++ distribution.
I just recompiled sctk on my mac (also catalina, with 11.0.0 as the clang
version) and it worked fine.
…On Fri, Jun 26, 2020 at 3:56 AM Sruthi Kurada ***@***.***> wrote:
Yes, upgrading wget did the trick. I got the same error as before though:
extras/check_dependencies.sh
extras/check_dependencies.sh: all OK.
tar xojf sctk-2.4.10-20151007-1312Z.tar.bz2 || \
tar --exclude '*NONE*html' -xvojf sctk-2.4.10-20151007-1312Z.tar.bz2
rm -rf sctk && ln -s sctk-2.4.10 sctk
cd sctk; /Applications/Xcode.app/Contents/Developer/usr/bin/make config
(mkdir -p bin)
(cd src; make config)
(cd asclite; make config)
(cd core; sh config.sh -prefix=`cd ../../..; pwd`)
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for main in -lm... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for unistd.h... (cached) yes
checking for string.h... (cached) yes
checking iostream usability... no
checking iostream presence... no
checking for iostream... no
checking ostream usability... no
checking ostream presence... no
checking for ostream... no
checking fstream usability... no
checking fstream presence... no
checking for fstream... no
checking iomanip usability... no
checking iomanip presence... no
checking for iomanip... no
checking map usability... no
checking map presence... no
checking for map... no
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking list usability... no
checking list presence... no
checking for list... no
checking vector usability... no
checking vector presence... no
checking for vector... no
checking set usability... no
checking set presence... no
checking for set... no
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking sstream usability... no
checking sstream presence... no
checking for sstream... no
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking for install... /usr/bin/install
config.sh: creating ./config.status
config.status: creating makefile
(cd test; sh config.sh -prefix=`cd ../../..; pwd`)
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for main in -lm... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking for install... /usr/bin/install
config.sh: creating ./config.status
config.status: creating makefile
(cd sclite; sh config.sh -prefix=`cd ../..; pwd`)
loading cache ./config.cache
checking for gcc... (cached) gcc
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking whether make sets ${MAKE}... (cached) yes
checking for -lm... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking whether cross-compiling... (cached) no
checking for ANSI C header files... (cached) yes
checking for unistd.h... (cached) yes
checking for working const... (cached) yes
checking for size_t... (cached) yes
checking for install... (cached) /usr/bin/install
Checking installation site
creating ./config.status
creating makefile
(cd rfilter1; sed -e "s:PREFIX=.*:PREFIX=`cd ../..; pwd`:" < makefile.in > makefile)
(cd csrfilt; sed -e "s:PREFIX=.*:PREFIX=`cd ../..; pwd`:" < makefile.in > makefile)
(cd chfilt; sed -e "s:PREFIX=.*:PREFIX=`cd ../..; pwd`:" < makefile.in > makefile)
(cd hamzaNorm; sed -e "s:PREFIX=.*:PREFIX=`cd ../..; pwd`:" < makefile.in > makefile)
(cd tanweenFilt; sed -e "s:PREFIX=.*:PREFIX=`cd ../..; pwd`:" < makefile.in > makefile)
(cd acomp; sed -e "s:PREFIX=.*:PREFIX=`cd ../..; pwd`:" < makefile.in > makefile)
(cd def_art; sed -e "s:PREFIX=.*:PREFIX=`cd ../..; pwd`:" < makefile.in > makefile)
(cd hubscr; sed -e "s:PREFIX=.*:PREFIX=`cd ../..; pwd`:" < makefile.in > makefile)
(cd utf_filt; sh config.sh -prefix=`cd ../..; pwd`)
checking for nsgmls... no
checking for onsgmls... no
config.sh: creating ./config.status
config.status: creating makefile
(cd rttmSort; sed -e "s:PREFIX=.*:PREFIX=`cd ../..; pwd`:" < makefile.in > makefile)
(cd rttmSmooth; sed -e "s:PREFIX=.*:PREFIX=`cd ../..; pwd`:" < makefile.in > makefile)
(cd rttm2ctm; sed -e "s:PREFIX=.*:PREFIX=`cd ../..; pwd`:" < makefile.in > makefile)
(cd spkr2sad; sed -e "s:PREFIX=.*:PREFIX=`cd ../..; pwd`:" < makefile.in > makefile)
(cd mergectm2rttm; sed -e "s:PREFIX=.*:PREFIX=`cd ../..; pwd`:" < makefile.in > makefile)
(cd align2html; sed -e "s:PREFIX=.*:PREFIX=`cd ../..; pwd`:" < makefile.in > makefile)
(cd md-eval; sed -e "s:PREFIX=.*:PREFIX=`cd ../..; pwd`:" < makefile.in > makefile)
(cd stm2rttm; sed -e "s:PREFIX=.*:PREFIX=`cd ../..; pwd`:" < makefile.in > makefile)
(cd stmValidator; sed -e "s:PREFIX=.*:PREFIX=`cd ../..; pwd`:" < makefile.in > makefile)
(cd rttmValidator; sed -e "s:PREFIX=.*:PREFIX=`cd ../..; pwd`:" < makefile.in > makefile)
(cd ctmValidator; sed -e "s:PREFIX=.*:PREFIX=`cd ../..; pwd`:" < makefile.in > makefile)
(cd slatreport; sed -e "s:PREFIX=.*:PREFIX=`cd ../..; pwd`:" < makefile.in > makefile)
touch sctk/.configured
cd sctk; \
/Applications/Xcode.app/Contents/Developer/usr/bin/make CC="cc" CXX="c++" all && /Applications/Xcode.app/Contents/Developer/usr/bin/make install && /Applications/Xcode.app/Contents/Developer/usr/bin/make doc
(mkdir -p bin)
(cd src; make all)
(cd asclite; make all)
(cd core; make all)
cc -c -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MATH_H=1 -DHAVE_TIME_H=1 -DHAVE_ASSERT_H=1 -DHAVE_FLOAT_H=1 -DHAVE_LIMITS_H=1 -I. -g -Os alignedsegment.cpp
In file included from alignedsegment.cpp:22:
In file included from ./alignedsegment.h:21:
In file included from ./stdinc.h:29:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:317:9: error:
no member named 'signbit' in the global namespace
using ::signbit;
~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:318:9: error:
no member named 'fpclassify' in the global namespace
using ::fpclassify;
~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:319:9: error:
no member named 'isfinite' in the global namespace; did you mean 'finite'?
using ::isfinite;
~~^
/usr/local/include/math.h:749:12: note: 'finite' declared here
extern int finite(double)
^
In file included from alignedsegment.cpp:22:
In file included from ./alignedsegment.h:21:
In file included from ./stdinc.h:29:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:320:9: error:
no member named 'isinf' in the global namespace
using ::isinf;
~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:321:9: error:
no member named 'isnan' in the global namespace
using ::isnan;
~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:322:9: error:
no member named 'isnormal' in the global namespace
using ::isnormal;
~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:323:7: error:
no member named 'isgreater' in the global namespace; did you mean
'::std::greater'?
using ::isgreater;
^~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/functional:731:29: note:
'::std::greater' declared here
struct _LIBCPP_TEMPLATE_VIS greater : binary_function<_Tp, _Tp, bool>
^
In file included from alignedsegment.cpp:22:
In file included from ./alignedsegment.h:21:
In file included from ./stdinc.h:29:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:324:7: error:
no member named 'isgreaterequal' in the global namespace; did you mean
'::std::greater_equal'?
using ::isgreaterequal;
^~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/functional:760:29: note:
'::std::greater_equal' declared here
struct _LIBCPP_TEMPLATE_VIS greater_equal : binary_function<_Tp, _Tp, bool>
^
In file included from alignedsegment.cpp:22:
In file included from ./alignedsegment.h:21:
In file included from ./stdinc.h:29:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:325:9: error:
no member named 'isless' in the global namespace
using ::isless;
~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:326:9: error:
no member named 'islessequal' in the global namespace
using ::islessequal;
~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:327:9: error:
no member named 'islessgreater' in the global namespace
using ::islessgreater;
~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:328:9: error:
no member named 'isunordered' in the global namespace
using ::isunordered;
~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:329:9: error:
no member named 'isunordered' in the global namespace
using ::isunordered;
~~^
13 errors generated.
make[4]: *** [alignedsegment.o] Error 1
make[3]: *** [all] Error 2
make[2]: *** [all] Error 2
make[1]: *** [all] Error 2
make: *** [sclite_compiled] Error 2```
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#4078 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAZFLO4RTHG6JZEP3BNLA2DRYOTVXANCNFSM4NFQXCKQ>
.
|
Out of sheer desperation, try moving As far as I could understand (and I've only seen Macs in coffee shops, back when there were coffee shops), the problem happens if And also try the latest version from that repo, too. Maybe they fixed it? They have no tags, but the current code is v2.4.11. |
Was any progress made on compiling Kaldi on Catalina? I am not getting passed sph2pipe. |
can you do
gcc --version
?
It works for me.
Mine is:
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr
--with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/4.2.1
Apple clang version 11.0.0 (clang-1100.0.33.12)
Target: x86_64-apple-darwin19.4.0
Thread model: posix
InstalledDir:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
…On Sat, Sep 19, 2020 at 4:22 AM John J Morgan ***@***.***> wrote:
Was any progress made on compiling Kaldi on Catalina? I am not getting
passed sph2pipe.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#4078 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAZFLOZ7QWFMIZQYQEQZPZDSGO6RRANCNFSM4NFQXCKQ>
.
|
Apple clang version 12.0.0 (clang-1200.0.32.2) |
May need to make a new version of sph2pipe. Hopefully Yenda or someone
can respond. IDK where it's maintained offhand.
…On Sat, Sep 19, 2020 at 10:25 PM John J Morgan ***@***.***> wrote:
Apple clang version 12.0.0 (clang-1200.0.32.2)
Target: x86_64-apple-darwin19.6.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#4078 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAZFLO5LIUVRBZF42OW4AI3SGS5MFANCNFSM4NFQXCKQ>
.
|
Hi. How about to move sph2pipe to extras ;) It is not relevant for most of the popular recipes (wsj/fisher/swbd) and those who have the access to the corresponding data will be able to install sph2pipe anyway. librispeech uses flac, others can do with sox/ffmpeg. |
I think my xcode tools were confused. I ran xcode-select -r to reset the tools path. Then I uncommented the clang lines in the Makefile. I ran clang in the sph2pipe directory. Then I ran make again and the build completed. |
My build succeeded. Sorry, but it looks like this was all just a false alarm. xcode-select -r fixed my tools. I did have to uncomment the CXX and CC lines in the Makefile. |
Nickolay-- I'm fine to move sph2pipe to extras, but we should have the
local/ data-prep scripts in the recipes that require it,
check that it is installed. Easy to find, I think, by doing `git grep
sph2pipe`.
…On Sun, Sep 20, 2020 at 8:26 AM John J Morgan ***@***.***> wrote:
My build succeeded. Sorry, but it looks like this was all just a false
alarm. xcode-select -r fixed my tools. I did have to uncomment the CXX and
CC lines in the Makefile.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#4078 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAZFLOZDFJT3H5S37S3BZD3SGVD2LANCNFSM4NFQXCKQ>
.
|
@nshmyrev, @danpovey, moving sph2pipe to extras it's kinda... interesting. There were a few slightly modified version floating around, and during that downtime event on your server that And there is no later version of sph2pipe. The only version that LDC distributes is 2.5. I found some mentions of 2.1, but no code of older (or newer) versions. |
* Fork off tools/.gitignore from the root file. * Make gitignores sensible by using wildcards. Listing every possible versioned package name had been unmaintainable. * Make all extra scripts executable, and trim EOL/EOF whitespace.
Fixed in #4337 |
have you try "sudo make" ? |
don't do sudo make please..
Kaldi compiles just fine without sudo. I'm compiling it quite oftentimes
just to make sure.
y.
…On Thu, Dec 9, 2021 at 7:15 AM Vittore Marcas ***@***.***> wrote:
@ptoche <https://github.com/ptoche>
have you try "sudo make" ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#4078 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACUKYXZJDFA77PAOACQQZS3UQCMWJANCNFSM4NFQXCKQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
@ptoche, let me know if your issue still persists
…On Thu, Dec 9, 2021 at 8:50 AM Jan Yenda Trmal ***@***.***> wrote:
don't do sudo make please..
Kaldi compiles just fine without sudo. I'm compiling it quite oftentimes
just to make sure.
y.
On Thu, Dec 9, 2021 at 7:15 AM Vittore Marcas ***@***.***>
wrote:
> @ptoche <https://github.com/ptoche>
>
> have you try "sudo make" ?
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <#4078 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ACUKYXZJDFA77PAOACQQZS3UQCMWJANCNFSM4NFQXCKQ>
> .
> Triage notifications on the go with GitHub Mobile for iOS
> <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
> or Android
> <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
>
>
|
Unable to
make
, let alone/.configure
. Any suggestions? Thanks.MacOS Catalia 10.15.4. Latest version of Xcode.*
The text was updated successfully, but these errors were encountered: