HIGH: Sol 2.x compile problems

Date: Sun, 29 Jun 1997 01:51:29 -0700
From: John Nemeth <jnemeth@cue.bc.ca>
To: csuite-tech@chebucto.ns.ca
Precedence: bulk
Return-Path: <csuite-tech-mml-owner@chebucto.ns.ca>

next message in archive
no next message in thread
previous message in archive
Index of Subjects


     These are the problems I had doing the compile/install process (Lynx
step 6):

- $DISTDIR/sh-funcs(56):  set pine target to 'gso'
  - the 'sol' target will attempt to use the SunPro C comiler, not gcc

- $DISTDIR/cs_install(137):
It looks like this:

*)      if [ -f $CS_ROOT/lib/isbinary ] && $CS_ROOT/lib/isbinary < $file
        then
                cpcmd="cp"
        else
                cpcmd="$mksub"
        fi
        ;;

This code is used during the installation of isbinary.  At that point
in time, obviously $CS_ROOT/lib/isbinary doesn't exist, meaning that
the condition is false.  This causes mksub to be used to install
isbinary, which results in an unexecutable file.  During the
installation of subsequent files, since isbinary is unexecutable, the
condition is always false, causing mksub to always be used.  This
creates a bit of a mess.  The first line above should be change to:

*)      if [ ! -f $CS_ROOT/lib/isbinary ] || $CS_ROOT/lib/isbinary < $file

- $DISTDIR/cs_install:  set shell to bash
- $CS_ROOT/src/cronbin/mkhome:  set shell to bash
- $CS_ROOT/src/cronbin/csuite-cron:  set shell to bash
- $CS_ROOT/src/cronbin/dbbuild:  set shell to bash
  - there are probably many more like the above
  - the alternative to changing the shell to bash for above would be
to apply the patch for cs_shlib that I gave in my last note

- libcsuite.a not needed:  strerror(3) supplied by the OS

- bin/tin
  - default-server set to news.dal.ca:  it should use the one
specified during lynx step 3
  - compile with -DNNTP_ABLE

- etc/zmailer:  link with -lnsl -lsocket

- lib/rtelnet/telnet/commands.c(2212)
  - for some reason the test on this line comes out wrong on Sol 2.5
with gcc 2.7.2.1 causing this to fail to compile
  - my only guess for the cause is that htons is an inline function

- bin/pine/pine/osdep/os-gso.h(61):  don't use quotas
  - the quota support doesn't compile on Sol 2.x; since I want quota
support, I may fix this one day

next message in archive
no next message in thread
previous message in archive
Index of Subjects