Re: Problem compiling on Redhat Enterprise WS 3 with X11

2007-03-05 Thread James J Dempsey
Chong Yidong [EMAIL PROTECTED] 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--


___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: Problem compiling on Redhat Enterprise WS 3 with X11

2007-03-05 Thread Richard Stallman
Thanks for working on this.  It is better to report a bug which isn't
than fail to report a bug which is.


___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: Problem compiling on Redhat Enterprise WS 3 with X11

2007-03-04 Thread Glenn Morris
Chong Yidong wrote:

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

As an additional data point, it builds fine for me with these options
on Red Hat Enterprise Linux WS release 3 (Taroon Update 8).



___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: Problem compiling on Redhat Enterprise WS 3 with X11

2007-03-03 Thread Chong Yidong
James J Dempsey [EMAIL PROTECTED] 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?



___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug