Emacs 19.28 on SS1000/Sol 2.3

Emacs 19.28 on SS1000/Sol 2.3

Post by Soubyran Richa » Tue, 30 May 1995 04:00:00



Hello Solaris people!

Has any of you been succesful in installing emacs 19.28 on solaris
2.3 yet? I am configuring it this way:

starbase# ./configure --with-x-toolkit --with-x
- You did not tell me what kind of host system you want to
configure.
- I will attempt to guess the kind of system this is.
- Looks like this is a sparc-sun-solaris2.3
Checking the configuration name
checking for gcc
checking for ln -s
checking how to run the C preprocessor
checking for a BSD compatible install
checking for bison
checking for byacc
checking for sys/timeb.h
checking for sys/time.h
checking for unistd.h
checking for ANSI C header files
checking for whether time.h and sys/time.h may both be included
checking for sys_siglist declaration in signal.h or unistd.h
checking for return type of signal handlers
checking for struct tm in time.h
checking for tm_zone in struct tm
checking for tzname
checking for lack of working const
checking for long file names
checking for specified window system
checking for X include and library files with xmkmf
checking for X include and library files directly
checking for -lXt
  Using X11.
  Using Xt toolkit.
examining 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
checking for -lXbsd
checking for XFree86
checking for XrmSetDatabase
checking for XScreenResourceString
checking for XScreenNumberOfScreen
checking for XSetWMProtocols
checking for X11 version
checking for X11 toolkit version
checking for declaration of h_errno in netdb.h
checking for working alloca.h
checking for alloca
checking for -lm
checking for gettimeofday
checking for gethostname
checking for dup2
checking for rename
checking for closedir
checking for mkdir
checking for rmdir
checking for random
checking for lrand48
checking for bcopy
checking for bcmp
checking for logb
checking for frexp
checking for fmod
checking for drem
checking for ftime
checking for res_init
checking for setsid
checking for strerror
checking for fpathconf
checking for socket
checking for netinet/in.h
checking for arpa/inet.h

Configured for `sparc-sun-solaris2.3'.

  Where should the build process find the source code?
/tmp/t/emacs-19.28
  What operating system and machine description files should Emacs
use?
        `s/sol2-3.h' and `m/sparc.h'
  What compiler should emacs be built with?               cc -g
  Should Emacs use the GNU version of malloc?             yes
  Should Emacs use the relocating allocator for buffers?  yes
  What window system should Emacs use?                    x11
  What toolkit should Emacs use?                          LUCID
  Where do we find X Windows header files?
/usr/openwin/include
  Where do we find X Windows libraries?
/usr/openwin/lib

creating config.status
creating Makefile
creating lib-src/Makefile.in
creating oldXMenu/Makefile
creating lwlib/Makefile
creating src/Makefile.in
creating src/config.h
creating lib-src/Makefile
creating src/Makefile
starbase# make all

<snip-snip-snip>

