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

MacPorts noreply at macports.org
Tue Mar 20 00:39: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                              
--------------------------------+-------------------------------------------

Comment(by 4eppelin@…):

 Thank you! I solved the problem. Avarice require libbfd.a from binutils
 for installation. Installing binutils solves the problem. But there are
 some moments. Details:
 {{{
 $ cd `port work avarice`
 $ sudo ./configure
 }}}
 Output:

 {{{
 ...
 configure: error: You need to install libbfd.a from binutils.
 }}}

 {{{
 $sudo port install binutils
 }}}
 Output:
 {{{
 ...
 <installation done>
 Having binutils installed will cause some other ports to fail to build.
 Consider
 uninstalling binutils.
 }}}
 {{{
 $ sudo port install avarice
 <installation done>
 }}}
 I decide to remove binutils package but leave libbfd.a:
 {{{
 $ cp opt/local/lib/libbfd.a ~/temp
 $ sudo port uninstall binutils
 $ sudo mv ~/temp/libbfd.a /opt/local/lib/
 }}}
 Thanks for attention!

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


More information about the macports-tickets mailing list