[EMAIL PROTECTED] wrote:
> Hi,
>
> I have exactly the problem described in the install FAQ, namely my
> returned error when trying to run configure is:
>
>> checking whether gethostname() is available... yes
>> checking for Xt Revision Number 6... no
>> checking for Xt Revision Number 5... no
>> configure: error: You must have X11 Revision 5 or higher to compile Lesstif
>> [ryan@ramona lesstif-0.92.26]#
>
>
> But I checked my symbolic links and they do exist. Is there any new
> info as to why this happens and how I can fix it?
> My configure.log shows:
>
>> configure:4808: checking for Xt Revision Number 6
>> configure:4820: g++ -fPIC -o conftest -g -I/usr/X11R6/include conftest.c 1>&5
>> In file included from /usr/X11R6/include/X11/Intrinsic.h:66,
>> from configure:4811:
>> /usr/include/string.h:247: parse error before `('
>> /usr/include/string.h:248: parse error before `('
>> configure: failed program was:
>> #line 4810 "configure"
>> #include "confdefs.h"
>> #include <X11/Intrinsic.h>
>> int main() {
>> #if XtSpecificationRelease < 6
>> fail;
>> #endif
>>
>> ; return 0; }
>> configure:4833: checking for Xt Revision Number 5
>> configure:4845: g++ -fPIC -o conftest -g -I/usr/X11R6/include conftest.c 1>&5
>> In file included from /usr/X11R6/include/X11/Intrinsic.h:66,
>> from configure:4836:
>> /usr/include/string.h:247: parse error before `('
>> /usr/include/string.h:248: parse error before `('
>> configure: failed program was:
>> #line 4835 "configure"
>> #include "confdefs.h"
>> #include <X11/Intrinsic.h>
>> int main() {
>> #if XtSpecificationRelease < 5
>> fail;
>> #endif
>>
>> ; return 0; }
>
>
> Thank you for any help.
>
> Ryan
>
>
Why is you using g++ to compile lesstif ? Try the commandline
CC=gcc ./configure and see if it helps.
Karsten Jensen