cc -c  -Demacs -DHAVE_CONFIG_H  -I. -I/tmp/t/emacs-19.28/src  -Xs -I/usr/openwin/include   -g emacs.c
"/usr/ucbinclude/sys/ioctl.h", line 77: macro ECHO redefines previous macro at "/usr/include/sys/termios.h", line 260
"/usr/ucbinclude/sys/ioctl.h", line 84: macro NL0 redefines previous macro at "/usr/include/sys/termios.h", line 199
"/usr/ucbinclude/sys/ioctl.h", line 85: macro NL1 redefines previous macro at "/usr/include/sys/termios.h", line 200
"/usr/ucbinclude/sys/ioctl.h", line 89: macro TAB0 redefines previous macro at "/usr/include/sys/termios.h", line 207
"/usr/ucbinclude/sys/ioctl.h", line 90: macro TAB1 redefines previous macro at "/usr/include/sys/termios.h", line 208
"/usr/ucbinclude/sys/ioctl.h", line 91: macro TAB2 redefines previous macro at "/usr/include/sys/termios.h", line 209
"/usr/ucbinclude/sys/ioctl.h", line 92: macro XTABS redefines previous macro at "/usr/include/sys/termios.h", line 213
"/usr/ucbinclude/sys/ioctl.h", line 94: macro CR0 redefines previous macro at "/usr/include/sys/termios.h", line 202
"/usr/ucbinclude/sys/ioctl.h", line 95: macro CR1 redefines previous macro at "/usr/include/sys/termios.h", line 203
"/usr/ucbinclude/sys/ioctl.h", line 96: macro CR2 redefines previous macro at "/usr/include/sys/termios.h", line 204
"/usr/ucbinclude/sys/ioctl.h", line 97: macro CR3 redefines previous macro at "/usr/include/sys/termios.h", line 205
"/usr/ucbinclude/sys/ioctl.h", line 99: macro FF0 redefines previous macro at "/usr/include/sys/termios.h", line 223
"/usr/ucbinclude/sys/ioctl.h", line 100: macro FF1 redefines previous macro at "/usr/include/sys/termios.h", line 224
"/usr/ucbinclude/sys/ioctl.h", line 102: macro BS0 redefines previous macro at "/usr/include/sys/termios.h", line 217
"/usr/ucbinclude/sys/ioctl.h", line 103: macro BS1 redefines previous macro at "/usr/include/sys/termios.h", line 218
"/usr/ucbinclude/sys/ioctl.h", line 112: macro TOSTOP redefines previous macro at "/usr/include/sys/termios.h", line 265
"/usr/ucbinclude/sys/ioctl.h", line 113: macro FLUSHO redefines previous macro at "/usr/include/sys/termios.h", line 271
"/usr/ucbinclude/sys/ioctl.h", line 119: macro PENDIN redefines previous macro at "/usr/include/sys/termios.h", line 272
"/usr/ucbinclude/sys/ioctl.h", line 121: macro NOFLSH redefines previous macro at "/usr/include/sys/termios.h", line 264
"emacs.c", line 166: argument #1 is incompatible with prototype:
        prototype: struct {array[4] of ulong __sigbits} : "./syssignal.h", line 66
        argument : int
*** Error code 2
make: Fatal error: Command failed for target `emacs.o'
Current working directory /tmp/t/emacs-19.28/src
*** Error code 1
make: Fatal error: Command failed for target `src'

Any hint would be appreciated!

Thanks in advance!

Richard

 
 
 

Emacs 19.28 on SS1000/Sol 2.3

Post by Casper H.S. Dik - Network Security Engine » Wed, 31 May 1995 04:00:00



>Has any of you been succesful in installing emacs 19.28 on solaris
>2.3 yet? I am configuring it this way:
>starbase# ./configure --with-x-toolkit --with-x
>- You did not tell me what kind of host system you want to
>cc -c  -Demacs -DHAVE_CONFIG_H  -I. -I/tmp/t/emacs-19.28/src  -Xs -I/usr/openwin/include   -g emacs.c
>"/usr/ucbinclude/sys/ioctl.h", line 77: macro ECHO redefines previous macro at "/usr/include/sys/termios.h", line 260

You're using /usr/ucb/cc.  All free software packages I have compiled
on Solaris 2.x required using native cc (or gcc, which also is native).

Put /usr/ucb in your PATH after /usr/ccs/bin and /opt/SUNWspro/bin.
Make that cahnge permanent by editing your .* files.

After that, you'd better reconfigure and then the built should go
without a hitch.

Casper
--
Expressed in this posting are my opinions.  They are in no way related
to opinions held by my employer, Sun Microsystems.

 
 
 

Emacs 19.28 on SS1000/Sol 2.3

Post by Joep Vesse » Wed, 31 May 1995 04:00:00



>Hello Solaris people!
>Has any of you been succesful in installing emacs 19.28 on solaris
>2.3 yet? I am configuring it this way:
>starbase# ./configure --with-x-toolkit --with-x

I just built emacs-19.28 on Solaris 2.4. I configured it with

 $ ./configure --prefix=/opt/gnu sparc-sun-solaris2

and compiled it with gcc. Worked fine.

Joep.

 
 
 

Emacs 19.28 on SS1000/Sol 2.3

Post by Brent Burt » Fri, 02 Jun 1995 04:00:00


| >Has any of you been succesful in installing emacs 19.28 on solaris
| >2.3 yet? I am configuring it this way:
|
| I just built emacs-19.28 on Solaris 2.4. I configured it with
|  $ ./configure --prefix=/opt/gnu sparc-sun-solaris2
| and compiled it with gcc. Worked fine.

I just tried that, and while emacs certainly builds, it does not
run correctly (try dired, for example).

I believe Sun is the culprit here - they really screwed some things
up with Solaris 2.4.

-Brent

--
------------------------------------------------------------------------

 
 
 

Emacs 19.28 on SS1000/Sol 2.3

Post by Casper H.S. D » Sat, 03 Jun 1995 04:00:00




>| >Has any of you been succesful in installing emacs 19.28 on solaris
>| >2.3 yet? I am configuring it this way:
>|
>| I just built emacs-19.28 on Solaris 2.4. I configured it with
>|  $ ./configure --prefix=/opt/gnu sparc-sun-solaris2
>| and compiled it with gcc. Worked fine.
>I just tried that, and while emacs certainly builds, it does not
>run correctly (try dired, for example).
>I believe Sun is the culprit here - they really screwed some things
>up with Solaris 2.4.

No, you compiled/and or linked with some stuff from /usr/ucb*
Remove /usr/ucb from your PATH when configuring/installing software from
the net.

If dired is broken, the following probably is applicable:

The solaris FAQ says:

6.16) Why doesn't readdir work?  It chops the first two characters of
    all filenames.

    You're probably linking with libucb and didn't read question
    6.15.  (Readdir in libucb.so wants you to include sys/dir.h,
    but many SunOS 4.1.x programs included <dirent.h>, consequently,
    you're mixing native <dirent.h> struct dirent with libucb
    readdir().  The symptom of this mixup is that the first two
    characters of each filename are missing.  Make sure you use the
    native compiler (default /opt/SUNWspro/bin/cc, which may not be in
    your PATH), and not /usr/ucb/cc.

    --- end of excerpt from the FAQ

Questions marked with a * or + have been changed or added since
the FAQ was last posted

The most recently posted version of the FAQ is available from
ftp.fwi.uva.nl in directory /pub/solaris
--
Casper Dik - Network Security Engineer - Sun Microsystems
This article is posted from my guest account at the University

Opinions expressed here are mine (but you're welcome to share them with me)

 
 
 

1. Can emacs 19.28 or Mule 2.3 compiled on ELF System ?

I cannot get bineris from emacs 19.28 or mule 2.3 sources on
my Slackware 3.0 (ELF) System.
Anybody got information on how to make ELF binaries from emacs
19.28 sources ?
Thanks in advance.

--
Lee Sang Eon
Public Health Doctor
Seoul, KOREA
Ph: +82-2-651-7191

2. Ultra 1 & 2 Hardware Question

3. Kernel panic with ksh (ln -s) in Sol 2.3 on SS1000

4. xterm default font

5. Sol 2.3 to Sol 2.3 5/94 UPGRADE ?

6. Apache 1.3.1 and shared object support

7. emacs 19.28 hangs under Solaris 2.4

8. print problem

9. NEED: patch to emacs 19.28 to compile under ELF libs.

10. Has anyone compiled Emacs 19.28?

11. gnu emacs 19.28/linux 1.1.73/X86Free-3.1: cursor is opaque

12. Emacs 19.28 on sunsite.

13. Emacs 19.28 under X