Emacs 19.34 problems compiling in Linux

Emacs 19.34 problems compiling in Linux

Post by Andreas Ortmann Jaunse » Fri, 25 Oct 1996 04:00:00



Hello,

I installed the latest emacs 19.34 source code tree on
my linux-i586 system (Linux 2.1.5) but I am unable to get
support for X11 when running the configure script (which
I have enclosed below) for some strange reason....any clues
recieved with thanks !!

Ciao,
Andreas

[ test.txt 4K ]
Script started on Thu Oct 24 17:59:25 1996

loading cache ./config.cache
checking host system type... i586-pc-linux-gnu
checking for gcc... (cached) gcc
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/ginstall -c
checking for bison... no
checking for byacc... no
checking for AIX... no
checking for sys/select.h... (cached) no
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) no
checking whether cross-compiling... (cached) no
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 struct utimbuf... yes
checking return type of signal handlers... (cached) void
checking for struct timeval... yes
checking whether struct tm is in sys/time.h or time.h... (cached) time.h
checking for tm_zone in struct tm... (cached) no
checking for tzname... (cached) yes
checking for working const... (cached) yes
checking whether make sets ${MAKE}... (cached) yes
checking for long file names... (cached) yes
checking for X... (cached) 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 -ldnet... (cached) no
checking for -lXbsd... (cached) no
checking for -lpthreads... (cached) no
checking for XFree86... yes
checking whether netdb declares h_errno... yes
checking for working alloca.h... (cached) yes
checking for alloca... (cached) yes
checking for -lm... (cached) yes
checking for gettimeofday... (cached) yes
checking for gethostname... (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 random... (cached) yes
checking for lrand48... (cached) yes
checking for bcopy... (cached) yes
checking for bcmp... (cached) yes
checking for logb... (cached) no
checking for frexp... (cached) yes
checking for fmod... (cached) yes
checking for ftime... (cached) yes
checking for res_init... (cached) yes
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) no
checking for getpagesize... (cached) yes
checking for tzset... (cached) yes
checking for setlocale... (cached) yes
checking for -lncurses... (cached) yes
checking whether localtime caches TZ... (cached) yes
checking whether gettimeofday can't accept two arguments... no
checking for socket... (cached) yes
checking for netinet/in.h... (cached) yes
checking for arpa/inet.h... (cached) yes

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

  Where should the build process find the source code?    /usr/src/emacs-19.34
  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 -O
  Should Emacs use the GNU version of malloc?             yes
  Should Emacs use the relocating allocator for buffers?  yes
  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

creating ./config.status
creating Makefile
creating lib-src/Makefile.c
creating oldXMenu/Makefile
creating man/Makefile
creating lwlib/Makefile
creating src/Makefile.c
creating src/config.h
creating lib-src/Makefile
creating src/Makefile
neru:/usr/src/emacs-19.34# exit
exit

Script done on Thu Oct 24 18:00:14 1996

 
 
 

Emacs 19.34 problems compiling in Linux

Post by Harald Melan » Fri, 25 Oct 1996 04:00:00




|  I installed the latest emacs 19.34 source code tree on
|  my linux-i586 system (Linux 2.1.5) but I am unable to get
|  support for X11 when running the configure script (which
|  I have enclosed below) for some strange reason....any clues
|  recieved with thanks !!

The output you have enclosed indicates that this is not the first time
you have run 'configure' in this directory -- the first time it gets
run, it creates a file calles config.cache.  This file is used when
running 'configure' later (with different commandline options) to
avoid probing for various features in your system on every run,
thereby speeding it up.  If you know about this, and this is _not_
what's causing the problem in your case, please disregard the rest of
this post.

It's possible that the first time you ran 'configure', you messed up
:)  If you used the option "--with-x=no", I believe that choice would
be cached for later runs; also, if you ran on a non-X terminal, it's
possible configure didn't detect X correctly on this first run, and
still suffers from it's mistake.

Try this when running X (i.e. from an xterm):

$ cd /usr/src/emacs-19.34
$ rm config.cache
$ configure

And see if it works better now.  You may also have to play with the
options "--x-includes=DIR" and "--x-libraries=DIR", and
"--with-x-toolkit=TOOLKIT" if you want the menus to look more
attractive.

For further reading, check out the file INSTALL you should have in
your /usr/src/emacs-19.34 directory (This file, of course, is the one
anyone trying to build Emacs supposedly should have read already).
--
Harald Meland                   "FABRICATI DIEM, PVNC"
                                  -- (Terry Pratchett, Guards! Guards!)

 
 
 

1. Problems compiling emacs 19.34 on Solaris 2.6

hi, i'm trying to compile emacs on Solaris 2.6 (having never been
happy with "package" releases)

anyway, following the directions included with the package, i ran the
configure script with these options

# ./configure sparc-sun-solaris2.6 --with-gcc --with-x=no

and everything went fine. the makefile was sucessfully built. the next
step should be 'make', but this is where things fail. the output is
below. has anyone figured out why this doesn't work?

# /usr/ccs/bin/make
Producing `src/paths.h' from `src/paths.in'.
src/paths.h is unchanged
cd lib-src; make all  \
  CC='gcc' CFLAGS='-g -O' CPPFLAGS='' \
  LDFLAGS='' MAKE='make'
gcc -DHAVE_CONFIG_H    -I. -I../src -I/downloads/emacs-19.34/lib-src
-I/downloads/emacs-19.34/lib-src/../src   -g -O
/downloads/emacs-19.34/lib-src/profile.c -lsocket -lnsl -lelf -lkvm -o
profile
/downloads/emacs-19.34/lib-src/profile.c: In function `gettimeofday':
/downloads/emacs-19.34/lib-src/profile.c:71: argument `tzp' doesn't
match prototype
/usr/include/sys/time.h:389: prototype declaration
*** Error code 1
make: Fatal error: Command failed for target `profile'
Current working directory /downloads/emacs-19.34/lib-src
*** Error code 1
make: Fatal error: Command failed for target `lib-src'

--

( =--
 Ben                               |     :Speed:

 http://www.skidmore.edu/~brunning | .FlyingSaucers.
 - How to screw with a Macintosh: www.machacks.com -
                                                --= )

--

( =--
 Ben                               |     :Speed:

 http://www.skidmore.edu/~brunning | .FlyingSaucers.
 - How to screw with a Macintosh: www.machacks.com -
                                                --= )

2. Diamond Stealth 64 964Chip Black Screen

3. Emacs 19.34 compile problem: getpagesize

4. Getting the original return result when using tee

5. compiling emacs 19.34 on glibc2 Linux machines

6. FYI: Linux on DEC Alphas

7. RedHat's Emacs 19.34: h_errno_ problem

8. Looking for compatable FreeBSD servers

9. A problem installing emacs 19.34

10. networking problem with emacs 19.34, RH 4.2, AFS

11. Emacs 19.34 on linux 2.2.15

12. ssh/emacs 19.34 on Solaris/XF863.2A combo kills X server

13. Emacs 19.34