[593] in Zephyr_Bugs
Installing Zephyr (gmake install)
daemon@ATHENA.MIT.EDU (Greg Puhak)
Mon Jul 3 17:40:59 1995
Date: Mon, 3 Jul 1995 17:40:18 -0400
From: Greg Puhak <puhak@aol.net>
To: zephyr-bugs@MIT.EDU
Hi! Thanks for the latest version of Zephyr. I was trying to get the
old imake stuff to work but was having some difficulty and this latest
config/install process is a breeze. I just brought it in and got it up
and running in only a few hours (most of that was spend reading the docs
and installing some auxiliary programs).
A few points on the compile/install process:
1) I don't have lex which lib/et/Makefile needed. I retrieved flex and
made it but the Makefile didn't recognize flex as a replacement for
lex. I ended up creating a symlink from lex to flex for the Makefile
to proceed.
2) I don't have yacc which lib/et/Makefile again needed. I already had
bison installed though. I ended up creating a simple shell script
for yacc to call "bison -y". After making these two changes to my
environment I was able to get through the Makefile in lib/et.
3) I don't have SIGXCPU defined on my workstation. I ended up ifdef-ing
it out. I reasoned: If my system doesn't have it the process can't
receive it. The diff's below work for me.
pravda: uname -a
HP-UX pravda A.09.05 A 9000/715 2003940999 two-user license
pravda: diff -c main.c.dist main.c
*** main.c.dist Fri Jun 30 18:11:16 1995
--- main.c Mon Jul 3 14:59:37 1995
***************
*** 260,266 ****
--- 260,268 ----
action.sa_handler = sig_dump_db;
sigaction(SIGFPE, &action, NULL);
+ #ifndef __hpux
sigaction(SIGXCPU, &action, NULL);
+ #endif
#ifdef SIGEMT
action.sa_handler = sig_dump_strings;
***************
*** 276,282 ****
--- 278,286 ----
signal(SIGUSR2, dbug_off);
signal(SIGCHLD, reap);
signal(SIGFPE, sig_dump_db);
+ #ifndef __hpux
signal(SIGXCPU, sig_dump_db);
+ #endif
#ifdef SIGEMT
signal(SIGEMT, sig_dump_strings);
#endif
4) Lastly, gmake install didn't ensure that $(prefix)/bin and
$(prefix)/lib existed prior to installation. In my setup $(prefix)
points to /usr/local/zephyr with the intent of making zephyr a nice
installable package. Of course, this was an empty dir. bin and lib
just became regular files rather than directories. I just created
the directories by hand and reinstalled it.
The above are minor issues. Other than these the compile/install
process went very smoothly.
Greg
----------
Greg Puhak email: puhak@aol.net
America Online AOL: GregPuhak
8619 Westwood Center Drive Phone: (703) 917-1339
Vienna, VA. 22182-2285 Fax: (703) 917-1202