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: James J Dempsey
Subject: Re: Problem compiling on Redhat Enterprise WS 3 with X11
Date: Mon, 05 Mar 2007 09:05:14 -0500

Chong Yidong <address@hidden> wrote:

> > 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?

I ran "make distclean", then configure as you requested above and then
src/config.h did include "#define HAVE_STRERROR 1".

A subsequent compile/link worked fine.

Oddly, after that, I tried make distclean and then configure with the
previous options I used:

./configure --prefix=/local --x-libraries=/usr/X11R6/lib 
--x-includes=/usr/X11R6/include --with-x-toolkit=yes

and it still included HAVE_STRERROR in config.h.  At this point I am unable
to reproduce the original problem.

                       --Jim Dempsey--




reply via email to

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