After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 132237 - configure fail on Solaris+XFree
configure fail on Solaris+XFree
Status: RESOLVED FIXED
Product: at-spi
Classification: Platform
Component: build
1.3.x
Other opensolaris
: Normal major
: ---
Assigned To: bill.haneman
bill.haneman
Depends on:
Blocks:
 
 
Reported: 2004-01-22 20:35 UTC by Jonas Jonsson
Modified: 2005-08-15 01:32 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jonas Jonsson 2004-01-22 20:35:19 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.
Comment 1 bill.haneman 2004-01-23 10:22:27 UTC
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.
Comment 2 alexander.winston 2004-01-28 06:33:51 UTC
Adding the portability keyword.
Comment 3 bill.haneman 2004-01-28 12:42:00 UTC
seeking patch or more details about configuration, as this bug is not
seen by Sun build engineers.
Comment 4 Jonas Jonsson 2004-01-28 21:03:09 UTC
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)


Comment 5 Jonas Jonsson 2004-01-28 21:06:33 UTC
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
Comment 6 Jonas Jonsson 2004-01-28 21:28:02 UTC
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
Comment 7 bill.haneman 2004-03-01 18:51:31 UTC
reducing severity since only reporter has a workaround.
I will look into the prospect of applying the patch however.
Comment 8 bill.haneman 2004-03-24 14:26:49 UTC
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.
Comment 9 bill.haneman 2004-03-24 14:34:21 UTC
proposed fix in CVS.  Please reopen if this does not work for you.