On Thu, May 03, 2001 at 02:21:16PM -0800, [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

Problem starts even earlier, since configure uses the GNU C++ compiler
when it should a C compiler.
You should post/analyze the related part of the configure script/output.

-- 
Alexander Mai
[EMAIL PROTECTED]

Reply via email to