#32848: cairo build fails when /usr/bin/gcc-4.2 is present with Xcode 4.2 ----------------------------+----------------------------------------------- Reporter: jxzhu@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: cairo ----------------------------+----------------------------------------------- Changes (by ryandesign@…): * priority: High => Normal * owner: macports-tickets@… => ryandesign@… * port: => cairo Old description:
During the stage of installing gnuplot, I encountered the error for cairo installation. I then did
{{{ port uninstall cairo port clean cairo port install cairo }}}
I have Lion 7.2 on my MacBook Pro with Xcode 4.2.1.
I have also read the ticket # 30405 and tried using the trick there
{{{ port install cairo configure.compiler=llvm-gcc-4.2 }}}
or
{{{ port install cairo configure.compiler=gcc-4.2 }}}
But neither worked.
The main.log file is attached.
Your help is appreciated.
Jian-Xin Zhu
%%%%%%%%%
The terminal output is listed at the end of the description.
---> Computing dependencies for cairo ---> Fetching archive for cairo ---> Attempting to fetch cairo-1.10.2_4+x11.darwin_11.x86_64.tbz2 from http://packages.macports.org/cairo ---> Fetching cairo ---> Verifying checksum(s) for cairo ---> Extracting cairo ---> Applying patches to cairo ---> Configuring cairo ---> Building cairo Error: Target org.macports.build returned: shell command failed (see log for details) Log for cairo is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_cairo/cairo/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets>
New description: During the stage of installing gnuplot, I encountered the error for cairo installation. I then did {{{ port uninstall cairo port clean cairo port install cairo }}} I have Lion 7.2 on my MacBook Pro with Xcode 4.2.1. I have also read the ticket # 30405 and tried using the trick there {{{ port install cairo configure.compiler=llvm-gcc-4.2 }}} or {{{ port install cairo configure.compiler=gcc-4.2 }}} But neither worked. The main.log file is attached. Your help is appreciated. Jian-Xin Zhu %%%%%%%%% The terminal output is listed at the end of the description. {{{ ---> Computing dependencies for cairo ---> Fetching archive for cairo ---> Attempting to fetch cairo-1.10.2_4+x11.darwin_11.x86_64.tbz2 from http://packages.macports.org/cairo ---> Fetching cairo ---> Verifying checksum(s) for cairo ---> Extracting cairo ---> Applying patches to cairo ---> Configuring cairo ---> Building cairo Error: Target org.macports.build returned: shell command failed (see log for details) Log for cairo is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_cairo/cairo/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets> }}} -- -- Ticket URL: <https://trac.macports.org/ticket/32848#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS