[MacPorts] #33687: avarice @2.11 - install causes error: C++ compiler cannot create executables

MacPorts noreply at macports.org
Mon Mar 19 08:44:22 PDT 2012


#33687: avarice @2.11 - install causes error: C++ compiler cannot create
executables
--------------------------------+-------------------------------------------
 Reporter:  4eppelin@…          |       Owner:  macports-tickets@…                   
     Type:  defect              |      Status:  new                                  
 Priority:  Normal              |   Milestone:                                       
Component:  ports               |     Version:  2.0.4                                
 Keywords:                      |        Port:  avarice                              
--------------------------------+-------------------------------------------
Changes (by ryandesign@…):

  * keywords:  avarice install failed =>
  * port:  avarice @2.11 (cross) => avarice


Comment:

 Replying to [ticket:33687 4eppelin@…]:
 >
 {{{
 :info:configure configure: error: C++ compiler cannot create executables
 :info:configure See `config.log' for more details
 }}}

 This typically means [wiki:FAQ#missingxcode Xcode is not installed
 correctly].

 > Can't find config.log.

 It is in the directory identified by the command "port work avarice".

 > Command "port work avarice" tells:
 >
 {{{
 shell-init: error retrieving current directory: getcwd: cannot access
 parent directories: No such file or directory
 error getting working directory name: no such file or directory
     while executing
 "pwd"
     invoked from within
 "set current_portdir [pwd]"
     (file "/opt/local/bin/port" line 4703)
 }}}

 This means the directory your shell was in when you ran the "port work"
 command does not exist anymore. "cd" to a directory that does exist, then
 try "port work avarice" again.

-- 
Ticket URL: <https://trac.macports.org/ticket/33687#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list