all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* emacs 21.3 with X support?
@ 2004-06-12 16:18 Aaron Steele
  2004-06-12 17:20 ` Kai Grossjohann
  2004-06-12 18:28 ` Eli Zaretskii
  0 siblings, 2 replies; 8+ messages in thread
From: Aaron Steele @ 2004-06-12 16:18 UTC (permalink / raw)


dear readers,

i've compiled gnu emacs 21.3 under linux redhat 8.0 with the following 
configuration:

<.configure>
./configure --with-x --x-libraries=/usr/X11R6/include/X11/ 
--x-includes=/usr/X11R6/lib/
</.configure>

i would like to run emacs in X windows, but it always launches in 
terminal mode. here's a snippit of the verbose:

<snippit>
What window system should Emacs use?                    none
What toolkit should Emacs use?                          none
Where do we find X Windows header files?                /usr/X11R6/lib/
Where do we find X Windows libraries?                   
/usr/X11R6/include/X11/
Does Emacs use X toolkit scroll bars?                   no
</snippit>

any initial thoughts?

thanks,
aaron

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: emacs 21.3 with X support?
  2004-06-12 16:18 emacs 21.3 with X support? Aaron Steele
@ 2004-06-12 17:20 ` Kai Grossjohann
  2004-06-12 18:28 ` Eli Zaretskii
  1 sibling, 0 replies; 8+ messages in thread
From: Kai Grossjohann @ 2004-06-12 17:20 UTC (permalink / raw)


Aaron Steele <asteele@berkeley.edu> writes:

> i've compiled gnu emacs 21.3 under linux redhat 8.0 with the following
> configuration:
>
> <.configure>
> ./configure --with-x --x-libraries=/usr/X11R6/include/X11/
> --x-includes=/usr/X11R6/lib/
> </.configure>

The libraries are most probably in /usr/X11/R6/lib, whereas the
includes are in /usr/X11R6/include.

Your config is different in two ways:  (1) You had it the other way
round, and (2) you specified /usr/X11R6/include/X11, instead of
/usr/X11R6/include.

I suggest that you do not specify these parameters at all.
/usr/X11R6 seems like a normal place for X11 to be installed, so I
expect that the Emacs configure script knows about it and checks it.

Kai

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: emacs 21.3 with X support?
  2004-06-12 18:28 ` Eli Zaretskii
@ 2004-06-12 17:47   ` Aaron Steele
  2004-06-12 19:37     ` Kai Grossjohann
  0 siblings, 1 reply; 8+ messages in thread
From: Aaron Steele @ 2004-06-12 17:47 UTC (permalink / raw)
  Cc: help-gnu-emacs

hi eli,

here are 2 snippits: (1) verbose from ./configure and (2) config.log:

<configure verbose>
checking host system type... i686-pc-linux-gnu
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking whether ln -s works... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking for bison... (cached) bison -y
checking for ranlib... (cached) 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... 
(cached) no
checking for _FILE_OFFSET_BITS value needed for large files... (cached) 
64
checking for _LARGE_FILES value needed for large files... (cached) no
checking for machine/soundcard.h... (cached) no
checking for sys/soundcard.h... (cached) yes
checking for soundcard.h... (cached) no
checking for _oss_ioctl in -lossaudio... (cached) no
checking for sys/select.h... (cached) yes
checking for sys/timeb.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for unistd.h... (cached) yes
checking for utime.h... (cached) yes
checking for linux/version.h... (cached) yes
checking for sys/systeminfo.h... (cached) no
checking for termios.h... (cached) yes
checking for limits.h... (cached) yes
checking for string.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for termcap.h... (cached) yes
checking for stdio_ext.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for term.h... (cached) yes
checking for strings.h... (cached) yes
checking for ANSI C header files... (cached) yes
checking whether time.h and sys/time.h may both be included... (cached) 
yes
checking for sys_siglist declaration in signal.h or unistd.h... 
(cached) yes
checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
checking for struct utimbuf... (cached) yes
checking return type of signal handlers... (cached) void
checking for speed_t... (cached) yes
checking for struct timeval... (cached) yes
checking for struct exception... (cached) no
checking whether struct tm is in sys/time.h or time.h... (cached) time.h
checking for tm_zone in struct tm... (cached) yes
checking for tm_gmtoff in struct tm... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking for function prototypes... yes
checking for working volatile... (cached) yes
checking for working const... (cached) yes
checking for void * support... (cached) yes
checking whether make sets ${MAKE}... (cached) yes
checking for long file names... (cached) yes
checking for X... (cached) no
checking for malloc_get_state... (cached) yes
checking for malloc_set_state... (cached) yes
checking whether __after_morecore_hook exists... (cached) yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... (cached) yes
checking for dnet_ntoa in -ldnet... (cached) no
checking for main in -lXbsd... (cached) no
checking for cma_open in -lpthreads... (cached) no
checking for XFree86 in /usr/X386... no
checking whether netdb declares h_errno... (cached) yes
checking for working alloca.h... (cached) yes
checking for alloca... (cached) yes
checking for sqrt in -lm... (cached) yes
checking for maillock in -lmail... (cached) no
checking for maillock in -llockfile... (cached) no
checking for liblockfile.so... (cached) no
checking for touchlock... (cached) no
checking for maillock.h... (cached) no
checking for gethostname... (cached) yes
checking for getdomainname... (cached) yes
checking for dup2... (cached) yes
checking for rename... (cached) yes
checking for closedir... (cached) yes
checking for mkdir... (cached) yes
checking for rmdir... (cached) yes
checking for sysinfo... (cached) yes
checking for random... (cached) yes
checking for lrand48... (cached) yes
checking for bcopy... (cached) yes
checking for bcmp... (cached) yes
checking for logb... (cached) yes
checking for frexp... (cached) yes
checking for fmod... (cached) yes
checking for rint... (cached) yes
checking for cbrt... (cached) yes
checking for ftime... (cached) yes
checking for res_init... (cached) no
checking for setsid... (cached) yes
checking for strerror... (cached) yes
checking for fpathconf... (cached) yes
checking for select... (cached) yes
checking for mktime... (cached) yes
checking for euidaccess... (cached) yes
checking for getpagesize... (cached) yes
checking for tzset... (cached) yes
checking for setlocale... (cached) yes
checking for utimes... (cached) yes
checking for setrlimit... (cached) yes
checking for setpgid... (cached) yes
checking for getcwd... (cached) yes
checking for getwd... (cached) yes
checking for shutdown... (cached) yes
checking for strftime... (cached) yes
checking for getaddrinfo... (cached) yes
checking for __fpending... (cached) yes
checking for mblen... (cached) yes
checking for mbrlen... (cached) yes
checking for strsignal... (cached) yes
checking for setitimer... (cached) yes
checking for ualarm... (cached) yes
checking for index... (cached) yes
checking for rindex... (cached) yes
checking for gai_strerror... (cached) yes
checking for mkstemp... (cached) yes
checking for sys/time.h... (cached) yes
checking for unistd.h... (cached) yes
checking for alarm... (cached) yes
checking for working mktime... (cached) yes
checking for getloadavg... (cached) yes
checking for getloadavg... (cached) yes
checking whether getloadavg requires setgid... (cached) no
checking for _LARGEFILE_SOURCE value needed for large files... (cached) 
1
checking for fseeko... (cached) yes
checking for grantpt... (cached) yes
checking for getpt... (cached) yes
checking for tparm in -lncurses... (cached) yes
checking for dgettext in -lintl... (cached) no
checking whether localtime caches TZ... (cached) no
checking for gettimeofday... (cached) yes
checking whether gettimeofday can accept two arguments... (cached) yes
checking for struct timezone... (cached) yes
checking for socket... (cached) yes
checking for netinet/in.h... (cached) yes
checking for arpa/inet.h... (cached) yes
checking whether system supports dynamic ptys... yes
checking for pid_t... (cached) yes
checking for vfork.h... (cached) no
checking for working vfork... (cached) yes
checking for size_t... (cached) yes

Configured for `i686-pc-linux-gnu'.

   Where should the build process find the source code?    
