RE: Make fails after build "grm"

>> Yes, this is the normal location of the en-grmdialogue file.
>> I suspect a probleme with the THOTDIR environment variable.
>> grm, str, prs, etc. use this environment variable to locate
>> all configurationfiles.
>> Could you check the generated /oss/amaya/Amaya/WX/Makefile 
>> It should include the following declaration THOTDIR = .. 

Yes, the generated /oss/amaya/Amaya/WX/Makefile does include
THOTDIR = ..

Here is an interesting thing.  I re-built it with gtk (configure --with-gtk --without-dav) and everything work fine.  I built it on the same machine and environment.

Thanks!
-Brandon



-----Original Message-----
From: Irene Vatton [mailto:Irene.Vatton@inrialpes.fr] 
Sent: Tuesday, November 22, 2005 5:50 AM
To: Dinh, Brandon V
Cc: www-amaya@w3.org
Subject: Re: Make fails after build "grm"

On Monday 21 November 2005 23:22, Dinh, Brandon V wrote:
> > Hi,
> >
> > I am running into a build problem and hoping someone here can give 
> > me some insight.
> > I am build Amaya on NCR MPRAS (System V) with gcc version 3.4.4.
> >
> > configure --with-wx --without-dav
> > make
> >
> > Make run ok until it builds "grm"
> >
> > ====================================
> > g++  -o ../bin/grm ../thotlib/base/compilmsg.o parser.o grammar.o
> > -L../thotlib/ -lThotKernel -lz -ldl -lnsl -lnsl -lsocket 
> > -L/oss/amaya/Amaya/WX/wxWidgets_RELEASE/lib  -L/usr/local/lib 
> > -L/usr/X11R6/lib 
> > /oss/amaya/Amaya/WX/wxWidgets_RELEASE/lib/libwx_gtk2u_xrc-2.6.a
> > /oss/amaya/Amaya/WX/wxWidgets_RELEASE/lib/libwx_gtk2u_adv-2.6.a
> > /oss/amaya/Amaya/WX/wxWidgets_RELEASE/lib/libwx_gtk2u_core-2.6.a
> > /oss/amaya/Amaya/WX/wxWidgets_RELEASE/lib/libwx_baseu_xml-2.6.a
> > /oss/amaya/Amaya/WX/wxWidgets_RELEASE/lib/libwx_baseu_net-2.6.a
> > /oss/amaya/Amaya/WX/wxWidgets_RELEASE/lib/libwx_gtk2u_gl-2.6.a
> > /oss/amaya/Amaya/WX/wxWidgets_RELEASE/lib/libwx_baseu-2.6.a
> > -L/usr/local/lib -L/usr/X11R6/lib -lgtk-x11-2.0 -lgdk-x11-2.0 
> > -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lfreetype 
> > -lcairo -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl 
> > -lXinerama -lGL -lGLU -lwxregexu-2.6 -lwxexpat-2.6 -lwxtiff-2.6
> > -lwxjpeg-2.6 -lwxpng-2.6 -lwxzlib-2.6 -DNCR_UST -lpthread -lsocket 
> > -lnsl -lresolv -liconv -lm ====> grm is done (DIR=`pwd` ; 
> > THOTDIR=$DIR/../.. ; export THOTDIR ; \
> >         cd ../../batch ; $DIR/../bin/grm APP)
> > WARNING: cannot open file en-grmdialogue
> >
> > (DIR=`pwd` ; THOTDIR=$DIR/../.. ; export THOTDIR ; \
> >         cd ../../batch ; $DIR/../bin/grm PRESEN)
> > WARNING: cannot open file en-grmdialogue (DIR=`pwd` ; 
> > THOTDIR=$DIR/../.. ; export THOTDIR ; \
> >         cd ../../batch ; $DIR/../bin/grm STRUCT)
> > WARNING: cannot open file en-grmdialogue (DIR=`pwd` ; 
> > THOTDIR=$DIR/../.. ; export THOTDIR ; \
> >          cd ../../batch ; $DIR/../bin/grm TRANS)
> > WARNING: cannot open file en-grmdialogue 
> > ====================================
> >
> > I am wondering if those WARNING messages can be disregarded.
>
> I do a 'find' and 'en-grmdialogue' is in 
> /oss/amaya/Amaya/config/en-grmdialogue

