Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#46472 closed defect (invalid)

Error: Failed to install tiff (sudo port install gtk2 +x11 for OX Yosemite)

Reported by: chonqwei89@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc:
Port: tiff

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Dear Experts,

OS X Yosemite version 10.10.1
MacPorts based version 2.3.3
XQuartz 2.7.7 (xorg-server 1.15.2)

I have been trying to install GTK2 +x11 for mac in order to run (RQDA) and (rattle) packages in r/ r studio. Due to some errors reported by (see, http://marcoghislanzoni.com/blog/2014/08/29/solved-installing-rattle-r-3-1-mac-os-x-10-9/) I need to install Xcode and MacPorts and running the installation manually.

The problem is, while following the steps

> export PATH=/opt/local/bin:/opt/local/sbin:$PATH
> sudo port selfupdate
> sudo port install pkgconfig
> export PATH=/opt/pkgconfig/bin:$PATH
> sudo port install gtk2 +x11

I encountered this:

MacBook-Pro:~ Thor$  port version
Version: 2.3.3
MacBook-Pro:~ Thor$ export PATH=/opt/local/bin:/opt/local/sbin:$PATH
MacBook-Pro:~ Thor$ sudo port selfupdate
--->  Updating MacPorts base sources using rsync
MacPorts base version 2.3.3 installed,
MacPorts base version 2.3.3 downloaded.
--->  Updating the ports tree
--->  MacPorts base is already the latest version

The ports tree has been updated. To upgrade your installed ports, you should run
  port upgrade outdated
MacBook-Pro:~ Thor$  sudo port install pkgconfig
--->  Computing dependencies for pkgconfig
--->  Cleaning pkgconfig
--->  Scanning binaries for linking errors
--->  No broken files found.                             
MacBook-Pro:~ Thor$  sudo port install gtk2 +x11
--->  Computing dependencies for gtk2
--->  Dependencies to be installed: gdk-pixbuf2 tiff hicolor-icon-theme pango Xft2 harfbuzz graphite2 xorg-libXcomposite xorg-compositeproto xorg-libXfixes xorg-fixesproto xorg-libXcursor xorg-libXdamage xorg-damageproto xorg-libXi xorg-inputproto xorg-libXinerama xorg-xineramaproto xorg-libXrandr xorg-randrproto
--->  Configuring tiff
Error: org.macports.configure for port tiff returned: autoreconf failure: command execution failed
Error: Failed to install tiff
Please see the log file for port tiff for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_tiff/tiff/main.log
Error: The following dependencies were not installed: gdk-pixbuf2 tiff hicolor-icon-theme pango Xft2 harfbuzz graphite2 xorg-libXcomposite xorg-compositeproto xorg-libXfixes xorg-fixesproto xorg-libXcursor xorg-libXdamage xorg-damageproto xorg-libXi xorg-inputproto xorg-libXinerama xorg-xineramaproto xorg-libXrandr xorg-randrproto
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port gtk2 failed
MacBook-Pro:~ Thor$ 

Any helps is most appreciated! Thanks!

Attachments (1)

main.log (3.3 KB) - added by chonqwei89@… 9 years ago.

Download all attachments as: .zip

Change History (11)

comment:1 Changed 9 years ago by chonqwei89@…

Cc: chonqwei89@… added

Cc Me!

comment:2 Changed 9 years ago by chonqwei89@…

Cc: chonqwei89@… removed

Cc Me!

comment:3 Changed 9 years ago by mf2k (Frank Schima)

Milestone: MacPorts Future
Priority: HighNormal

The Priority and Milestone fields are for use by Macports team members only.

comment:4 in reply to:  3 Changed 9 years ago by chonqwei89@…

Replying to mf2k@…:

The Priority and Milestone fields are for use by Macports team members only.

I'm very sorry for this. Thanks for helping me to amend. :-)

Last edited 9 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:5 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: GTK2 +x11 for OX Yosemite Failed to install tiff removed
Port: tiff added

Please attach the main.log file so that we can see why it failed.

Changed 9 years ago by chonqwei89@…

Attachment: main.log added

comment:6 in reply to:  5 Changed 9 years ago by chonqwei89@…

Replying to ryandesign@…:

Please attach the main.log file so that we can see why it failed.

Done, wondering is there anything else that I missed. Thanks for the helps though. :-)

Last edited 9 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:7 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

The log is not from a clean build. Please clean and try again.

comment:8 in reply to:  7 Changed 9 years ago by chonqwei89@…

Replying to ryandesign@…:

The log is not from a clean build. Please clean and try again.

I cleaned the log by writing "sudo port clean tiff" and re-do the installation. Eventually, yes!! It run smoothly. Big thankS to you ryandesign! :-D. I'm most appreciated!

comment:9 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: newclosed

Ok great, glad it worked. Remember to clean and try again as your first step when any port fails, and before filing a ticket.

comment:10 in reply to:  9 Changed 9 years ago by chonqwei89@…

Replying to ryandesign@…:

Ok great, glad it worked. Remember to clean and try again as your first step when any port fails, and before filing a ticket.

Yes, now only that I learnt it. Thanks to you, ryandesign! :-) really appreciated and impressed with the efficiency of your helps!

Note: See TracTickets for help on using tickets.