Subject: Emacs port
To: None <port-mac68k@NetBSD.ORG>
From: Rodney M. Hopkins <rhopkins@sunflower.com>
List: port-mac68k
Date: 09/27/1997 20:22:34
After some fiddling and tweaking I have managed to get the Emacs port from
the FreeBSD ports library to compile on my Mac SE/30 running MacBSD.  The
problem I'm having is the install script craps out about 75 to 80% through
and thus I haven't been able to get Emacs installed.  Here's what I get:

Installing utilities run internally by Emacs.
/usr/ports/editors/emacs/work/emacs-19.34/mkinstalldirs
/usr/local/libexec/emacs/19.34
/m68k--netbsd
if [ `(cd /usr/local/libexec/emacs/19.34/m68k--netbsd && /bin/pwd)` !=
`/bin/pwd` ]; t
hen       for file in profile digest-doc sorted-doc movemail cvtmail
fakemail yow emac
sserver hexl; do            install -c -s -o root -g bin -m 555 $file
/usr/local/libex
ec/emacs/19.34/m68k--netbsd/$file ;       done ;         fi
if [ `(cd /usr/local/libexec/emacs/19.34/m68k--netbsd && /bin/pwd)`
     != `(
cd /usr/ports/editors/emacs/work/emacs-19.34/lib-src && /bin/pwd)` ]; then
      for
file in rcs2log vcdiff; do          install -c -s -o root -g bin -m 555
/usr/ports/edi
tors/emacs/work/emacs-19.34/lib-src/$file
/usr/local/libexec/emacs/19.34/m68k--netbsd/
$file;    done ;        fi
strip: /usr/local/libexec/emacs/19.34/m68k--netbsd/rcs2log: Inappropriate
file type or
 format
install: stripping /usr/local/libexec/emacs/19.34/m68k--netbsd/rcs2log: No
such file o
r directory
strip: /usr/local/libexec/emacs/19.34/m68k--netbsd/vcdiff: Inappropriate
file type or
format
install: stripping /usr/local/libexec/emacs/19.34/m68k--netbsd/vcdiff: No
such file or
 directory
gmake[1]: *** [/usr/local/libexec/emacs/19.34/m68k--netbsd] Error 71
gmake[1]: Leaving directory
`/usr/ports/editors/emacs/work/emacs-19.34/lib-src'
gmake: *** [install-arch-dep] Error 2
*** Error code 2

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.

As far as I can tell the problem is that the install script attempts to run
strip on rcs2log and vcdiff, which generates an error because rcs2log and
vcdiff aren't program executables, they're shell scripts.  The error then
seems to cause gmake to fail and the install in general to fail.

Does anyone have any ideas on how I can get this to install?  With the
problem I am having, I find it hard to believe anyone has gotten this thing
to compile and install properly.  I am SOOOO close!  I can actually execute
emacs out of the directory it's compiled in right now and it runs!  So if I
can get it installed, I've got it licked, and I'll be more than happy to
pass along the info I have learned about getting the emacs port to compile
and install to the appropriate places for distribution.

Thanks,


Rodney M. Hopkins
rhopkins@sunflower.com