🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #87809

Emacs 19.25 / X11R6 / SunOS 4.1.3

#87809
From: Andy Gay
Date: Thu, 25 Aug 1994 18:14
34 lines
2248 bytes
I've seen a few notes here from folks having trouble making
19.25 on Sun sparc kit with X11R6.  I had the same problems,
but did get it built eventually by hacking the config.h 
that configure made.  I'll describe what I had to do, perhaps
that'll let others get it running and help the developers
fix whatever's wrong with configure.

1 - Unpack it all as usual and run configure (no arguments or
parameters).  Configure ran happily for me and found that I had
a sun with 4.1.3, gcc (2.5.8 in case that's relevant) and
X11R6 (patchlevel 4, installed in the default /usr/X11R6).

Running make failed as others have reported.  I found 2 places
where config.h needed to be amended - I had to #define
HAVE_XRMSETDATABASE and HAVE_XSCREENNUMBEROFSCREEN to make
xfns.c compile, and HAVE_GETHOSTNAME for sysdep.c.

(If anyone wants a copy of my working config.h send me a note).


2 - In my setup the link also failed because it wanted to link
with the static libX11.a, the default X11R6 build on this
system only makes a dynamic lib (libX11.so.4.20).  I had to
rebuild X11 after setting
#define ForceNormalLib YES
#define SeparateSharedCompile YES
in site.def (after #ifdef AfterVendorCF) to get the static libs.

After that it all worked fine(!).
Note to the developers:  is the static linking intentional or
could emacs use the shared libs?

BTW - The effort involved in getting it running was well worth
while - this is an excellent product.
Technical Details
Message-ID: <33imvd$9p@tiger.rdl.co.uk>
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!redstone.interpath.net!ddsw1!panix!MathWorks.Com!europa.eng.gtefsd.com!howland.reston.ans.net!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!rdl.co.uk!andy

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,f3a8672652f31abd,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1994-08-25 11:25:57 PST
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!redstone.interpath.net!ddsw1!panix!MathWorks.Com!europa.eng.gtefsd.com!howland.reston.ans.net!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!rdl.co.uk!andy
From: andy@rdl.co.uk (Andy Gay)
Newsgroups: gnu.emacs.bug
Subject: Emacs 19.25 / X11R6 / SunOS 4.1.3
Date: 25 Aug 1994 14:14:48 -0400
Organization: Racal-Datacom Ltd, Hook, Hants, UK
Lines: 34
Sender: daemon@cis.ohio-state.edu
Approved: bug-gnu-emacs@prep.ai.mit.edu
Distribution: gnu
Message-ID: <33imvd$9p@tiger.rdl.co.uk>
Summary: How I made it work
Keywords: emacs x11 x11r6