/opt/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 -g -O2
   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?                    none
   What toolkit should Emacs use?                          none
   Where do we find X Windows header files?                NONE
   Where do we find X Windows libraries?                   NONE
   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

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
src/config.h is unchanged
creating src/epaths.h
src/epaths.h is unchanged
creating lib-src/Makefile
creating src/Makefile
</configure verbose>



<config.log>
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:759: checking host system type
configure:1753: checking for gcc
configure:1866: checking whether the C compiler (gcc  ) works
configure:1882: gcc -o conftest    conftest.c  1>&5
configure:1908: checking whether the C compiler (gcc  ) is a 
cross-compiler
configure:1913: checking whether we are using GNU C
configure:1941: checking whether gcc accepts -g
configure:2021: checking whether ln -s works
configure:2042: checking how to run the C preprocessor
configure:2133: checking for a BSD compatible install
configure:2190: checking for bison
configure:2224: checking for ranlib
configure:2254: checking for AIX
configure:2283: 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
configure:2433: checking for special C compiler options needed for 
large files
configure:2489: checking for _FILE_OFFSET_BITS value needed for large 
files
configure:2542: checking for _LARGE_FILES value needed for large files
configure:2598: checking for machine/soundcard.h
configure:2598: checking for sys/soundcard.h
configure:2598: checking for soundcard.h
configure:2636: checking for _oss_ioctl in -lossaudio
configure:2684: checking for sys/select.h
configure:2684: checking for sys/timeb.h
configure:2684: checking for sys/time.h
configure:2684: checking for unistd.h
configure:2684: checking for utime.h
configure:2684: checking for linux/version.h
configure:2684: checking for sys/systeminfo.h
configure:2684: checking for termios.h
configure:2684: checking for limits.h
configure:2684: checking for string.h
configure:2684: checking for stdlib.h
configure:2684: checking for termcap.h
configure:2684: checking for stdio_ext.h
configure:2684: checking for fcntl.h
configure:2684: checking for term.h
configure:2684: checking for strings.h
configure:2721: checking for ANSI C header files
configure:2825: checking whether time.h and sys/time.h may both be 
included
configure:2860: checking for sys_siglist declaration in signal.h or 
unistd.h
configure:2898: checking for sys/wait.h that is POSIX.1 compatible
configure:2941: checking for struct utimbuf
configure:2986: checking return type of signal handlers
configure:3028: checking for speed_t
configure:3061: checking for struct timeval
configure:3104: checking for struct exception
configure:3138: checking whether struct tm is in sys/time.h or time.h
configure:3172: checking for tm_zone in struct tm
configure:3242: checking for tm_gmtoff in struct tm
configure:3276: checking for gcc option to accept ANSI C
configure:3349: checking for function prototypes
configure:3361: checking for working volatile
configure:3396: checking for working const
configure:3471: checking for void * support
configure:3509: checking whether make sets ${MAKE}
configure:3537: checking for long file names
configure:3588: checking for X
configure:3912: checking for malloc_get_state
configure:3961: checking for malloc_set_state
configure:4010: checking whether __after_morecore_hook exists
configure:4063: checking for stdlib.h
configure:4063: checking for unistd.h
configure:4063: checking for sys/stat.h
configure:4102: checking for getpagesize
configure:4155: checking for working mmap
configure:4326: checking for dnet_ntoa in -ldnet
configure:4374: checking for main in -lXbsd
configure:4411: checking for cma_open in -lpthreads
configure:4459: checking for XFree86 in /usr/X386
configure:5643: checking whether netdb declares h_errno
configure:5678: checking for working alloca.h
configure:5711: checking for alloca
configure:5913: checking for sqrt in -lm
configure:5962: checking for maillock in -lmail
configure:6009: checking for maillock in -llockfile
configure:6062: checking for liblockfile.so
configure:6103: checking for touchlock
configure:6159: checking for maillock.h
configure:6205: checking for gethostname
configure:6205: checking for getdomainname
configure:6205: checking for dup2
configure:6205: checking for rename
configure:6205: checking for closedir
configure:6205: checking for mkdir
configure:6205: checking for rmdir
configure:6205: checking for sysinfo
configure:6205: checking for random
configure:6205: checking for lrand48
configure:6205: checking for bcopy
configure:6205: checking for bcmp
configure:6205: checking for logb
configure:6205: checking for frexp
configure:6205: checking for fmod
configure:6205: checking for rint
configure:6205: checking for cbrt
configure:6205: checking for ftime
configure:6205: checking for res_init
configure:6205: checking for setsid
configure:6205: checking for strerror
configure:6205: checking for fpathconf
configure:6205: checking for select
configure:6205: checking for mktime
configure:6205: checking for euidaccess
configure:6205: checking for getpagesize
configure:6205: checking for tzset
configure:6205: checking for setlocale
configure:6205: checking for utimes
configure:6205: checking for setrlimit
configure:6205: checking for setpgid
configure:6205: checking for getcwd
configure:6205: checking for getwd
configure:6205: checking for shutdown
configure:6205: checking for strftime
configure:6205: checking for getaddrinfo
configure:6205: checking for __fpending
configure:6205: checking for mblen
configure:6205: checking for mbrlen
configure:6205: checking for strsignal
configure:6205: checking for setitimer
configure:6205: checking for ualarm
configure:6205: checking for index
configure:6205: checking for rindex
configure:6205: checking for gai_strerror
configure:6205: checking for mkstemp
configure:6262: checking for sys/time.h
configure:6262: checking for unistd.h
configure:6301: checking for alarm
configure:6354: checking for working mktime
configure:6541: checking for getloadavg
configure:6767: checking for getloadavg
configure:7122: checking whether getloadavg requires setgid
configure:7179: checking for _LARGEFILE_SOURCE value needed for large 
files
configure:7232: checking for fseeko
configure:7267: checking for grantpt
configure:7324: checking for getpt
configure:7382: checking for tparm in -lncurses
configure:8421: checking for dgettext in -lintl
configure:8469: checking whether localtime caches TZ
configure:8541: checking for gettimeofday
configure:8594: checking whether gettimeofday can accept two arguments
configure:8640: checking for struct timezone
configure:8703: checking for socket
configure:8754: checking for netinet/in.h
configure:8790: checking for arpa/inet.h
configure:8838: checking whether system supports dynamic ptys
configure:8850: checking for pid_t
configure:8884: checking for vfork.h
configure:8919: checking for working vfork
configure:9095: checking for size_t
</config.log>


