Article View: gnu.emacs.bug
Article #87770Emacs-19.25 Build Problems
From: Ralph Landry
Date: Wed, 31 Aug 1994 12:28
Date: Wed, 31 Aug 1994 12:28
56 lines
3055 bytes
3055 bytes
A build of GNU emacs-19.25 was done on the following platform: Sun Sparc 2 with 48 MB RAM, 1.8 GB HD SunOS 4.1.3 (GENERIC) #3: Mon Jul 27 16:43:54 PDT 1992 X11R6, patch level 04 GNU gcc-2.6.0 Motif window manager mwm Due to numerous problems with X11R6 interface, i.e., no one makes it clear that X11R6 on the Sun builds only dynamic libraries and emacs insists on static libraries, X was rebuilt three times to get an acceptable system for emacs. The first two rebuilds were with the Sun cc compiler, which refused to build the static libraries even when told to do so. Last, and working, build was with gcc-2.6.0. Added to the ../X11R6/xc/config/cf/site.def: uncomment HasGcc2 lines (3 lines) in #ifdef BeforeVendorCF section add in #ifdef AfterVendorCF section: #define ForceNormalLib YES #define SeparateSharedCompile YES uncomment #define PreIncDir and edit path to gcc-lib as appropriate GNU emacs configure was run as: ../emacs-19.25/configure sparc-sun-sunos4.1.3 --with-x11 --x-includes=DIR --x-libraries=DIR --with-x-toolkit --with-gcc --prefix=PREFIXDIR The ./src/config.h file was edited to include: #define HAVE_XRMSETDATABASE #define HAVE_XSCREENRESOURCESTRING #define HAVE_XSCREENNUMBEROFSCREEN #define HAVE_XSETWMPROTOCOLS The ./src/sysdep.c file was edited to include: #include <sys/utsname.h> This could have also been handled by #define HAVE_GETHOSTNAME being added to the config.h file. I did it by the sysdep.c edit. The build still failed due to undefined symbols for SMC and ICE. The config to build the Makefile did not pick up the definition for LIBXTR6 in the ./src/Makefile.in file. Had to add to the ./src/Makefile the line: LIBXTR6= -lICE -lSM Before the line for LIBXT= in the ...start of cpp stuff... section. Make was then run on the ./src subdirectory, and then make on the emacs-19.25 directory. Build was successful, and installation completed. All of these fixes were the results of numerous friends from around the world. The build on the Sun platform was not as straight forward as it was suppossed to be. Also, the X11R6 build instructions leave a lot to be desired, at least for the neophyte (I've only been doing this stuff for 30 years). GNU emacs-19.25 as now built is fantastic! Keep up the quality software.
Technical Details
Message-ID:
<9408311226.AA16148@nrr16.nrc.gov>Path:
arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!redstone.interpath.net!ddsw1!panix!MathWorks.Com!news.duke.edu!news-feed-1.peachnet.edu!gatech!howland.reston.ans.net!math.ohio-state.edu!pacific.mps.ohio-state.edu!cis.ohio-state.edu!nrc.gov!rrlShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb2f1,578b5d4c53d9939f,start X-Google-Attributes: gidfb2f1,public X-Google-ArrivalTime: 1994-08-31 05:32:48 PST Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!redstone.interpath.net!ddsw1!panix!MathWorks.Com!news.duke.edu!news-feed-1.peachnet.edu!gatech!howland.reston.ans.net!math.ohio-state.edu!pacific.mps.ohio-state.edu!cis.ohio-state.edu!nrc.gov!rrl From: rrl@nrc.gov (Ralph Landry) Newsgroups: gnu.emacs.bug Subject: Emacs-19.25 Build Problems Date: 31 Aug 1994 08:28:39 -0400 Organization: GNUs Not Usenet Lines: 56 Sender: daemon@cis.ohio-state.edu Approved: bug-gnu-emacs@prep.ai.mit.edu Distribution: gnu Message-ID: <9408311226.AA16148@nrr16.nrc.gov>