From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: dkcombs@panix.com (David Combs) Newsgroups: gmane.emacs.help Subject: Re: Has anyone actually built emacs 21.3 for SOLARIS (sparc)? Date: Tue, 3 Jun 2003 07:09:16 +0000 (UTC) Organization: Public Access Networks Corp. Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1054624350 25000 80.91.224.249 (3 Jun 2003 07:12:30 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 3 Jun 2003 07:12:30 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 03 09:12:28 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19N5y8-0006V3-00 for ; Tue, 03 Jun 2003 09:12:28 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19N5wd-0002qt-HS for gnu-help-gnu-emacs@m.gmane.org; Tue, 03 Jun 2003 03:10:55 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!panix!not-for-mail Original-Newsgroups: gnu.emacs.help,comp.unix.solaris Original-Lines: 154 Original-NNTP-Posting-Host: panix1.panix.com Original-X-Trace: reader1.panix.com 1054624156 10125 166.84.1.1 (3 Jun 2003 07:09:16 GMT) Original-X-Complaints-To: abuse@panix.com Original-NNTP-Posting-Date: Tue, 3 Jun 2003 07:09:16 +0000 (UTC) X-Newsreader: trn 4.0-test74 (May 26, 2000) Originator: dkcombs@panix.com (David Combs) Original-Xref: shelby.stanford.edu gnu.emacs.help:114017 comp.unix.solaris:444100 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:10511 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:10511 In article , Dave Uhring wrote: >On Mon, 26 May 2003 22:49:58 +0000, David Combs wrote: > >> The "and I no longer have /opt/sfw." -- how did that dissappear? >> Presumably not via "and all it's dependencies", but by >> deliberate pkgrm of everything there, and then rm -r of /opt/sfw. > >pkgrm; rm -r > > >> But why? There's a HUGE amount of software in /opt/sfw? > >Only if you put it there. I did not. I installed SFWgcc in order to be >able to build gcc-3.2.2. Once I had gcc-3.2.2 installed I had no more use >for /opt/sfw. > >Libraries compiled with gcc-2.95.3 are incompatible with binaries built >with gcc-3.2.2, and I cannot afford the license for Sun's compilers. What came compiled with gcc-3.2.2? Anything supplied by Sun -- including in that companion-cd? I finally managed, yesterday, to get emacs built, and I had to add opt/sfw/bin to path, and likewise for the ldflags for the -L and -R pair. Here -- I'll include what I just got through saying to someone else in this thread: ----------------------- start: Finally, just yesterday, using Uhring's ideas and sample .cshrc, I got it built, Whew! I used this for LDPATH [sic: LDFLAGS}: setenv LDFLAGS '-L/usr/openwin/lib -R/usr/openwin/lib -L/usr/sfw/lib -R/usr/sfw/lib -L/opt/sfw/lib -R/opt/sfw/lib' (One long line; didn't like the \-continuation -- the stuff on the continuation-line never got into the Makefile, and also got a sed-error somewhere. My setup must be different from his; he didn't need the /opt/-stuff either, but for me, gcc was there.) ------------------------ end. Also this: set path=(/sbin /usr/sbin /usr/bin /usr/dt/bin /usr/sfw/bin \ /usr/openwin/bin /usr/ccs/bin /opt/sfw/bin) ie, yours plus the opt, for gcc. > >> What sfw-stuff would you then have on your PATH and LDFLAGS? >> Both of them -- every /usr/sfw/... would perhaps be paired with >> a /opt/sfw/...? > >/opt/sfw does not exist. Oh yes it does. During 9's installation, I must have answered some question differently from you. >You have my PATH in the .bashrc file which I >sent you. For others it is: > >[duhring]$ echo $PATH >/sbin:/usr/bin:/usr/sbin:/usr/dt/bin:/usr/openwin/bin:/usr/sfw/bin: >/usr/sfw/sbin:/opt/kde/bin:/usr/ccs/bin: >/usr/sfw/share/texmf/bin:/usr/sfw/netpbm/bin:/usr/ucb > > >[duhring]$ ls /opt >Acrobat5 OpenOffice RealPlayer8 SUNWits SUNWmlib SUNWrtvc build >kde lost+found mozilla qt3 source temp tmp Geez -- for me, it's: cpml$ ls /opt SUNWits SUNWrtvc SUNWsdocs SUNWspci2 lost+found sfw sun_docs cpml$ cpml$ cd /opt/sfw cpml$ ls GNUstep cups include libexec sbin src LessTif doc info man share var READMEs docs kde mysql sparc-sun-solaris2.9 vnc bin etc lib netpbm squid cpml$ ls bin .xmcd_start esdmon ggraph gslj mogrify slrn ASSound esdplay ggrn gslp montage slrnpull Animate esdrec ggroups gsnd mpack snort Audio esdsample ghead gsoelim mpage sortm Banner etags ghostid gsort mpg123 sox CDE2Xfcepal ethereal ghostname gspline msgchk soxmix Cascade eview ghostview gsplit msgcmp sparc-sun-solaris2.9-gcc esdctl gfold gshred mlock show esdfilt ggasp gsize mmroff sliceprint esdloop ggprof gsleep moc slptool cpml$ ls sbin bgpd in.proftpd ipop3d pftpcount pftpwho ripd tcpdump zebra imapd ipop2d ospfd pftpshut proftpd slpd visudo cpml$ cd /usr/sfw cpml$ ls bin doc include info lib libexec man sbin share src swat cpml$ ls bin ant gfgrep jpegtran ncftpget rgb2ycbcr smbtar tiff2bw tiffmedian antRun ggrep make_printerdef ncftpls rpcclient tclsh8.3 tiff2ps tiffsplit cjpeg gif2tiff make_smbcodepage ncftpput smbcacls testparm tiff2rgba wget convert_smbpasswd glib-config make_unicodemap nmblookup smbclient testprns tiffcmp wish8.3 djpeg gtar makeinfo pal2rgb smbcontrol texi2dvi tiffcp wrjpgcom fax2ps gtk-config ncftp ppm2tiff smbpasswd texi2html tiffdither fax2tiff info ncftpbatch ras2tiff smbspool texindex tiffdump gegrep install-info ncftpbookmarks rdjpgcom smbstatus thumbnail tiffinfo cpml$ ls sbin nmbd safe_finger smbd swat tcpd tcpdchk tcpdmatch try-from cpml$ > > >>>I built emacs-21.3 again and saved all of the output of the configure >>>script and make and will send it to you via email. Perhaps you can see >>>from that where your problems lie. >>> > >You will see from the 3 files which I sent you that emacs can indeed be >built on Solaris 9 SPARC. No way in hell I could be bothered to fake all >that ;-) > Looks like I really screwed up where I got things placed during initial install. Even though I had sun-service on the phone while I did it! Turns out that I'm getting some of the same problems I got with 21.2.1 -- I'll have to play with it with both of them with -q and --no-site-file. Well, THANK YOU FOR ALL THE HELP! David