On Jun 12, 2004, at 11:28 AM, Eli Zaretskii wrote:

>> From: Aaron Steele <asteele@berkeley.edu>
>> Date: Sat, 12 Jun 2004 09:18:49 -0700
>>
>> i would like to run emacs in X windows, but it always launches in
>> terminal mode. here's a snippit of the verbose:
>>
>> <snippit>
>> What window system should Emacs use?                    none
>
> This is your problem: the configure script concluded that it cannot
> build Emacs with X support on this machine.
>
> The way to find out why is to look at the file config.log, and find
> the test that failed and caused the script to arrive at that
> conclusion.  Can you find that test and post here the details of its
> failure?
>
>
> _______________________________________________
> Help-gnu-emacs mailing list
> Help-gnu-emacs@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: emacs 21.3 with X support?
  2004-06-12 16:18 emacs 21.3 with X support? Aaron Steele
  2004-06-12 17:20 ` Kai Grossjohann
@ 2004-06-12 18:28 ` Eli Zaretskii
  2004-06-12 17:47   ` Aaron Steele
  1 sibling, 1 reply; 8+ messages in thread
From: Eli Zaretskii @ 2004-06-12 18:28 UTC (permalink / raw)


> From: Aaron Steele <asteele@berkeley.edu>
> Date: Sat, 12 Jun 2004 09:18:49 -0700
> 
> i would like to run emacs in X windows, but it always launches in 
> terminal mode. here's a snippit of the verbose:
> 
> <snippit>
> What window system should Emacs use?                    none

This is your problem: the configure script concluded that it cannot
build Emacs with X support on this machine.

The way to find out why is to look at the file config.log, and find
the test that failed and caused the script to arrive at that
conclusion.  Can you find that test and post here the details of its
failure?

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: emacs 21.3 with X support?
  2004-06-12 17:47   ` Aaron Steele
