Original problem:
It sounds like most people have only had problems with CAP once they
got it installed and at least semi-running. I can't get it installed. I get
stuck
when I start running the makefiles. The gen.makes script puts a bunch
of empty "makefile"'s in several directories. There are also "Makefile"'s
in those directories that have the correct (supposedly) stuff in them.
This creates a conflict that shows up immediately. By removing the empty
"makefile"'s I , at least, start running the real Makefiles. But then I
immediately
running into problems with "make libsmade"
This is the error I get when I run "make libsmade":
(after I've removed the offending empty 'makefile')
# make libsmade
(cd lib/cap; make)
cc -O -c abmisc.c
cc: Error: abmisc.c, line 149: In this statement, "cv_patchlevel" is not a
memb.
v->cv_patchlevel, v->cv_rmonth, v->cv_ryear, v->cv_type);
--------^
*** Exit 1
Stop.
*** Exit 1
Stop.
#
Before this I did the following:
1) Retrieve distribution file cap60.pl100.tar and all patches thru 198
2) Apply patches thru 198 using the 'patch' utility.
3) run Configure
4) run gen.makes
5) remove all makefiles (with lower case 'm') from directories (these are
empty
and inserted by gen.makes
6) make includes (runs fine)
7) make libsmade (get error notated above)
Solution:
Thanks for the help from everybody.
It was a response from William H. Magill that got me going down the right path
though.
Apparantly, m4 was the culprit. Apparantly DEC's m4 was producing the zero
length
makefiles. Although I installed GNU's m4,
and "which m4" showed /usr/local/bin/m4 as the default program
to use -- /bin was in my PATH first and therefore the dec version of
m4 got used. I guess the "which" output gave me a false sense of
security and didn't get me thinking down that path.
So, fixing that solved the installation problem...
Thanks everybody...
Tony Warner
*********************************************************************
Tony Warner Tony.Warner_at_gat.com
General Atomics (619) 455-4285
*********************************************************************
Received on Thu Jul 30 1998 - 23:41:49 NZST