Opened 10 years ago
Last modified 8 years ago
#43417 closed defect
mpd: error: no type named 'function' in namespace 'std' — at Version 2
Reported by: | bnilsson11 | Owned by: | rmstonecipher@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.1 |
Keywords: | Cc: | ||
Port: | mpd |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
mpd does not build:
---> Building mpd Error: org.macports.build for port mpd returned: command execution failed Please see the log file for port mpd for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_mpd/mpd/main.log In the log file, the first error is: :info:build In file included from ./src/DatabaseHelpers.hxx:23: :info:build ./src/DatabaseVisitor.hxx:30:14: error: no type named 'function' in namespace 'std' :info:build typedef std::function<bool(const Directory &, Error &)> VisitDirectory;
Googling on "no type named 'function' in namespace 'std'" indicates a possible lack of C++11 support.
MacPorts 2.2.1
System version: Mac OS X 10.7.5 (11G63) Kernel version: Darwin 11.4.2
Change History (3)
comment:1 Changed 10 years ago by bnilsson11
comment:2 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Owner: | changed from macports-tickets@… to rmstonecipher@… |
Port: | mpd added |
Summary: | port mpd does not build → mpd: error: no type named 'function' in namespace 'std' |
Please attach the main.log file.
Note: See
TracTickets for help on using
tickets.
gcc: i686-apple-darwin11-llvm-gcc-4.2
Xcode 4.6.3