Opened 15 years ago

Closed 15 years ago

#20465 closed defect (fixed)

libglade2 can't find xineramaproto, randrproto, fixesproto, compositeproto, damageproto

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: nerdling (Jeremy Lavergne)
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc: jeremyhu (Jeremy Huddleston Sequoia)
Port: libglade2

Description

Configuring libglade2 failed for me, on Mac OS X 10.5.7 Intel with Xcode 3.1.2:

checking for pkg-config... /mp/bin/pkg-config
checking for GTK+ - version >= 2.5.0... no
*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK+ is incorrectly installed.
checking for gtk_plug_get_type... no
checking pkg-config is at least version 0.9.0... yes
checking for LIBGLADE... configure: error: Package requirements (  libxml-2.0 >= 2.4.10   atk >= 1.9.0   gtk+-2.0 >= 2.5.0   glib-2.0 >= 2.10.0) were not met:

Package xineramaproto was not found in the pkg-config search path.
Perhaps you should add the directory containing `xineramaproto.pc'
to the PKG_CONFIG_PATH environment variable
Package 'xineramaproto', required by 'Xinerama', not found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables LIBGLADE_CFLAGS
and LIBGLADE_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

Once I installed xorg-xineramaproto, I got:

Package randrproto was not found in the pkg-config search path.
Perhaps you should add the directory containing `randrproto.pc'
to the PKG_CONFIG_PATH environment variable
Package 'randrproto', required by 'Xrandr', not found

I installed xorg-randrproto, then I got:

Package fixesproto was not found in the pkg-config search path.
Perhaps you should add the directory containing `fixesproto.pc'
to the PKG_CONFIG_PATH environment variable
Package 'fixesproto', required by 'Xfixes', not found

I installed xorg-fixesproto:

Package compositeproto was not found in the pkg-config search path.
Perhaps you should add the directory containing `compositeproto.pc'
to the PKG_CONFIG_PATH environment variable
Package 'compositeproto', required by 'Xcomposite', not found

Installed xorg-compositeproto:

Package damageproto was not found in the pkg-config search path.
Perhaps you should add the directory containing `damageproto.pc'
to the PKG_CONFIG_PATH environment variable
Package 'damageproto', required by 'Xdamage', not found

Installed xorg-damageproto. Finally, I was able to build libglade2.

So libglade2 or someone in libglade2's dependency chain needs to declare dependencies on xorg-xineramaproto, xorg-randrproto, xorg-fixesproto, xorg-compositeproto, and xorg-damageproto, but I don't know who.

Possibly this was already fixed by r50534 but since that did not bump the revisions of the affected ports, those of us who already had the ports installed did not receive the fix.

Change History (4)

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

Of the ports that were modified by r50534, the following have already had their version or revision subsequently increased:

  • mesa
  • xorg-libAppleWM
  • xorg-libFS
  • xorg-libX11
  • xorg-libXTrap
  • xorg-libXaw
  • xorg-libXt
  • xorg-libxcb
  • xorg-xcb-util

That leaves the following ports which I believe should now have their revision bumped to ensure everyone receives the change:

  • Xft2
  • xorg-libXScrnSaver
  • xorg-libXTrap
  • xorg-libXau
  • xorg-libXcomposite
  • xorg-libXcursor
  • xorg-libXdamage
  • xorg-libXdmcp
  • xorg-libXevie
  • xorg-libXext
  • xorg-libXfixes
  • xorg-libXfont
  • xorg-libXfontcache
  • xorg-libXi
  • xorg-libXinerama
  • xorg-libXmu
  • xorg-libXp
  • xorg-libXrandr
  • xorg-libXres
  • xorg-libXtst
  • xorg-libXv
  • xorg-libXvMC
  • xorg-libXxf86dga
  • xorg-libXxf86misc
  • xorg-libXxf86vm
  • xorg-libdmx
  • xorg-libfontenc
  • xorg-libice
  • xorg-liblbxutil
  • xorg-libsm
  • xorg-libxkbfile
  • xpm
  • xrender

If you have no objection I'm happy to do this.

comment:2 Changed 15 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Ok

comment:3 Changed 15 years ago by nerdling (Jeremy Lavergne)

Owner: changed from macports-tickets@… to snc@…
Status: newassigned

comment:4 Changed 15 years ago by nerdling (Jeremy Lavergne)

Resolution: fixed
Status: assignedclosed

Port revisions bumped in r54724. This should correct the problem in this ticket.

Note: See TracTickets for help on using tickets.