[MacPorts] #34771: gdal @1.9.0 +python27 fails to install

MacPorts noreply at macports.org
Wed Jun 6 07:27:15 PDT 2012


#34771: gdal @1.9.0 +python27 fails to install
---------------------------------+------------------------------------------
  Reporter:  titusjan@…          |       Owner:  seanasy@…        
      Type:  defect              |      Status:  closed           
  Priority:  Normal              |   Milestone:                   
 Component:  ports               |     Version:  2.1.1            
Resolution:  wontfix             |    Keywords:                   
      Port:  gdal                |  
---------------------------------+------------------------------------------
Changes (by ryandesign@…):

 * cc: ryandesign@… (added)
  * status:  new => closed
  * resolution:  => wontfix


Comment:

 The log says:
 {{{
 unable to execute /usr/bin/gcc-4.2: No such file or directory
 }}}
 So one of gdal's dependencies, in this case probably python27, has
 remembered the location of the compiler that was used when you originally
 compiled it when you had Xcode 3.2 (or, you got a pre-built binary from
 our server, which builds things using Xcode 3.2) and now you have Xcode
 4.2 which no longer has that compiler. This is the same problem we mention
 in wiki:ProblemHotlist#xcode-select.

 The solution is to rebuild python27:
 {{{
 sudo port -ns upgrade --force python27
 }}}

 Beware that any future upgrade of python27 that gets a binary from our
 server will likely reintroduce this problem, so either remember to use the
 -s flag when upgrading ports like python27 that hardcode the compiler
 location, or edit macports.conf and turn off the use of binaries entirely.

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


More information about the macports-tickets mailing list