Opened 12 years ago

Closed 12 years ago

#32030 closed defect (worksforme)

gtk2 fails to configure: libXext not found

Reported by: adamb2903 Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc:
Port: gtk2

Description

New gtk2 port will not configure. Log is attached. Am happy to test any suggested fixes.

Attachments (3)

main.log (41.9 KB) - added by adamb2903 12 years ago.
main.2.log (47.0 KB) - added by adamb2903 12 years ago.
Second log fie
config.log (144.3 KB) - added by adamb2903 12 years ago.

Download all attachments as: .zip

Change History (8)

Changed 12 years ago by adamb2903

Attachment: main.log added

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

Port: gtk2 added
Summary: gtk 2 fails to configuregtk2 fails to configure: libXext not found

The relevant message in the log seems to be:

error: *** libXext not found. Check 'config.log' for more details

Is the xorg-libXext port installed? It should be, since it is in the dependency chain. (gtk2 depends on xorg-libXinerama, xorg-libXcomposite, xorg-libXi and xorg-libXrandr, all of which depend on xorg-libXext.)

Does config.log contain any more details?

comment:2 in reply to:  1 Changed 12 years ago by adamb2903

Replying to ryandesign@…:

The relevant message in the log seems to be:

error: *** libXext not found. Check 'config.log' for more details

Is the xorg-libXext port installed? It should be, since it is in the dependency chain. (gtk2 depends on xorg-libXinerama, xorg-libXcomposite, xorg-libXi and xorg-libXrandr, all of which depend on xorg-libXext.)

Does config.log contain any more details?

With libXext installed now get the following error: Error: Target org.macports.configure returned: error copying "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gtk2/gtk2/work/gtk+-2.24.8" to "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gtk2/gtk2/work/gtk+-2.24.8-x86_64/gtk+-2.24.8": file already exists Log for gtk2 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gtk2/gtk2/main.log Error: Unable to upgrade port: 1

comment:3 in reply to:  1 Changed 12 years ago by adamb2903

Cleaned gtk2 and ran again. Still no action. Will attach another log. Not just libXext, then? Maybe title should reflect that.

Changed 12 years ago by adamb2903

Attachment: main.2.log added

Second log fie

Changed 12 years ago by adamb2903

Attachment: config.log added

comment:4 Changed 12 years ago by adamb2903

The problem here is with port. Sudo port upgrade outdated will *not* force the port to install the right libXext dependency. Installing xorg-xext will *not* install the right dependency. sudo port install gtk2 *will* force the right dependencies. These problems with upgrades, esp. re: gtk2 are *very* common and should, perhaps, be a priority for the maintainers.

comment:5 Changed 12 years ago by jmroot (Joshua Root)

Resolution: worksforme
Status: newclosed

xorg-libXi is installed according to your log, and depends on xorg-libXext. For xorg-libXext to not be present, you must have forcibly uninstalled or deactivated it.

Note: See TracTickets for help on using tickets.