@ 2004-06-12 19:37     ` Kai Grossjohann
  2004-06-12 22:01       ` Aaron Steele
  0 siblings, 1 reply; 8+ messages in thread
From: Kai Grossjohann @ 2004-06-12 19:37 UTC (permalink / raw)


Aaron Steele <asteele@berkeley.edu> writes:

> checking for X... (cached) no

The "cached" means that it remembered this option.  Remove
config.cache to make it forget.  Then maybe another configure run
will help.

Kai

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: emacs 21.3 with X support?
  2004-06-12 19:37     ` Kai Grossjohann
@ 2004-06-12 22:01       ` Aaron Steele
  2004-06-13  5:05         ` Eli Zaretskii
  2004-06-13 11:38         ` Kai Grossjohann
  0 siblings, 2 replies; 8+ messages in thread
From: Aaron Steele @ 2004-06-12 22:01 UTC (permalink / raw)
  Cc: help-gnu-emacs

hi kai,

is this output more useful?

<config.log>
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:759: checking host system type
configure:1753: checking for gcc
configure:1866: checking whether the C compiler (gcc  ) works
configure:1882: gcc -o conftest    conftest.c  1>&5
configure:1908: checking whether the C compiler (gcc  ) is a 
cross-compiler
configure:1913: checking whether we are using GNU C
configure:1922: gcc -E conftest.c
configure:1941: checking whether gcc accepts -g
configure:2021: checking whether ln -s works
configure:2042: checking how to run the C preprocessor
configure:2063: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:2133: checking for a BSD compatible install
configure:2190: checking for bison
configure:2224: checking for ranlib
configure:2254: checking for AIX
configure:2283: 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
configure:2433: checking for special C compiler options needed for 
large files
configure:2489: checking for _FILE_OFFSET_BITS value needed for large 
files
configure:2504: gcc -c  -O2 -D_BSD_SOURCE   conftest.c 1>&5
configure:2497: size of array `a' is negative
configure: failed program was:
#line 2495 "configure"
#include "confdefs.h"
#include <sys/types.h>
     int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1];

int main() {

; return 0; }
configure:2522: gcc -c  -O2 -D_BSD_SOURCE   conftest.c 1>&5
configure:2542: checking for _LARGE_FILES value needed for large files
configure:2555: gcc -c  -O2 -D_BSD_SOURCE   conftest.c 1>&5
configure:2598: checking for machine/soundcard.h
configure:2608: gcc -E -D_BSD_SOURCE   conftest.c >/dev/null 
2>conftest.out
configure:2604:31: machine/soundcard.h: No such file or directory
configure: failed program was:
#line 2603 "configure"
#include "confdefs.h"
#include <machine/soundcard.h>
configure:2598: checking for sys/soundcard.h
configure:2608: gcc -E -D_BSD_SOURCE   conftest.c >/dev/null 
2>conftest.out
configure:2598: checking for soundcard.h
configure:2608: gcc -E -D_BSD_SOURCE   conftest.c >/dev/null 
2>conftest.out
configure:2604:23: soundcard.h: No such file or directory
configure: failed program was:
#line 2603 "configure"
#include "confdefs.h"
#include <soundcard.h>
configure:2636: checking for _oss_ioctl in -lossaudio
configure:2655: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c 
-lossaudio   1>&5
/usr/bin/ld: cannot find -lossaudio
collect2: ld returned 1 exit status
configure: failed program was:
#line 2644 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
char _oss_ioctl();

int main() {
_oss_ioctl()
; return 0; }
configure:2684: checking for sys/select.h
configure:2694: gcc -E -D_BSD_SOURCE   conftest.c >/dev/null 
2>conftest.out
configure:2684: checking for sys/timeb.h
configure:2694: gcc -E -D_BSD_SOURCE   conftest.c >/dev/null 
2>conftest.out
configure:2684: checking for sys/time.h
configure:2694: gcc -E -D_BSD_SOURCE   conftest.c >/dev/null 
2>conftest.out
configure:2684: checking for unistd.h
configure:2694: gcc -E -D_BSD_SOURCE   conftest.c >/dev/null 
2>conftest.out
configure:2684: checking for utime.h
configure:2694: gcc -E -D_BSD_SOURCE   conftest.c >/dev/null 
2>conftest.out
configure:2684: checking for linux/version.h
configure:2694: gcc -E -D_BSD_SOURCE   conftest.c >/dev/null 
2>conftest.out
configure:2684: checking for sys/systeminfo.h
configure:2694: gcc -E -D_BSD_SOURCE   conftest.c >/dev/null 
2>conftest.out
configure:2690:28: sys/systeminfo.h: No such file or directory
configure: failed program was:
#line 2689 "configure"
#include "confdefs.h"
#include <sys/systeminfo.h>
configure:2684: checking for termios.h
configure:2694: gcc -E -D_BSD_SOURCE   conftest.c >/dev/null 
2>conftest.out
configure:2684: checking for limits.h
configure:2694: gcc -E -D_BSD_SOURCE   conftest.c >/dev/null 
2>conftest.out
configure:2684: checking for string.h
configure:2694: gcc -E -D_BSD_SOURCE   conftest.c >/dev/null 
2>conftest.out
configure:2684: checking for stdlib.h
configure:2694: gcc -E -D_BSD_SOURCE   conftest.c >/dev/null 
2>conftest.out
configure:2684: checking for termcap.h
configure:2694: gcc -E -D_BSD_SOURCE   conftest.c >/dev/null 
2>conftest.out
configure:2684: checking for stdio_ext.h
configure:2694: gcc -E -D_BSD_SOURCE   conftest.c >/dev/null 
2>conftest.out
configure:2684: checking for fcntl.h
configure:2694: gcc -E -D_BSD_SOURCE   conftest.c >/dev/null 
2>conftest.out
configure:2684: checking for term.h
configure:2694: gcc -E -D_BSD_SOURCE   conftest.c >/dev/null 
2>conftest.out
configure:2684: checking for strings.h
configure:2694: gcc -E -D_BSD_SOURCE   conftest.c >/dev/null 
2>conftest.out
configure:2721: checking for ANSI C header files
configure:2734: gcc -E -D_BSD_SOURCE   conftest.c >/dev/null 
2>conftest.out
configure:2801: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c  1>&5
configure:2825: checking whether time.h and sys/time.h may both be 
included
configure:2839: gcc -c  -O2 -D_BSD_SOURCE   conftest.c 1>&5
configure:2860: checking for sys_siglist declaration in signal.h or 
unistd.h
configure:2877: gcc -c  -O2 -D_BSD_SOURCE   conftest.c 1>&5
configure: In function `main':
configure:2873: warning: initialization discards qualifiers from 
pointer target type
configure:2898: checking for sys/wait.h that is POSIX.1 compatible
configure:2919: gcc -c  -O2 -D_BSD_SOURCE   conftest.c 1>&5
configure:2941: checking for struct utimbuf
configure:2965: gcc -c  -O2 -D_BSD_SOURCE   conftest.c 1>&5
configure:2986: checking return type of signal handlers
configure:3008: gcc -c  -O2 -D_BSD_SOURCE   conftest.c 1>&5
configure:3028: checking for speed_t
configure:3040: gcc -c  -O2 -D_BSD_SOURCE   conftest.c 1>&5
configure:3061: checking for struct timeval
configure:3082: gcc -c  -O2 -D_BSD_SOURCE   conftest.c 1>&5
configure:3104: checking for struct exception
configure:3116: gcc -c  -O2 -D_BSD_SOURCE   conftest.c 1>&5
configure: In function `main':
configure:3112: storage size of `x' isn't known
configure:3112: storage size of `x' isn't known
configure: failed program was:
#line 3109 "configure"
#include "confdefs.h"
#include <math.h>
int main() {
static struct exception x; x.arg1 = x.arg2 = x.retval; x.name = ""; 
x.type = 1;
; return 0; }
configure:3138: checking whether struct tm is in sys/time.h or time.h
configure:3151: gcc -c  -O2 -D_BSD_SOURCE   conftest.c 1>&5
configure:3172: checking for tm_zone in struct tm
configure:3185: gcc -c  -O2 -D_BSD_SOURCE   conftest.c 1>&5
configure:3242: checking for tm_gmtoff in struct tm
configure:3254: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c  1>&5
configure:3276: checking for gcc option to accept ANSI C
configure:3327: gcc  -c  -O2 -D_BSD_SOURCE   conftest.c 1>&5
configure:3349: checking for function prototypes
configure:3361: checking for working volatile
configure:3375: gcc -c  -O2 -D_BSD_SOURCE   conftest.c 1>&5
configure:3396: checking for working const
configure:3450: gcc -c  -O2 -D_BSD_SOURCE   conftest.c 1>&5
configure:3471: checking for void * support
configure:3483: gcc -c  -O2 -D_BSD_SOURCE   conftest.c 1>&5
configure:3509: checking whether make sets ${MAKE}
configure:3537: checking for long file names
configure:3588: checking for X
configure:3655: gcc -E -D_BSD_SOURCE   conftest.c >/dev/null 
2>conftest.out
configure:3651:27: X11/Intrinsic.h: No such file or directory
configure: failed program was:
#line 3650 "configure"
#include "confdefs.h"
#include <X11/Intrinsic.h>
configure:3731: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c -lXt  
1>&5
/usr/bin/ld: cannot find -lXt
collect2: ld returned 1 exit status
configure: failed program was:
#line 3724 "configure"
#include "confdefs.h"

int main() {
XtMalloc()
; return 0; }
configure:3912: checking for malloc_get_state
configure:3940: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c  1>&5
configure:3961: checking for malloc_set_state
configure:3989: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c  1>&5
configure:4010: checking whether __after_morecore_hook exists
configure:4022: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c  1>&5
configure:4063: checking for stdlib.h
configure:4063: checking for unistd.h
configure:4063: checking for sys/stat.h
configure:4073: gcc -E -D_BSD_SOURCE   conftest.c >/dev/null 
2>conftest.out
configure:4102: checking for getpagesize
configure:4130: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c  1>&5
configure:4155: checking for working mmap
configure:4297: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c  1>&5
configure:4326: checking for dnet_ntoa in -ldnet
configure:4345: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c -ldnet 
    1>&5
/usr/bin/ld: cannot find -ldnet
collect2: ld returned 1 exit status
configure: failed program was:
#line 4334 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
char dnet_ntoa();

int main() {
dnet_ntoa()
; return 0; }
configure:4374: checking for main in -lXbsd
configure:4389: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c -lXbsd 
    1>&5
/usr/bin/ld: cannot find -lXbsd
collect2: ld returned 1 exit status
configure: failed program was:
#line 4382 "configure"
#include "confdefs.h"

int main() {
main()
; return 0; }
configure:4411: checking for cma_open in -lpthreads
configure:4430: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c 
-lpthreads    1>&5
/usr/bin/ld: cannot find -lpthreads
collect2: ld returned 1 exit status
configure: failed program was:
#line 4419 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
char cma_open();

int main() {
cma_open()
; return 0; }
configure:4459: checking for XFree86 in /usr/X386
configure:5643: checking whether netdb declares h_errno
configure:5655: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c   1>&5
configure:5678: checking for working alloca.h
configure:5690: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c   1>&5
configure:5711: checking for alloca
configure:5744: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c   1>&5
configure:5913: checking for sqrt in -lm
configure:5932: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c -lm    
1>&5
configure:5925: warning: conflicting types for built-in function `sqrt'
configure:5962: checking for maillock in -lmail
configure:5981: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c -lmail 
  -lm   1>&5
