🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #1910

Re: emacs 18.59 on SCO/ODT 1.1

#1910
From: William Smith
Date: Thu, 10 Dec 1992 22:44
54 lines
2626 bytes
jcasey@netcom.com (John Casey) writes:

>I am running SCO ODT 1.1 sV3.2.2.  I have emacs 18.55.8, 
>gcc-2.2.2, gdb-4.6 and all are running fine.   I downloaded emacs 18.59
>and build it.  Aside from some minor problems (see below), it built fine. 
>When I run it, either in X windows or ansi console, the following happens:

>"select error: Invalid argument"

   To properly build 18.59 on a SCO ODT system with TCP/IP and X Windows
installed you should have the following lines as part of your config.h file.

#define HAVE_X11
#define SCO_SOCKETS
#include "s-sco3-2-2.h"
#include "m-intel386.h"

#define HAVE_X_WINDOWS

   The problem Mr Casey is having is actually a bogus select() in the standard
C library.  The follow new s-sco3-2-2.h file prevents the stand library select
call from being used when HAVE_X11 and SCO_SOCKETS are not defined.

----------start s-sco3-2-2.h--------

/* Support SCO V 3.2.2 (also called Open Desk Top 1.1) */

#include "s-sco.h"

#if !defined(SCO_SOCKETS) && !defined(HAVE_X11)
#undef HAVE_SELECT  /* select() in standard C lib broken */
#endif

#ifdef HAVE_X11
/* Use Xselect instead of XSelect.  */
#undef select
#define select Xselect

/* This version was before random and srandom were added to libX11.a.  */
#undef HAVE_RANDOM

/* We don't have XrmDestroyDatabase in this version.  */
#define NO_X_DESTROY_DATABASE

/* Note: on ODT version 1.0, you need #undef BSTRING.  */

#endif /* HAVE_X11 */

---------end s-sco3-2-2.h ------
-- 
/*-------------------------------------------------------------------------
   William J. Smith, Wang Labs M/S 019-72B, 1 Industrial Ave      
   Lowell, MA 01851-5161,  (508) 967-6901, email: wjs@wiis.wang.com
--------------------------------------------------------------------------*/
Technical Details
Message-ID: <Bz2F64.M1z@wang.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!snorkelwacker.mit.edu!ai-lab!prep.ai.mit.edu!gnulists
References: <1992Dec7.093145.7820@netcom.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1122ea,6510ca4435947701
X-Google-Attributes: gid1122ea,public
X-Google-Thread: fb2f1,6510ca4435947701
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1992-12-11 09:38:45 PST
X-Mailer: SCO System V Mail (version 3.2)
To: uunet!gnu-emacs-bug@uunet.uu.net
Distribution: world
Approved: info-gnu@prep.ai.mit.edu
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!snorkelwacker.mit.edu!ai-lab!prep.ai.mit.edu!gnulists
Followup-To: gnu.emacs.bug,biz.sco.general
Newsgroups: gnu.emacs.bug,biz.sco.general
From: wjs@wang.com (William Smith)
Subject: Re: emacs 18.59 on SCO/ODT 1.1
Organization: Wang Labs, Lowell MA, USA
Date: Thu, 10 Dec 1992 22:44:27 GMT
Message-ID: <Bz2F64.M1z@wang.com>
References: <1992Dec7.093145.7820@netcom.com>
Lines: 55