[MacPorts] #42130: invalid command name "configure.cxx_stdlib"

MacPorts noreply at macports.org
Tue Jan 14 12:09:19 PST 2014


#42130: invalid command name "configure.cxx_stdlib"
-----------------------------+--------------------------------
  Reporter:  jkhartshorne@…  |      Owner:  macports-tickets@…
      Type:  defect          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.2.1
Resolution:                  |   Keywords:
      Port:                  |
-----------------------------+--------------------------------
Changes (by ryandesign@…):

 * priority:  High => Normal


Old description:

> 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.

New description:

 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.

--

Comment:

 `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.

-- 
Ticket URL: <https://trac.macports.org/ticket/42130#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list