/usr/bin/ld: cannot find -lmail
collect2: ld returned 1 exit status
configure: failed program was:
#line 5970 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
char maillock();

int main() {
maillock()
; return 0; }
configure:6009: checking for maillock in -llockfile
configure:6028: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c 
-llockfile  -lm   1>&5
/usr/bin/ld: cannot find -llockfile
collect2: ld returned 1 exit status
configure: failed program was:
#line 6017 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
char maillock();

int main() {
maillock()
; return 0; }
configure:6062: checking for liblockfile.so
configure:6103: checking for touchlock
configure:6131: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c -lm   
1>&5
/tmp/cckCbjX2.o: In function `main':
/tmp/cckCbjX2.o(.text+0xa): undefined reference to `touchlock'
collect2: ld returned 1 exit status
configure: failed program was:
#line 6108 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char touchlock(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
char touchlock();

int main() {

/* The GNU C library defines this for functions which it implements
     to always fail with ENOSYS.  Some functions are actually named
     something starting with __ and the normal name is an alias.  */
#if defined (__stub_touchlock) || defined (__stub___touchlock)
choke me
#else
touchlock();
#endif

; return 0; }
configure:6159: checking for maillock.h
configure:6169: gcc -E -D_BSD_SOURCE   conftest.c >/dev/null 
2>conftest.out
configure:6165:22: maillock.h: No such file or directory
configure: failed program was:
#line 6164 "configure"
#include "confdefs.h"
#include <maillock.h>
configure:6205: checking for gethostname
configure:6233: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c -lm   
1>&5
configure:6205: checking for getdomainname
configure:6233: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c -lm   
1>&5
configure:6205: checking for dup2
configure:6233: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c -lm   
1>&5
configure:6205: checking for rename
configure:6233: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c -lm   
1>&5
configure:6205: checking for closedir
configure:6233: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c -lm   
1>&5
configure:6205: checking for mkdir
configure:6233: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c -lm   
1>&5
configure:6205: checking for rmdir
configure:6233: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c -lm   
1>&5
configure:6205: checking for sysinfo
configure:6233: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c -lm   
1>&5
configure:6205: checking for random
configure:6233: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c -lm   
1>&5
configure:6205: checking for lrand48
configure:6233: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c -lm   
1>&5
configure:6205: checking for bcopy
configure:6233: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c -lm   
1>&5
configure:6205: checking for bcmp
configure:6233: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c -lm   
1>&5
configure:6217: warning: conflicting types for built-in function `bcmp'
configure:6205: checking for logb
configure:6233: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c -lm   
1>&5
configure:6205: checking for frexp
configure:6233: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c -lm   
1>&5
configure:6205: checking for fmod
configure:6233: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c -lm   
1>&5
configure:6205: checking for rint
configure:6233: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c -lm   
1>&5
configure:6205: checking for cbrt
configure:6233: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c -lm   
1>&5
configure:6205: checking for ftime
configure:6233: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c -lm   
1>&5
configure:6205: checking for res_init
configure:6233: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c -lm   
1>&5
/tmp/ccG1jZKY.o: In function `main':
/tmp/ccG1jZKY.o(.text+0xa): undefined reference to `res_init'
collect2: ld returned 1 exit status
configure: failed program was:
#line 6210 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char res_init(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
char res_init();

int main() {

/* The GNU C library defines this for functions which it implements
     to always fail with ENOSYS.  Some functions are actually named
     something starting with __ and the normal name is an alias.  */
#if defined (__stub_res_init) || defined (__stub___res_init)
choke me
#else
res_init();
#endif

; return 0; }
configure:6205: checking for setsid
configure:6233: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c -lm   
1>&5
configure:6205: checking for strerror
configure:6233: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c -lm   
1>&5
configure:6205: checking for fpathconf
configure:6233: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c -lm   
1>&5
configure:6205: checking for select
configure:6233: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c -lm   
1>&5
configure:6205: checking for mktime
configure:6233: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c -lm   
1>&5
configure:6205: checking for euidaccess
configure:6233: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c -lm   
1>&5
configure:6205: checking for getpagesize
configure:6205: checking for tzset
configure:6233: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c -lm   
1>&5
configure:6205: checking for setlocale
configure:6233: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c -lm   
1>&5
configure:6205: checking for utimes
configure:6233: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c -lm   
1>&5
configure:6205: checking for setrlimit
configure:6233: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c -lm   
1>&5
configure:6205: checking for setpgid
configure:6233: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c -lm   
1>&5
configure:6205: checking for getcwd
configure:6233: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c -lm   
1>&5
configure:6205: checking for getwd
configure:6233: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c -lm   
1>&5
/tmp/ccLWJWUk.o: In function `main':
/tmp/ccLWJWUk.o(.text+0xa): the `getwd' function is dangerous and 
should not be used.
configure:6205: checking for shutdown
configure:6233: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c -lm   
1>&5
configure:6205: checking for strftime
configure:6233: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c -lm   
1>&5
configure:6205: checking for getaddrinfo
configure:6233: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c -lm   
1>&5
configure:6205: checking for __fpending
configure:6233: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c -lm   
1>&5
configure:6205: checking for mblen
configure:6233: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c -lm   
1>&5
configure:6205: checking for mbrlen
configure:6233: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c -lm   
1>&5
configure:6205: checking for strsignal
configure:6233: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c -lm   
1>&5
configure:6205: checking for setitimer
configure:6233: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c -lm   
1>&5
configure:6205: checking for ualarm
configure:6233: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c -lm   
1>&5
configure:6205: checking for index
configure:6233: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c -lm   
1>&5
configure:6217: warning: conflicting types for built-in function `index'
configure:6205: checking for rindex
configure:6233: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c -lm   
1>&5
configure:6217: warning: conflicting types for built-in function 
`rindex'
configure:6205: checking for gai_strerror
configure:6233: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c -lm   
1>&5
configure:6205: checking for mkstemp
configure:6233: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c -lm   
1>&5
configure:6262: checking for sys/time.h
configure:6262: checking for unistd.h
configure:6301: checking for alarm
configure:6329: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c -lm   
1>&5
configure:6354: checking for working mktime
configure:6511: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c -lm   
1>&5
configure:6541: checking for getloadavg
configure:6569: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c -lm   
1>&5
configure:6767: checking for getloadavg
configure:7122: checking whether getloadavg requires setgid
configure:7128:40: /opt/emacs-21.3/getloadavg.c: No such file or 
directory
configure:7179: checking for _LARGEFILE_SOURCE value needed for large 
files
configure:7192: gcc -c  -O2 -D_BSD_SOURCE   conftest.c 1>&5
configure: In function `main':
configure:7188: `fseeko' undeclared (first use in this function)
configure:7188: (Each undeclared identifier is reported only once
configure:7188: for each function it appears in.)
configure: failed program was:
#line 7185 "configure"
#include "confdefs.h"
#include <stdio.h>
int main() {
return !fseeko;
; return 0; }
configure:7208: gcc -c  -O2 -D_BSD_SOURCE   conftest.c 1>&5
configure:7232: checking for fseeko
configure:7245: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c -lm   
1>&5
configure:7267: checking for grantpt
configure:7295: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c -lm   
1>&5
configure:7324: checking for getpt
configure:7352: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c -lm   
1>&5
configure:7382: checking for tparm in -lncurses
configure:7401: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c 
-lncurses  -lm   1>&5
configure:8421: checking for dgettext in -lintl
configure:8440: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c -lintl 
  -lncurses -lm   1>&5
/usr/bin/ld: cannot find -lintl
collect2: ld returned 1 exit status
configure: failed program was:
#line 8429 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
char dgettext();

int main() {
dgettext()
; return 0; }
configure:8469: checking whether localtime caches TZ
configure:8511: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c 
-lncurses -lm   1>&5
configure:8541: checking for gettimeofday
configure:8569: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c 
-lncurses -lm   1>&5
configure:8594: checking whether gettimeofday can accept two arguments
configure:8617: gcc -c  -O2 -D_BSD_SOURCE   conftest.c 1>&5
configure:8640: checking for struct timezone
configure:8652: gcc -c  -O2 -D_BSD_SOURCE   conftest.c 1>&5
configure:8677: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c 
-lncurses -lm   1>&5
configure:8703: checking for socket
configure:8731: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c 
-lncurses -lm   1>&5
configure:8754: checking for netinet/in.h
configure:8764: gcc -E -D_BSD_SOURCE   conftest.c >/dev/null 
2>conftest.out
configure:8790: checking for arpa/inet.h
configure:8800: gcc -E -D_BSD_SOURCE   conftest.c >/dev/null 
2>conftest.out
configure:8838: checking whether system supports dynamic ptys
configure:8850: checking for pid_t
configure:8884: checking for vfork.h
configure:8894: gcc -E -D_BSD_SOURCE   conftest.c >/dev/null 
2>conftest.out
configure:8890:19: vfork.h: No such file or directory
configure: failed program was:
#line 8889 "configure"
#include "confdefs.h"
#include <vfork.h>
configure:8919: checking for working vfork
configure:9070: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c 
-lncurses -lm   1>&5
configure:9095: checking for size_t
</config.log>



here's verbose from ./configure:

<configure verbose>
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) 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... no
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 netdb declares h_errno... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for sqrt in -lm... yes
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... yes
checking for getdomainname... yes
checking for dup2... yes
checking for rename... yes
checking for closedir... yes
checking for mkdir... yes
checking for rmdir... yes
checking for sysinfo... yes
checking for random... yes
checking for lrand48... yes
checking for bcopy... yes
checking for bcmp... yes
checking for logb... yes
checking for frexp... yes
checking for fmod... yes
checking for rint... yes
checking for cbrt... yes
checking for ftime... yes
checking for res_init... no
checking for setsid... yes
checking for strerror... yes
checking for fpathconf... yes
checking for select... yes
checking for mktime... yes
checking for euidaccess... yes
checking for getpagesize... (cached) yes
checking for tzset... yes
checking for setlocale... yes
checking for utimes... yes
checking for setrlimit... yes
checking for setpgid... yes
checking for getcwd... yes
checking for getwd... yes
checking for shutdown... yes
checking for strftime... yes
checking for getaddrinfo... yes
checking for __fpending... yes
checking for mblen... yes
checking for mbrlen... yes
checking for strsignal... yes
checking for setitimer... yes
checking for ualarm... yes
checking for index... yes
checking for rindex... yes
checking for gai_strerror... yes
checking for mkstemp... yes
checking for sys/time.h... (cached) yes
checking for unistd.h... (cached) yes
checking for alarm... yes
checking for working mktime... yes
checking for getloadavg... yes
checking for getloadavg... (cached) yes
checking whether getloadavg requires setgid... no
checking for _LARGEFILE_SOURCE value needed for large files... 1
checking for fseeko... yes
checking for grantpt... yes
checking for getpt... yes
checking for tparm in -lncurses... yes
checking for dgettext in -lintl... no
checking whether localtime caches TZ... no
checking for gettimeofday... yes
checking whether gettimeofday can accept two arguments... yes
checking for struct timezone... yes
checking for socket... yes
checking for netinet/in.h... yes
checking for arpa/inet.h... yes
checking whether system supports dynamic ptys... yes
checking for pid_t... yes
checking for vfork.h... no
checking for working vfork... yes
checking for size_t... yes

Configured for `i686-pc-linux-gnu'.

   Where should the build process find the source code?    
