Hi Michael,
I am not an expert with configure but here's my take on your problem ...
If you have a look in the configure script and search for that error
message you'll find some code that looks like this
-----------------------------------
if test "x$XTversion" = "x" ; then
echo $ac_n "checking for Xt Revision Number 5""... $ac_c" 1>&6
echo "configure:4790: checking for Xt Revision Number 5" >&5
cat > conftest.$ac_ext <<EOF
#line 4792 "configure"
#include "confdefs.h"
#include <X11/Intrinsic.h>
int main() {
#if XtSpecificationRelease < 5
fail;
#endif
; return 0; }
EOF
-----------------------------------------
What this seems to be doing is to create a small c program which is then
compiled and run to do the test.
It may look horrible but basically it is just testing the value of
XtSpecificationRelease which is found in the file X11/Intrinsic.h
So, if you can find that file (try "locate Intrinsic.h") you can check
the value yourself (try "grep XtSpecificationRelease `locate
Intrinsic.h`" note the back-quotes and don't type the double-quotes).
You'll probably find a line like
#define XtSpecificationRelease 6
which is fine.
If this all checks out then your problem is most likely related to where
X11 is installed on your system and you need to use the --x-includes and
--x-libraries options when you run configure. They, and many others, are
described in the Install file.
You probably should do a "make clean" and a "make distclean" to get rid
of any mis-configured files which have been created previously.
Hope that helps.
Have Fun,
John L.
Michael Khusid wrote:
>
> Hi,
>
> This question is gonna sound simple and naive, but hey, I think more
> and more people will come from the same direction as I am.
>
> I got the same error as talked about below. What I got is latest cygwin
> 4.10 with X11R6. They both install as binaries... so I wonder how much
> of the source I am missing to compile lesstif.
>
> So, I downloaded source for xfree86, untarred it in /usr/src/. Lesstif
> still can't find files. What exactly and where exactly is it looking
> and what exactly does it need?
>
> Thanks.
> Mike
>
> Why does it say I need X11r5 or higher when I have r6 ?
> Several people have reported build problems; the configure script looks
> for an X distribution and then checks whether it is X11R5 or X11R6.
> On some systems the configure script stops, saying
> configure: error: You must have X11 Revision 5 or higher to compile
> LessTif
> while the system actually has X11R6.
> Apparently this has to do with installations of Linux, in which the
> include files (under /usr/include) often contain symbolic links to the
> source directories (either on disk or on CD-ROM). In such a situation,
> if one either removes the CD-ROM, or cleans up /usr/src, the effect
> will be dangling symbolic links under /usr/include which confuse our
> configure script.
> The solution is obvious : make sure that your include files don't
> contain symbolic links to nonexistent files.
> Another possibility is that you simply forgot to install the X11
> development package (e.g. X11-devel RPM) so that the related headers
> are not yet installed on your system.
>
> __________________________________________________
> Do You Yahoo!?
> NEW from Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
> http://geocities.yahoo.com/ps/info1