Opened 11 years ago

Last modified 9 years ago

#42130 closed defect

invalid command name "configure.cxx_stdlib" — at Version 1

Reported by: jkhartshorne@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc:
Port:

Description (last modified by ryandesign (Ryan Carsten Schmidt))

I am trying to install Boost as follows:

sudo port -s install boost +no_static +python27 configure.compiler=macports-gcc-4.8 configure.cxx_stdlib=libc++

I'm getting this error:

Error: Unable to open port: invalid command name "configure.cxx_stdlib"
Error: Unable to execute port: upgrade zlib failed

I recently upgraded to Mavericks. I followed the MacPort migration page, deleting all old ports and reinstalling the ones I thought I needed. I reinstalled gcc and clang, but maybe I'm still missing something I need? I've run port selfupdate a few times, which has not solved the problem.

Change History (1)

comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Priority: HighNormal

configure.cxx_stdlib is a new variable that is not available in the currently-released version of MacPorts base (2.2.x); it's only available in trunk (which will eventually become MacPorts 2.3).

Why are you trying to set configure.compiler and configure.cxx_stdlib on the command line? You should let MacPorts install the port the way it wants to install it, with the usual compiler and C++ standard library.

Note: See TracTickets for help on using tickets.