CCOMP is set to gcc default. I did not set it to cc because it is
easier for me to figure out other people’s error messages this way.On Wednesday, April 30, 2014 5:59:55 AM UTC-4, Ivan Uemlianin wrote:
Thanks for your help. I have worked out what the problem was.
It was the old gnu make / bsd make incompatibility. The ATS Makefiles
assume gnu make, while on freebsd “make” is bsd make. Using alias was no
good (as it didn’t affect calls to make from within the Makefiles), but a
bit of fiddling about with symlinks fixed it for now.
A complicating factor was that the default compiler on freebsd is clang
(as “cc”) and, although gcc is installed, it’s at “gcc47” and there is no
“gcc”.
I have successfully compiled ATS now, though I haven’t tried it out yet
(have to get back to work!).
Best wishes
Ivan
On Tuesday, April 29, 2014 7:31:20 PM UTC+1, gmhwxi wrote:
Neither PATSHOME nor PATSLIBHOME have been defined previously
They are defined on config.mk (which is generated from config.mk.in).
On Tuesday, April 29, 2014 12:25:26 PM UTC-4, gmhwxi wrote:
I suspect that you did not do ‘./configure’.
If that is the case, please do
./configure
make all
It normally takes less than 2 minutes to finish.
On Tuesday, April 29, 2014 12:01:17 PM UTC-4, Ivan Uemlianin wrote:
Dear All
I am trying to build ATS from source as per the instructions on the ats-lang.org download page. However, step 2 “make all” gets the error:
make: "/usr/home/ivan/ats_stuff/ATS2-Postiats-0.0.7/Makefile" line
62: Variable/Value missing from “export”
make: “/usr/home/ivan/ats_stuff/ATS2-Postiats-0.0.7/Makefile” line
63: Variable/Value missing from “export”
make: Fatal errors encountered – cannot continue
make: stopped in /usr/home/ivan/ats_stuff/ATS2-Postiats-0.0.7
The Makefile at this point has the following (which doesn’t look quite
right):
56 # This variable is to be set externally
57 #
58 DESTDIR :=
59 #
60 ######
61
62 export PATSHOME
63 export PATSLIBHOME
Neither PATSHOME nor PATSLIBHOME have been defined previously. Line 58
doesn’t look grammatical either.
Do I need to edit this Makefile? Is there something else I’m missing?