Changes between Initial Version and Version 1 of Ticket #42130


Ignore:
Timestamp:
Jan 14, 2014, 8:09:19 PM (11 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
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.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #42130

    • Property Priority changed from High to Normal
  • Ticket #42130 – Description

    initial v1  
    11I am trying to install Boost as follows:
    22
     3{{{
    34sudo port -s install boost +no_static +python27 configure.compiler=macports-gcc-4.8 configure.cxx_stdlib=libc++
     5}}}
    46
    57I'm getting this error:
    68
     9{{{
    710Error: Unable to open port: invalid command name "configure.cxx_stdlib"
    811Error: Unable to execute port: upgrade zlib failed
     12}}}
    913
    1014I 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.