🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.epoch.misc
Article #1548

Epoch4.0p0 installation bug report

#1548
From: Vivek P. Singhal
Date: Mon, 30 Mar 1992 10:59
67 lines
2783 bytes
I just downloaded and installed Epoch 4.0p0 for the Sun SparcStation
and the Dec 5000; overall, the installation went smoothly, but I ran
across a couple of problems that you might want to address in the next
release:

1) In "build-install", the $BUILD directory is moved to the $EPOCH
directory.  In my case, BUILD=/u/oops/src/epoch4.0p0, and
EPOCH=/u/oops/lib/mips-dec-ultrix4.2/4.0.  When build-install is
executed, a new directory
/u/oops/lib/mips-dec-ultrix4.2/4.0/epoch4.0p0 is created; instead, the
correct action should be to move the contents of
/u/oops/src/epoch4.0p0 into /u/oops/lib/mips-dec-ultrix4.2/4.0.
Here's a patch to correct this problem:

*** build-install       Mon Mar 30 10:50:31 1992
--- build-install~      Mon Mar 30 10:49:48 1992
***************
*** 17,23 ****
  # when the directory does not exist yet.
  if [ `pwd` != "`(cd $EPOCH; pwd)`" ]
  then
!   mv `pwd`/* $EPOCH
    if [ $? != '0' ]
    then
      mkdir $EPOCH
--- 17,23 ----
  # when the directory does not exist yet.
  if [ `pwd` != "`(cd $EPOCH; pwd)`" ]
  then
!   mv `pwd` $EPOCH
    if [ $? != '0' ]
    then
      mkdir $EPOCH

Note that this error occurred in both the Sparc and the Dec
installations.

2) When installling Epoch for the Sparcs, I decided to build the ASCII
version of Epoch too.  As part of the compilation, the following
sequence of actions occur:

	cd ascii
	make
	rm -f xmakefile junk.c
	cp ymakefile junk.c
	cc -E junk.c | sed -e 's/^#.*//' -e 's/^[  ][  ]*$//' -e 's/^ /  ' | sed -n -e '/^..*$/p' > xmakefile
	rm -f junk.c
	make    -f xmakefile  all
	<many lines deleted>
	make[1]: *** No way to make target `unexec.o'.  Stop.
	make: *** [doall] Error 1
	+ exit 1

The simple fix for this problem was to do the following:

	ln -s $BUILD/src/unexec.o $BUILD/ascii/unexec.o

A similar problem occurred when installing Epoch on the Decs with the
file pre-crt0.o.  The appropriate fix was

	ln -s $BUILD/src/pre-crt0.o $BUILD/ascii/pre-crt0.o

Vivek

----------------------------------------------------------------
Vivek Singhal    singhal@cs.utexas.edu    Office: (512) 471-9711
Univ of TX @ Austin, CS Dept, PAI 5.58      Home: (512) 385-1855
Technical Details
Message-ID: <SINGHAL.92Mar30105913@boogie.cs.utexas.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!cs.utexas.edu!singhal

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fc7ee,6f60f8efcc8441cd,start
X-Google-Attributes: gidfc7ee,public
X-Google-ArrivalTime: 1992-03-30 10:59:13 PST
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!cs.utexas.edu!singhal
From: singhal@cs.utexas.edu (Vivek P. Singhal)
Newsgroups: gnu.epoch.misc
Subject: Epoch4.0p0 installation bug report
Date: 30 Mar 92 10:59:13
Organization: Univ. of Texas at Austin, CS Dept.
Lines: 67
Distribution: gnu
Message-ID: <SINGHAL.92Mar30105913@boogie.cs.utexas.edu>
NNTP-Posting-Host: boogie.cs.utexas.edu