Opened 7 years ago
Closed 7 years ago
#54268 closed defect (worksforme)
gmp-6.1.2: Configurating gmp failed
Reported by: | Limbo999 (Franziska Wegner) | Owned by: | MarcusCalhoun-Lopez (Marcus Calhoun-Lopez) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.4.1 |
Keywords: | Cc: | ||
Port: | gmp |
Description
Error occurs when trying to install gmp-6.1.2. I already tried "sudo port clean gmp" and "sudo port install gmp". "macosx_deployment_target" is not set in macports.conf.
2 errors generated. configure:10624: $? = 1 failed program was: /* This test rejects g++ 2.7.2 which doesn't have <iostream>, only a pre-standard iostream.h. */ #include <iostream> /* This test rejects OSF 5.1 Compaq C++ in its default pre-standard iostream mode, since that mode puts cout in the global namespace, not "std". */ void someoutput (void) { std::cout << 123; } int main (void) { return 0; } configure:10650: result: no, std iostream configure:10666: error: C++ compiler not available, see config.log for details
$ clang++ -E -x c++ - -v < /dev/null Apple LLVM version 8.1.0 (clang-802.0.42) Target: x86_64-apple-darwin16.6.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang" -cc1 -triple x86_64-apple-macosx10.12.0 -Wdeprecated-objc-isa-usage -Werror=deprecated-objc-isa- usage -E -disable-free -disable-llvm-verifier -discard-value-names -main-file-name - -mrelocation-model pic -pic-level 2 -mthread-model posix -mdisable-fp-elim -masm-verbose -munwind-tables -target- cpu penryn -target-linker-version 278.4 -v -dwarf-column-info -debugger-tuning=lldb -resource-dir /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/8.1.0 -stdlib=libc++ -fdeprecated-macro -fdebug-compilation-dir /Users/name/Documents/work/important_tools/sdaps-1.1.11 -ferror-limit 19 -fmessage-length 209 -stack-protector 1 -fblocks -fobjc- runtime=macosx-10.12.0 -fencode-extended-block-signature -fcxx-exceptions -fexceptions -fmax-type-align=16 -fdiagnostics-show-option -fcolor-diagnostics -o - -x c++ - clang -cc1 version 8.1.0 (clang-802.0.42) default target x86_64-apple-darwin16.6.0 ignoring nonexistent directory "/usr/include/c++/v1" #include "..." search starts here: #include <...> search starts here: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1 /usr/local/include /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/8.1.0/include /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include /usr/include /System/Library/Frameworks (framework directory) /Library/Frameworks (framework directory) End of search list. # 1 "<stdin>" # 1 "<built-in>" 1 # 1 "<built-in>" 3 # 340 "<built-in>" 3 # 1 "<command line>" 1 # 1 "<built-in>" 2 # 1 "<stdin>" 2
Attachments (2)
Change History (5)
Changed 7 years ago by Limbo999 (Franziska Wegner)
Attachment: | config.log added |
---|
Changed 7 years ago by Limbo999 (Franziska Wegner)
Main installation log file
comment:1 Changed 7 years ago by mf2k (Frank Schima)
Keywords: | gmp-6.1.2 macports 2.4.1 removed |
---|---|
Owner: | set to MarcusCalhoun-Lopez |
Port: | gmp added |
Status: | new → assigned |
In the future, please fill in the Port field and Cc the port maintainers (port info --maintainers gmp).
comment:2 Changed 7 years ago by kencu (Ken)
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__mutex_base:17: 540 /usr/include/pthread.h:423:1: error: C++ requires a type specifier for all declarations 541 __SWIFT_UNAVAILABLE_MSG("Use lazily initialized globals instead") 542 ^ 543 /usr/include/pthread.h:423:66: error: expected ';' after top level declarator 544 __SWIFT_UNAVAILABLE_MSG("Use lazily initialized globals instead") 545 ^ 546 2 errors generated. 547 configure:10624: $? = 1
could you please check to make sure you don't have anything, esp a copy of Availability.h, anywhere in the /usr/local/ directory and all it's subdirectories?
Thanks, K
comment:3 Changed 7 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Resolution: | → worksforme |
---|---|
Status: | assigned → closed |
Closing since there was no response to question.
Please feel free to reopen if more information becomes available.
Note: See
TracTickets for help on using
tickets.
Configuration log-file with all the errors