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 105836 - configure.in doesn't find Xi, Xtst in all locations
configure.in doesn't find Xi, Xtst in all locations
Status: RESOLVED FIXED
Product: at-spi
Classification: Platform
Component: build
1.1.x
Other Linux
: Normal normal
: ---
Assigned To: bill.haneman
bill.haneman
Depends on:
Blocks:
 
 
Reported: 2003-02-11 21:46 UTC by Havoc Pennington
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.3/2.4


Attachments
Proposed patch (2.30 KB, patch)
2003-02-14 08:47 UTC, padraig.obriain
none Details | Review

Description Havoc Pennington 2003-02-11 21:46:09 UTC
If you have libXi or libXtst in a location such as 
/usr/lib64 or /usr/local/lib, then the configure checks fail.
I think because the AC_CHECK_LIB never works, because -lX11 isn't
on the link line when it tries to link to -lXi. Then it falls back 
to searching the two hardcoded locations which covers up the 
problem for most users.
Comment 1 padraig.obriain 2003-02-13 09:11:30 UTC
Are you referring to a situation where libXi or libXtst are not
installed in the same location as the X libraries or where ther X
libraries are installed in /usr/lib64 or /usr/local/lib?
Comment 2 Havoc Pennington 2003-02-13 14:00:15 UTC
I guess we have all X libraries in /usr/X11R6/lib64 or something like
that, on reflection. 

Anyhow, basic point is, the AC_CHECK_LIB doesn't 
work so the normal ld search path isn't searched. At least, it 
seems so.
Comment 3 padraig.obriain 2003-02-14 08:47:50 UTC
Created attachment 14314 [details] [review]
Proposed patch
Comment 4 padraig.obriain 2003-02-14 08:48:17 UTC
Havoc,

Does the propsoed patch work for you?
Comment 5 Havoc Pennington 2003-02-14 17:00:44 UTC
It's a bit involved for me to try a build on a machine with the /lib64, 
but the patch is exactly how I would have fixed it and looks right.
Comment 6 padraig.obriain 2003-02-14 17:42:58 UTC
Patch committed to CVS HEAD.