Opened 13 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)
Change History (8)
Changed 13 years ago by adamb2903
comment:1 follow-ups: 2 3 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Port: | gtk2 added |
---|---|
Summary: | gtk 2 fails to configure → gtk2 fails to configure: libXext not found |
comment:2 Changed 13 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 detailsIs 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 Changed 13 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 13 years ago by adamb2903
Attachment: | config.log added |
---|
comment:4 Changed 13 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: | new → closed |
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.
The relevant message in the log seems to be:
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?