GNOME Bugzilla – Bug 132237
configure fail on Solaris+XFree
Last modified: 2005-08-15 01:32:36 UTC
configure fail on Solaris (XFree 4.3.0). XTestFakeKeyEvent in libXtst requires that libXext also is in the link. XOpenDevice in libXi also require that libXext is provided.
you appear to be the only person testing Solaris + XFree. The 'Sun' Solaris builds with XSun are working correctly as are the XFree Linux builds on multiple platforms, so your configuration must be rather unusual. If you have a patch for review that would be helpful.
Adding the portability keyword.
seeking patch or more details about configuration, as this bug is not seen by Sun build engineers.
On line 159 in configure.in: Make it AC_CHECK_LIB(Xtst, XTestFakeKeyEvent, XTST_LIBS=-lXtst,, -lXext) On line 176 in configure.in: Make it AC_CHECK_LIB(Xi, XOpenDevice, XTST_LIBS=-lXi,, -lXext)
I'm no expert at all on autoconf, so the suggestion I've done might not be complete. But it works on my Solaris9 x86 XFree 4.3.0 .... :-D
About the pc: Dual P3 800MHz, nVidia GeForce2 GTS(?) 64 Mb, 1,5 Gb RAM, Adaptec 29160 & ~ 100 Gb @ Maxtor SCSI-3 Discs, Quantum 120 Gb IDE drive, Plextor CD-RW @ SCSI + Pioneer DVD @ SCSI, Sony DVD-RW IDE Initially, the reason for getting XFree was that Gnome-1.4 was hard to compile with the standard X libs from sun (on Solaris 8 ancient). Then the x-drivers for nVidia from Sun came, but they didn't work as well as the Xfree-stuff, so I thought "Don't fix was isn't broken" ... Patch-status: Installed latest "Recommended Solaris 9 x86 patch kit" a couple of days before I started building GARNOME-0.29.1 Cheers
reducing severity since only reporter has a workaround. I will look into the prospect of applying the patch however.
The first part of your suggested fix seems already to have been applied. I will apply the -Xext addition to the Xi XINPUT_LIBS check also.
proposed fix in CVS. Please reopen if this does not work for you.