emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem compiling on Redhat Enterprise WS 3 with X11


From: Chong Yidong
Subject: Re: Problem compiling on Redhat Enterprise WS 3 with X11
Date: Sat, 03 Mar 2007 16:46:51 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.95 (gnu/linux)

James J Dempsey <address@hidden> writes:

> Apparently the first time I built emacs-22.0.95 on redhat Enterprise WS 3,
> it defaulted to not use X11, probably because this machine didn't have the
> X11 header file RPMs installed.  After installing them, I reconfigured with:
>
> ./configure --prefix=/local --x-libraries=/usr/X11R6/lib 
> --x-includes=/usr/X11R6/include --with-x-toolkit=yes
>
> and when I do, I get the following compile error:
> ...
>
> Looking around, it appears that linux (at least Redhat) has strerror.  I
> worked around this problem by adding
>
> #define HAVE_STRERROR 1
>
> to src/s/gnu-linux.h.  Not sure if that is the right solution or not.

configure should have put HAVE_STRERROR into src/config.h, so there is
likely something wrong the way you ran configure.  Could you
reconfigure with just

  ./configure --prefix=/local

and see if the problem persists?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]