🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
4 messages
4 total messages Started by Sebastien Blondeel Tue, 07 Feb 1995 09:13
Problems compiling trn 3.6 on SunOS 5.3
#15099
Author: Sebastien Blondeel
Date: Tue, 07 Feb 1995 09:13
8 lines
1155 bytes
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).

If anyone has ever met such boring problems and has been able to solve them,
I would appreciate his help.
Re: Problems compiling trn 3.6 on SunOS 5.3
#15165
Author: Tim Pierce
Date: Thu, 09 Feb 1995 16:40
243 lines
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).
Re: Problems compiling trn 3.6 on SunOS 5.3
#15193
Author: Larry W. Virden
Date: Fri, 10 Feb 1995 11:48
10 lines
1462 bytes
I don't know about trn, but we found locally if you try to use the ucb/bsd
header and include files, programs such as perl, etc. crash a lot.
Perhaps the problem was the original poster was trying to use the bsd
code?
-- 
:s Larry W. Virden                 INET: larry.virden@cas.org
:s <URL:http://www-bprc.mps.ohio-state.edu/cgi-bin/hpp/lvirden_sig.html>
:s Unless explicitly stated to the contrary, nothing in this posting should 
:s be construed as representing my employer's opinions.
Re: Problems compiling trn 3.6 on SunOS 5.3
#15236
Author: Walter Loepsinger
Date: Sun, 12 Feb 1995 09:21
27 lines
1970 bytes
In article <3h7djf$106@cri.ens-lyon.fr>,
Sebastien Blondeel <sblondee@ens-lyon.fr> wrote:

Hi Sebastien,

>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).

i recently compiled strn (which is developed out of trn and uses the
same configure script) on a even worse operating system (Atari ST).

The Configure script makes some assumptions about compiler and/or lib,
before actually asking for them. I worked around it by just running
it twice, and editing config.sh after the first run. I recommend using
gcc.


cu on the bitstream,
Walter.
-- 
  
>>>    Walters Datensenke    <<<<>>>>     walter@wds.nasim.cube.net    <<<<
>>>>>   Private site in    <<<<<<>>>>       Walter Loepsinger @ M4     <<<<
>>>>>   Munich, bavaria    <<<<<<>>>>  Walter Loepsinger 2:2480/708.7  <<<<
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads