Article View: news.software.readers
Article #15165Re: Problems compiling trn 3.6 on SunOS 5.3
From: Tim Pierce
Date: Thu, 09 Feb 1995 16:40
Date: Thu, 09 Feb 1995 16:40
243 lines
6167 bytes
6167 bytes
In article <3h7djf$106@cri.ens-lyon.fr>, Sebastien Blondeel <sblondee@ens-lyon.fr> wrote: >Has anyone been able to compile trn on his own on a Solaris system? >I answered several times as weel as I could to the lot of questions >asked in the Configure script to find myself with error messages while >trying to compile art.c (improper pointer/integer combinations, ...), >whatever the compiler is (/opt/SUNWspro/bin/cc, gcc, or /usr/ucb/cc). A list of the actual error messages received is almost invariably helpful here. My best guess is that your compiler is using a set of include files that don't match those that trn is expecting, and use K&R-style declarations rather than ANSI C, but that's only a guess. I have had no trouble compiling trn 3.6 under Solaris 2.3. Here's the config.sh I used; it may help you, but it may not, and in any case you will need to change many of the system-specific defaults. #!/bin/sh # # This file was produced by running the Configure script. It holds all the # definitions figured out by Configure. Should you modify one of these values, # do not forget to propagate your changes by running "Configure -der". You may # instead choose to run each of the .SH files by yourself, or "Configure -S". # # Configuration time: Wed Feb 8 17:49:07 CST 1995 # Configured by: twpierce # Target system: sunos bio-5 5.3 generic_patch sun4m sparc d_bsd='undef' d_eunice='undef' d_xenix='undef' eunicefix=':' Mcc='Mcc' awk='awk' basename='basename' bash='bash' cat='cat' cp='cp' cpp='cpp' csh='csh' date='date' diff='diff' echo='echo' ed='ed' egrep='egrep' expr='expr' grep='grep' inews='inews' ispell='ispell' ksh='ksh' less='less' lint='' mail='mail' metamail='metamail' mhn='mhn' mkdir='mkdir' more='more' munpack='munpack' mv='mv' nroff='nroff' pg='pg' rm='rm' rmail='rmail' sed='sed' sendmail='sendmail' smail='smail' sort='sort' spell='spell' tail='tail' test='test' tr='tr' uname='uname' uniq='uniq' uuname='uuname' vi='vi' vspell='' who='' hint='previous' myuname='sunos bio-5 5.3 generic_patch sun4m sparc ' srcdir='.' vincludes='' vpath='.' Id='$Id' Log='$Log' active='none' acttimes='nntp' d_acttimes='define' myactive='.falseactive' bin='/opt/bin' binexp='/opt/bin' installbin='/opt/bin' cc='gcc' ccflags='' cppflags='' ldflags='' lkflags='' optimize='-O' cf_by='twpierce' cf_time='Wed Feb 8 17:49:07 CST 1995' contains='grep' cpplast='-' cppminus='-' cpprun='gcc -E' cppstdin='gcc -E' d_ftime='undef' aphostcmd='' d_gethname='undef' d_phostcmd='undef' d_uname='undef' d_getpwent='define' d_getcwd='define' d_getwd='undef' d_havetlib='define' termlib='-lcurses' d_ignoreorg='undef' d_internet='define' d_memcmp='define' d_memcpy='define' d_memset='define' d_mimeshow='define' d_mimestore='define' mimeshow="metamail %A" mimestore="mmencode" d_newsadm='undef' newsadmin='root' d_nntp='define' d_xdata='define' d_genauth='undef' servername='/opt/news/server' d_nolnbuf='undef' d_normsig='define' jobslib='' d_novoid='undef' void='' d_portable='define' d_rdchk='undef' d_rename='define' d_sigblock='undef' d_sighold='define' d_sizet='undef' d_strccmp='define' d_strchr='define' d_strftime='define' strftimec='' strftimeo='' d_libndir='undef' d_usendir='undef' libndir='' ndirc='' ndiro='' d_vfork='define' d_voidsig='define' signal_t='void' defeditor='/opt/gnu/bin/emacs' filexp='/opt/lib/trn/filexp' d_dirnamlen='' i_dirent='define' i_ptem='define' i_stdlib='define' i_string='define' strings='/usr/include/string.h' i_sysdir='undef' d_voidtty='' i_bsdioctl='' i_sysfilio='define' i_sysioctl='define' i_syssockio='' i_sysndir='undef' i_sgtty='undef' i_termio='undef' i_termios='define' i_systime='define' i_time='undef' i_unistd='define' i_vfork='undef' ispell_options='' ispell_prg='none' libc='/usr/lib/libc.so' plibpth='/usr/ccs/lib /usr/lib /usr/ucblib /usr/local/lib' xlibpth='/usr/lib/386 /lib/386' libs='-lmalloc -lsocket -lnls -lnsl -lintl' citydist='chi' cntrydist='usa' contdist='na' locdist='none' multistatedist='none' orgdist='uchi' statedist='il' mailer='/usr/lib/sendmail' mailfile='/usr/spool/mail/%L' installmansrc='/opt/man/man1' manext='1' mansrc='/opt/man/man1' mansrcexp='/opt/man/man1' mboxchar='F' c='\c' n='' d_berknames='define' d_passnames='define' d_usgnames='undef' nametype='bsd' inewsloc='inews' newslib='/tmp' newslibexp='/tmp' newsspool='/tmp' orgname='U of Chicago, Biological Sciences Division' package='trn' spackage='Trn' pager='/usr/ucb/more' phost='www.bsd.uchicago.edu' phostcmd='' prefshell='/opt/bin/tcsh' installprivlib='/opt/lib/trn' privlib='/opt/lib/trn' privlibexp='/opt/lib/trn' rootid='0' sharpbang='#!' shsharp='true' spitshell='cat' startsh='#!/bin/sh' sysman='/usr/man/man1' d_usemt='undef' d_useov='define' overviewdir='/tmp' threaddir='/tmp' trn_init='FALSE' trn_select='TRUE' nm_opt='-p' runnm='true' usenm='true' incpath='' mips='' mips_type='' usrinc='/usr/include' PATCHLEVEL="3.6 (20 Nov 1994)" CONFIG=true -- Unsolicited commercial electronic mail sent to this address will be proofread at a cost of $200/hour (one half-hour minimum).
Technical Details
Message-ID:
<D3qrnw.K74@midway.uchicago.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!nntp.gmd.de!newsserver.jvnc.net!nntpserver.pppl.gov!princeton!rutgers!utcsri!newsflash.concordia.ca!news.mcgill.ca!mcrcim.mcgill.edu!bloom-beacon.mit.edu!news2.near.net!news.mathworks.com!news.alpha.net!uwm.edu!uwvax!uchinews!twpierceReferences:
<3h7djf$106@cri.ens-lyon.fr>Show Full Headers
Complete Article Headers
Message-ID: <D3qrnw.K74@midway.uchicago.edu> Subject: Re: Problems compiling trn 3.6 on SunOS 5.3 Date: Thu, 9 Feb 1995 16:40:43 GMT From: twpierce@midway.uchicago.edu (Tim Pierce) References: <3h7djf$106@cri.ens-lyon.fr> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!nntp.gmd.de!newsserver.jvnc.net!nntpserver.pppl.gov!princeton!rutgers!utcsri!newsflash.concordia.ca!news.mcgill.ca!mcrcim.mcgill.edu!bloom-beacon.mit.edu!news2.near.net!news.mathworks.com!news.alpha.net!uwm.edu!uwvax!uchinews!twpierce Newsgroups: news.software.readers X-Nntp-Posting-Host: quads.uchicago.edu Sender: news@midway.uchicago.edu (News Administrator) Organization: alt.* cabal, Professor Emeritus Lines: 243