unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: kroy <kroy_probe@yahoo.com>
Subject: "./configure" problem with version 21.3 in redhat 9 linux
Date: Sat, 27 Dec 2003 12:01:21 +0000 (GMT)	[thread overview]
Message-ID: <20031227120121.24370.qmail@web21206.mail.yahoo.com> (raw)

Hi!
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

loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc -O2 -fomit-frame-pointer -s -pipe )
works... yes
checking whether the C compiler (gcc -O2 -fomit-frame-pointer -s -pipe ) is a
cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking whether ln -s works... yes
checking how to run the C preprocessor... gcc -E
checking for a BSD compatible install... /usr/bin/install -c
checking for bison... bison -y
checking for ranlib... ranlib
checking for AIX... no
checking the machine- and system-dependent files to find out
 - which libraries the lib-src programs will want, and
 - whether the GNU malloc routines are usable
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGE_FILES value needed for large files... no
checking for machine/soundcard.h... no
checking for sys/soundcard.h... yes
checking for soundcard.h... no
checking for _oss_ioctl in -lossaudio... no
checking for sys/select.h... yes
checking for sys/timeb.h... yes
checking for sys/time.h... yes
checking for unistd.h... yes
checking for utime.h... yes
checking for linux/version.h... yes
checking for sys/systeminfo.h... no
checking for termios.h... yes
checking for limits.h... yes
checking for string.h... yes
checking for stdlib.h... yes
checking for termcap.h... yes
checking for stdio_ext.h... yes
checking for fcntl.h... yes
checking for term.h... yes
checking for strings.h... yes
checking for ANSI C header files... yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys_siglist declaration in signal.h or unistd.h... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for struct utimbuf... yes
checking return type of signal handlers... void
checking for speed_t... yes
checking for struct timeval... yes
checking for struct exception... no
checking whether struct tm is in sys/time.h or time.h... time.h
checking for tm_zone in struct tm... yes
checking for tm_gmtoff in struct tm... yes
checking for gcc option to accept ANSI C... none needed
checking for function prototypes... yes
checking for working volatile... yes
checking for working const... yes
checking for void * support... yes
checking whether make sets ${MAKE}... yes
checking for long file names... yes
checking for X... libraries /usr/X11R6/, headers /usr/X11R6/include/
checking for malloc_get_state... yes
checking for malloc_set_state... yes
checking whether __after_morecore_hook exists... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/stat.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking for dnet_ntoa in -ldnet... no
checking for main in -lXbsd... no
checking for cma_open in -lpthreads... no
checking for XFree86 in /usr/X386... no
checking whether X on GNU/Linux needs -b to link... no
checking for Xkb... no
checking for XrmSetDatabase... no
checking for XScreenResourceString... no
checking for XScreenNumberOfScreen... no
checking for XSetWMProtocols... no
checking X11 version 6... before 6
checking X11 version 5... before 5
checking for X11/xpm.h... no
checking for jerror.h... no
checking for png.h... no
checking for tiffio.h... no
checking for gif_lib.h... no
checking whether netdb declares h_errno... no
checking for working alloca.h... no
checking for alloca... no
checking whether alloca needs Cray hooks... no
checking stack direction for C alloca... -1
checking for sqrt in -lm... no
checking for maillock in -lmail... no
checking for maillock in -llockfile... no
checking for liblockfile.so... no
checking for touchlock... no
checking for maillock.h... no
checking for gethostname... no
checking for getdomainname... no
checking for dup2... no
checking for rename... no
checking for closedir... no
checking for mkdir... no
checking for rmdir... no
checking for sysinfo... no
checking for random... no
checking for lrand48... no
checking for bcopy... no
checking for bcmp... no
checking for logb... no
checking for frexp... no
checking for fmod... no
checking for rint... no
checking for cbrt... no
checking for ftime... no
checking for res_init... no
checking for setsid... no
checking for strerror... no
checking for fpathconf... no
checking for select... no
checking for mktime... no
checking for euidaccess... no
checking for getpagesize... (cached) yes
checking for tzset... no
checking for setlocale... no
checking for utimes... no
checking for setrlimit... no
checking for setpgid... no
checking for getcwd... no
checking for getwd... no
checking for shutdown... no
checking for strftime... no
checking for getaddrinfo... no
checking for __fpending... no
checking for mblen... no
checking for mbrlen... no
checking for strsignal... no
checking for setitimer... no
checking for ualarm... no
checking for index... no
checking for rindex... no
checking for gai_strerror... no
checking for mkstemp... no
checking for sys/time.h... (cached) yes
checking for unistd.h... (cached) yes
checking for alarm... no
checking for working mktime... no
checking for getloadavg... no
checking for elf_begin in -lelf... no
checking for kvm_open in -lkvm... no
checking for getloadavg in -lutil... no
checking for getloadavg in -lgetloadavg... no
checking for getloadavg... (cached) no
checking for sys/dg_sys_info.h... no
checking for inq_stats/cpustats.h... no
checking for sys/cpustats.h... no
checking for mach/mach.h... no
checking for nlist.h... no
checking whether getloadavg requires setgid... no
checking for _LARGEFILE_SOURCE value needed for large files... 1
checking for fseeko... no
checking for grantpt... no
checking for getpt... no
checking for tparm in -lncurses... no
checking for dgettext in -lintl... no
checking whether localtime caches TZ... no
checking for gettimeofday... no
checking whether gettimeofday can accept two arguments... yes
checking for socket... no
checking whether system supports dynamic ptys... yes
checking for pid_t... yes
checking for vfork.h... no
checking for working vfork... no
checking for size_t... yes
 