Yes, this is the normal location of the en-grmdialogue file.
I suspect a probleme with the THOTDIR environment variable.
grm, str, prs, etc. use this environment variable to locate all configuration files.
Could you check the generated /oss/amaya/Amaya/WX/Makefile It should include the following declaration THOTDIR = ..

>
> > Here is where make fails and it looks like make fails because of 
> > those above warning; those grammar file didn't not get generated.
> > ======================================
> > make[2]: Leaving directory `/oss/amaya/Amaya/WX/thotlib'
> > STR=`pwd`/../bin/str;PRS=`pwd`/../bin/prs;TRA=`pwd`/../bin/tra;\
> > cd ../../amaya; THOTDIR=`pwd`/.. ;export THOTDIR; \
> > $STR -D_UNIX   -DXML_GENERIC  -D_GL -D_WX      -D_SVG   -D_UNIX
> > -DLIBRDF_INTERNAL=1 -DAM_REDLAND -DRAPTOR_RDF_PARSER 
> > -I../../../redland/librdf -I../../../redland/raptor -DANNOTATIONS 
> > -DXML_DTD -DXML_NS  HTML ;\
> > $PRS -D_UNIX   -DXML_GENERIC  -D_GL -D_WX      -D_SVG   -D_UNIX
> > -DLIBRDF_INTERNAL=1 -DAM_REDLAND -DRAPTOR_RDF_PARSER 
> > -I../../../redland/librdf -I../../../redland/raptor -DANNOTATIONS 
> > -DXML_DTD -DXML_NS  HTMLP ;\
> > $PRS -D_UNIX   -DXML_GENERIC  -D_GL -D_WX      -D_SVG   -D_UNIX
> > -DLIBRDF_INTERNAL=1 -DAM_REDLAND -DRAPTOR_RDF_PARSER 
> > -I../../../redland/librdf -I../../../redland/raptor -DANNOTATIONS 
> > -DXML_DTD -DXML_NS  -DPAGE HTMLP HTMLPP ;\
> > $PRS -D_UNIX   -DXML_GENERIC  -D_GL -D_WX      -D_SVG   -D_UNIX
> > -DLIBRDF_INTERNAL=1 -DAM_REDLAND -DRAPTOR_RDF_PARSER 
> > -I../../../redland/librdf -I../../../redland/raptor -DANNOTATIONS 
> > -DXML_DTD -DXML_NS  -DPAGE -DLANDSCAPE HTMLP HTMLPL ;\
> > $PRS -D_UNIX   -DXML_GENERIC  -D_GL -D_WX      -D_SVG   -D_UNIX
> > -DLIBRDF_INTERNAL=1 -DAM_REDLAND -DRAPTOR_RDF_PARSER 
> > -I../../../redland/librdf -I../../../redland/raptor -DANNOTATIONS 
> > -DXML_DTD -DXML_NS  -DUS_PAPER HTMLP HTMLPPUS ;\
> > $PRS -D_UNIX   -DXML_GENERIC  -D_GL -D_WX      -D_SVG   -D_UNIX
> > -DLIBRDF_INTERNAL=1 -DAM_REDLAND -DRAPTOR_RDF_PARSER 
> > -I../../../redland/librdf -I../../../redland/raptor -DANNOTATIONS 
> > -DXML_DTD -DXML_NS  -DUS_PAPER -DLANDSCAPE HTMLP HTMLUSL ;\
> > $PRS -D_UNIX   -DXML_GENERIC  -D_GL -D_WX      -D_SVG   -D_UNIX
> > -DLIBRDF_INTERNAL=1 -DAM_REDLAND -DRAPTOR_RDF_PARSER 
> > -I../../../redland/librdf -I../../../redland/raptor -DANNOTATIONS 
> > -DXML_DTD -DXML_NS  -DLINK_NUMBER -DPAGE HTMLP HTMLPLP ;\
> > $PRS -D_UNIX   -DXML_GENERIC  -D_GL -D_WX      -D_SVG   -D_UNIX
> > -DLIBRDF_INTERNAL=1 -DAM_REDLAND -DRAPTOR_RDF_PARSER 
> > -I../../../redland/librdf -I../../../redland/raptor -DANNOTATIONS 
> > -DXML_DTD -DXML_NS  -DLINK_NUMBER -DPAGE -DLANDSCAPE HTMLP  HTMLPLL ;\
> > $PRS -D_UNIX   -DXML_GENERIC  -D_GL -D_WX      -D_SVG   -D_UNIX
> > -DLIBRDF_INTERNAL=1 -DAM_REDLAND -DRAPTOR_RDF_PARSER 
> > -I../../../redland/librdf -I../../../redland/raptor -DANNOTATIONS 
> > -DXML_DTD -DXML_NS  -DLINK_NUMBER -DUS_PAPER HTMLP HTMLPLPUS ;\
> > $PRS -D_UNIX   -DXML_GENERIC  -D_GL -D_WX      -D_SVG   -D_UNIX
> > -DLIBRDF_INTERNAL=1 -DAM_REDLAND -DRAPTOR_RDF_PARSER 
> > -I../../../redland/librdf -I../../../redland/raptor -DANNOTATIONS 
> > -DXML_DTD -DXML_NS  -DLINK_NUMBER -DUS_PAPER -DLANDSCAPE HTMLP 
> > HTMLUSLL ;\
> > $PRS -D_UNIX   -DXML_GENERIC  -D_GL -D_WX      -D_SVG   -D_UNIX
> > -DLIBRDF_INTERNAL=1 -DAM_REDLAND -DRAPTOR_RDF_PARSER 
> > -I../../../redland/librdf -I../../../redland/raptor -DANNOTATIONS 
> > -DXML_DTD -DXML_NS  -DBLACK_WHITE HTMLP HTMLPBW ;\
> > $TRA -D_UNIX   -DXML_GENERIC  -D_GL -D_WX      -D_SVG   -D_UNIX
> > -DLIBRDF_INTERNAL=1 -DAM_REDLAND -DRAPTOR_RDF_PARSER 
> > -I../../../redland/librdf -I../../../redland/raptor -DANNOTATIONS 
> > -DXML_DTD -DXML_NS  HTMLT ;\
> > $TRA -D_UNIX   -DXML_GENERIC  -D_GL -D_WX      -D_SVG   -D_UNIX
> > -DLIBRDF_INTERNAL=1 -DAM_REDLAND -DRAPTOR_RDF_PARSER 
> > -I../../../redland/librdf -I../../../redland/raptor -DANNOTATIONS 
> > -DXML_DTD -DXML_NS  -DXML HTMLT HTMLTX;\
> > $TRA -D_UNIX   -DXML_GENERIC  -D_GL -D_WX      -D_SVG   -D_UNIX
> > -DLIBRDF_INTERNAL=1 -DAM_REDLAND -DRAPTOR_RDF_PARSER 
> > -I../../../redland/librdf -I../../../redland/raptor -DANNOTATIONS 
> > -DXML_DTD -DXML_NS  -DXML -DXHTML11 HTMLT HTMLT11;\
> > $TRA -D_UNIX   -DXML_GENERIC  -D_GL -D_WX      -D_SVG   -D_UNIX
> > -DLIBRDF_INTERNAL=1 -DAM_REDLAND -DRAPTOR_RDF_PARSER 
> > -I../../../redland/librdf -I../../../redland/raptor -DANNOTATIONS 
> > -DXML_DTD -DXML_NS  HTMLTT
> > WARNING: cannot open file en-libdialogue
> > WARNING: cannot open file en-strdialogue ***ERR line 0 Grammar file 
> > (.GRM) not foundWARNING: cannot open file en-libdialogue
> > WARNING: cannot open file en-prsdialogue ***ERR line 0 Grammar file 
> > (.GRM) not foundWARNING: cannot open file en-libdialogue
> > WARNING: cannot open file en-prsdialogue ***ERR line 0 Grammar file 
> > (.GRM) not foundWARNING: cannot open file en-libdialogue
> > WARNING: cannot open file en-prsdialogue ***ERR line 0
> > make[1]: *** [../../amaya/HTML.STR] Error 134
> > make[1]: Leaving directory `/oss/amaya/Amaya/WX/amaya'
> > make: *** [amaya_prog] Error 2
> > ==========================================================
> >
> >
> > Thanks!

-- 
     Irène.
-----
Irène Vatton                     INRIA Rhône-Alpes
INRIA                               ZIRST
e-mail: Irene.Vatton@inria.fr       655 avenue de l'Europe
Tel.: +33 4 76 61 53 61             Montbonnot
Fax:  +33 4 76 61 52 07             38334 Saint Ismier Cedex - France

Received on Tuesday, 22 November 2005 19:22:21 UTC