LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Xtest error compiling Synergy (http://www.linuxquestions.org/questions/linux-software-2/xtest-error-compiling-synergy-483785/)

bpottle 09-15-2006 12:42 PM

Xtest error compiling Synergy
 
Trying to compile Synergy 1.3.1, I get this from ./configure:

checking for XTestQueryExtension in -lXtst... no
configure: error: You must have the XTest library to build synergy

However:

[root@localhost synergy-1.3.1]# rpm -qa |grep Xtst
libXtst-1.0.1-1.2

And:

[root@localhost synergy-1.3.1]# locate Xtst
/usr/X11R6/lib/libXtst.so.6
/usr/X11R6/lib/libXtst.so.6.1
/usr/lib/libXtst.so
/usr/lib/libXtst.so.6
/usr/lib/libXtst.so.6.1.0
/usr/share/doc/libXtst-1.0.1
/usr/share/doc/libXtst-1.0.1/AUTHORS
/usr/share/doc/libXtst-1.0.1/COPYING
/usr/share/doc/libXtst-1.0.1/ChangeLog
/usr/share/doc/libXtst-1.0.1/INSTALL
/usr/share/doc/libXtst-1.0.1/README


Tried doing 'yum install libXtst-devel', it installs successfully, but I get the same error from ./configure

What am I doing wrong? Is there some way I can specify where it looks when it's talking about "-lXtst"?




Thanks all,
Ben

quirks1 12-12-2009 10:09 AM

I know this is sort of a late reply, but other people might run into the same issue and find this thread while looking for a solution (just as I did):

Code:

yum install libXtst libXtst-devel libXext libXext-devel
cd /path/to/synergy/source
export CPPFLAGS='-I/usr/lib/X11'
./configure --prefix=/usr/local/synergy
sed -e 's/X_DISPLAY_MISSING 1/X_DISPLAY_MISSING 0/' -i'~' config.h
make
make install

You're welcome.


All times are GMT -5. The time now is 03:16 AM.