Configured for `i686-pc-linux-gnu'.
 
  Where should the build process find the source code?   
/usr/local/src/emacs-21.3
  What operating system and machine description files should Emacs use?
        `s/gnu-linux.h' and `m/intel386.h'
  What compiler should emacs be built with?               gcc -O2
-fomit-frame-pointer -s -pipe
  Should Emacs use the GNU version of malloc?             yes
      (Using Doug Lea's new malloc from the GNU C Library.)
  Should Emacs use a relocating allocator for buffers?    yes
  Should Emacs use mmap(2) for buffer allocation?         no
  What window system should Emacs use?                    x11
  What toolkit should Emacs use?                          none
  Where do we find X Windows header files?                /usr/X11R6/include/
  Where do we find X Windows libraries?                   /usr/X11R6/
  Does Emacs use -lXaw3d?                                 no
  Does Emacs use -lXpm?                                   no
  Does Emacs use -ljpeg?                                  no
  Does Emacs use -ltiff?                                  no
  Does Emacs use -lungif?                                 no
  Does Emacs use -lpng?                                   no
  Does Emacs use X toolkit scroll bars?                   no
 
updating cache ./config.cache
creating ./config.status
creating Makefile
creating lib-src/Makefile.c
creating oldXMenu/Makefile
creating man/Makefile
creating lwlib/Makefile
creating src/Makefile.c
creating lisp/Makefile
creating leim/Makefile
creating src/config.h
creating src/epaths.h
creating lib-src/Makefile
creating src/Makefile


I do not have the image libraries and im not planning to use them (lXaw3d...)

Then i got this make error:
$ make

if [ ! -f /usr/local/src/emacs-21.3/lisp/abbrev.elc ]; then \
  make  bootstrap; \
fi
cd lib-src; make all  \
  CC='gcc' CFLAGS='-O2 -fomit-frame-pointer -s -pipe' CPPFLAGS='-D_BSD_SOURCE 
-I/usr/bin -I/bin -I/usr/X11R6/bin' \
  LDFLAGS='-L/usr/X11R6/' MAKE='make'
make[1]: Entering directory `/usr/local/src/emacs-21.3/lib-src'
gcc -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
-L/usr/X11R6/ -D_BSD_SOURCE  -I/usr/bin -I/bin -I/usr/X11R6/bin -O2
-fomit-frame-pointer -s -pipe -o test-distrib
/usr/local/src/emacs-21.3/lib-src/test-distrib.c
./test-distrib /usr/local/src/emacs-21.3/lib-src/testfile
gcc -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
-L/usr/X11R6/ -D_BSD_SOURCE  -I/usr/bin -I/bin -I/usr/X11R6/bin -O2
-fomit-frame-pointer -s -pipe /usr/local/src/emacs-21.3/lib-src/make-docfile.c
-lc -o make-docfile
gcc -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
-L/usr/X11R6/ -D_BSD_SOURCE  -I/usr/bin -I/bin -I/usr/X11R6/bin -O2
-fomit-frame-pointer -s -pipe /usr/local/src/emacs-21.3/lib-src/profile.c -lc
-o profile
gcc -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
-L/usr/X11R6/ -D_BSD_SOURCE  -I/usr/bin -I/bin -I/usr/X11R6/bin -O2
-fomit-frame-pointer -s -pipe /usr/local/src/emacs-21.3/lib-src/digest-doc.c
-lc -o digest-doc
gcc -Demacs -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 /usr/local/src/emacs-21.3/lib-src/alloca.c
gcc -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
-L/usr/X11R6/ -D_BSD_SOURCE  -I/usr/bin -I/bin -I/usr/X11R6/bin -O2
-fomit-frame-pointer -s -pipe /usr/local/src/emacs-21.3/lib-src/sorted-doc.c
alloca.o -lc -o sorted-doc
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


Im sorry that the post is so long but i dont want to leave out any information.
Thanks
/kroy

________________________________________________________________________
Yahoo! Messenger - Communicate instantly..."Ping" 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html

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

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

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=20031227120121.24370.qmail@web21206.mail.yahoo.com \
    --to=kroy_probe@yahoo.com \
    /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).