build bugs on solaris

i was trying to build amaya on solaris 2.5.1 with gcc 2.7.2 on a sparc
classic. i found several build problems which is very annoying. i wanted
to try out amaya and i don't have the time to track down build problems
on what should be a clean extract, configure, make on a popular os. 

i tried to find help on the amaya site but the mail archives are not
searchable.  please email me any advice you have as i am not subscribed
to the list right now.

thanx,

uri

here are some of the problems i found:

some make was refering to a config dir higher than the one under the
Thot tree. i made a symlink from my source root down to
Thot/config. just plain foolish.

i fixed another problem, but i forgot what and lost any record of it.

during a full make, i get these errors (which i can do again as shown
with a make install):

make[1]: Leaving directory `/local/src/Thot/indexlib'
make[1]: Entering directory `/local/src/Thot/amaya'
STR=`pwd`/../bin/str;PRS=`pwd`/../bin/prs;TRA=`pwd`/../bin/tra;\
cd ../amaya; THOTDIR=`pwd`/.. ;export THOTDIR; \
$STR -DCOUGAR    -DMATHML  HTML ;\
$PRS -DCOUGAR    -DMATHML  HTMLP ;\
$PRS -DCOUGAR    -DMATHML  -DPAGE HTMLP HTMLPP ;\
$PRS -DCOUGAR    -DMATHML  -DUS_PAPER HTMLP HTMLPPUS ;\
$PRS -DCOUGAR    -DMATHML  -DLINK_NUMBER -DPAGE HTMLP HTMLPLP ;\
$PRS -DCOUGAR    -DMATHML  -DLINK_NUMBER -DUS_PAPER HTMLP HTMLPLPUS ;\
$PRS -DCOUGAR    -DMATHML  -DBLACK_WHITE HTMLP HTMLPBW ;\
$TRA -DCOUGAR    -DMATHML  HTMLT ;\
$TRA -DCOUGAR    -DMATHML  HTMLTT
***ERR line 0
Grammar file (.GRM) not found
***ERR line 0
Grammar file (.GRM) not found
***ERR line 0
Grammar file (.GRM) not found
***ERR line 0
Grammar file (.GRM) not found
***ERR line 0
Grammar file (.GRM) not found
***ERR line 0
Grammar file (.GRM) not found
***ERR line 0
Grammar file (.GRM) not found
***ERR line 0
Grammar file (.GRM) not found
***ERR line 0
Grammar file (.GRM) not found
PRS=`pwd`/../bin/prs ; \
cd ../amaya; THOTDIR=`pwd`/.. ;export THOTDIR; \
$PRS -DCOUGAR    -DMATHML  HTMLP ;\
$PRS -DCOUGAR    -DMATHML  -DPAGE HTMLP HTMLPP ;\
$PRS -DCOUGAR    -DMATHML  -DUS_PAPER HTMLP HTMLPPUS ;\
$PRS -DCOUGAR    -DMATHML  -DLINK_NUMBER -DPAGE HTMLP HTMLPLP ;\
$PRS -DCOUGAR    -DMATHML  -DLINK_NUMBER -DUS_PAPER HTMLP HTMLPLPUS ;\
$PRS -DCOUGAR    -DMATHML  -DBLACK_WHITE HTMLP HTMLPBW
***ERR line 0
Grammar file (.GRM) not found
***ERR line 0
Grammar file (.GRM) not found
***ERR line 0
Grammar file (.GRM) not found
***ERR line 0
Grammar file (.GRM) not found
***ERR line 0
Grammar file (.GRM) not found
***ERR line 0
Grammar file (.GRM) not found
TRA=`pwd`/../bin/tra ; \
cd ../amaya; THOTDIR=`pwd`/.. ;export THOTDIR ;\
$TRA -DCOUGAR    -DMATHML  HTMLT ;\
$TRA -DCOUGAR    -DMATHML  HTMLTT
***ERR line 0
Grammar file (.GRM) not found
***ERR line 0
Grammar file (.GRM) not found
STR=`pwd`/../bin/str;PRS=`pwd`/../bin/prs;TRA=`pwd`/../bin/tra;\
cd ../amaya; THOTDIR=`pwd`/.. ;export THOTDIR; \
$STR -DCOUGAR    -DMATHML  MathML ; \
$PRS -DCOUGAR    -DMATHML  MathMLP ; \
$TRA -DCOUGAR    -DMATHML  MathMLT
***ERR line 0
Grammar file (.GRM) not found
***ERR line 0
Grammar file (.GRM) not found
***ERR line 0
Grammar file (.GRM) not found
PRS=`pwd`/../bin/prs;\
cd ../amaya; THOTDIR=`pwd`/.. ;export THOTDIR; \
$PRS -DCOUGAR    -DMATHML  MathMLP
***ERR line 0
Grammar file (.GRM) not found
TRA=`pwd`/../bin/tra;\
cd ../amaya; THOTDIR=`pwd`/.. ;export THOTDIR; \
$TRA -DCOUGAR    -DMATHML  MathMLT
***ERR line 0
Grammar file (.GRM) not found
(if test "../amaya" != "" -a "../amaya" != "." -a \
         "../amaya" != "../amaya" ; then \
    /usr/local/bin/cp ../amaya/MathML.A .  ; \
    /usr/local/bin/cp ../amaya/MathML.STR .  ; \
fi)
THOTDIR=.. ; export THOTDIR ; \
../bin/app -DCOUGAR    -DMATHML  MathML.A
***ERR line 0
Grammar file (.GRM) not found
(if test "../amaya" != "" -a "../amaya" != "." -a \
         "../amaya" != "../amaya" ; then \
    /usr/local/bin/cp ../amaya/MathML.A .  ; \
    /usr/local/bin/cp ../amaya/MathML.STR .  ; \
fi)
THOTDIR=.. ; export THOTDIR ; \
../bin/app -DCOUGAR    -DMATHML  MathML.A
***ERR line 0
Grammar file (.GRM) not found
make[1]: *** No rule to make target `HTML.STR'.  Stop.
make[1]: Leaving directory `/local/src/Thot/amaya'

-- 
Uri Guttman                     SYStems ARCHitecture and Software Engineering
uri@sysarch.com                                          Have Perl, Will Hack
http://www.sysarch.com                (781) 643-7504 x*2  FAX: (781) 643-2710
Try the Best Search Engine on the Net -------->  http://www.northernlight.com

Received on Monday, 16 March 1998 02:15:40 UTC