unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Kai Grossjohann <kai@emptydomain.de>
Subject: Re: "./configure" problem with version 21.3 in redhat 9 linux
Date: Sat, 27 Dec 2003 22:59:11 +0100	[thread overview]
Message-ID: <871xqp53dc.fsf@emptyhost.emptydomain.de> (raw)
In-Reply-To: mailman.681.1072530598.868.help-gnu-emacs@gnu.org

kroy <kroy_probe@yahoo.com> writes:

> This is my first post here and i hope i don not ask a stupid
> question, i have realy tried to find the answer in many places. Also
> I am very new to Linux.
>
> I installed an older emacs version when i installed redhat linux, but
> uninstalled it with redhats "add/remove applications"
> ("redhat-config-packages").
>
> The problem I am having is that when i ran:
> ./configure
> make
> make install
> everything went fine (i could run emacs, but only in the terminal), but
> configure did not find xwindows.
> I used CFLAGS='-O2 -fomit-frame-pointer -s -pipe'.
>
> So i added --with-x11, but it still did not work.
>
> Then i added the paths to xwindows includes and libs:
> --x-include=/usr/X11R6/include and --x-libraries=/usr/X11R6/lib



> And now it found X11, but NOT rm, mkdir ...? Why does it not find these
> standard commands that i have in /bin? (these are found if i remove the x11
> include and lib paths):
>
> The configure process finished:
> $ CFLAGS='-O2 -fomit-frame-pointer -s -pipe' ./configure
> --x-include=/usr/X11R6/include/ --x-libraries=/usr/X11R6/ --with-x11

Did you specify "/usr/X11R6/" or "/usr/X11R6/lib" for --x-libraries?
"/usr/X11R6/lib" is probably correct.

> gcc -c -D_BSD_SOURCE -DHAVE_CONFIG_H -I. -I../src
> -I/usr/local/src/emacs-21.3/lib-src -I/usr/local/src/emacs-21.3/lib-src/../src
> -D_BSD_SOURCE  -I/usr/bin -I/bin -I/usr/X11R6/bin -O2 -fomit-frame-pointer -s
> -pipe -Demacs  /usr/local/src/emacs-21.3/lib-src/movemail.c
> /usr/local/src/emacs-21.3/lib-src/movemail.c: In function `strerror':
> /usr/local/src/emacs-21.3/lib-src/movemail.c:947: conflicting types for
> `sys_errlist'
> /usr/include/bits/sys_errlist.h:28: previous declaration of `sys_errlist'
> make[1]: *** [movemail.o] Error 1
> make[1]: Leaving directory `/usr/local/src/emacs-21.3/lib-src'
> make: *** [lib-src] Error 2

sys_errlist.  Hm.  The /usr/include/bits directory looks strange, but
I don't know enough about Redhat to say for sure.

But the configure output indicated that it was using a lot of cached
values.  Maybe the cache was b0rked by some previous attempt with
wrong values.  So I suggest to "rm config.cache" and try again.

Also, you were using a lot of parameters to "./configure", especially
the setting for the C compiler.  How about you try to leave that out,
leaving only the following?

    ./configure --with-x11 --x-include=/usr/X11R6/include --x-libraries=/usr/X11R6/lib

Kai

       reply	other threads:[~2003-12-27 21:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.681.1072530598.868.help-gnu-emacs@gnu.org>
2003-12-27 21:59 ` Kai Grossjohann [this message]
2003-12-27 12:01 "./configure" problem with version 21.3 in redhat 9 linux kroy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871xqp53dc.fsf@emptyhost.emptydomain.de \
    --to=kai@emptydomain.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).