/opt/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 -g -O2
   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?                    none
   What toolkit should Emacs use?                          none
   Where do we find X Windows header files?                NONE
   Where do we find X Windows libraries?                   NONE
   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

</configure verbose>


On Jun 12, 2004, at 12:37 PM, Kai Grossjohann wrote:

> Aaron Steele <asteele@berkeley.edu> writes:
>
>> checking for X... (cached) no
>
> The "cached" means that it remembered this option.  Remove
> config.cache to make it forget.  Then maybe another configure run
> will help.
>
> Kai
>
>
>
>
> _______________________________________________
> Help-gnu-emacs mailing list
> Help-gnu-emacs@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: emacs 21.3 with X support?
  2004-06-12 22:01       ` Aaron Steele
@ 2004-06-13  5:05         ` Eli Zaretskii
  2004-06-13 11:38         ` Kai Grossjohann
  1 sibling, 0 replies; 8+ messages in thread
From: Eli Zaretskii @ 2004-06-13  5:05 UTC (permalink / raw)


> From: Aaron Steele <asteele@berkeley.edu>
> Date: Sat, 12 Jun 2004 15:01:30 -0700
> 
> configure:3651:27: X11/Intrinsic.h: No such file or directory
> configure: failed program was:
> #line 3650 "configure"
> #include "confdefs.h"
> #include <X11/Intrinsic.h>

This means it couldn't find your X include files.  Where are they on
that system?

> configure:3731: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c -lXt  
> 1>&5
> /usr/bin/ld: cannot find -lXt
> collect2: ld returned 1 exit status
> configure: failed program was:
> #line 3724 "configure"
> #include "confdefs.h"
> 
> int main() {
> XtMalloc()
> ; return 0; }

And this says that the X toolkit library, libXt.so, could not be
found.  Where do you have that on your machine?

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: emacs 21.3 with X support?
  2004-06-12 22:01       ` Aaron Steele
  2004-06-13  5:05         ` Eli Zaretskii
@ 2004-06-13 11:38         ` Kai Grossjohann
  1 sibling, 0 replies; 8+ messages in thread
From: Kai Grossjohann @ 2004-06-13 11:38 UTC (permalink / raw)


Aaron Steele <asteele@berkeley.edu> writes:

> is this output more useful?

Well, I can see that it looked but couldn't find it.  But as I
already mentioned in another reply, you swapped the locations for the
libraries and for the include files.

If all of this doesn't help, you may have to install additional
packages.  For example, there are often *-dev or *-devel packages
that contain the header files.

But your configure run indicates that it couldn't even find the X11
library libXt, and without that library, X11 pretty much won't run.
So that is an indicator that configure was looking in the wrong place.

Kai

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2004-06-13 11:38 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-12 16:18 emacs 21.3 with X support? Aaron Steele
2004-06-12 17:20 ` Kai Grossjohann
2004-06-12 18:28 ` Eli Zaretskii
2004-06-12 17:47   ` Aaron Steele
2004-06-12 19:37     ` Kai Grossjohann
2004-06-12 22:01       ` Aaron Steele
2004-06-13  5:05         ` Eli Zaretskii
2004-06-13 11:38         ` Kai Grossjohann

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.