- From: Rich Kulawiec <rsk@gsp.org>
- Date: Wed, 23 Mar 2005 09:05:46 +0100
- To: Amaya <www-amaya-dev@w3.org>
I've bumped into a couple of minor problems -- and now one that looks a bit more substantial. The minor problems: In /src/amaya-9.1/Amaya/solaris2 (which is the directory from which most of the building takes place) there's a problem inside the "redland_config" target which appears to relate to the use GNU's "test" vs. the Solaris "test". I've solved it here by doing this: redland_config: force @(if /usr/bin/test ! -e "$(THOTDIR)/../$(REDLAND)" ; then \ $(ECHO) "Error redland dir not found at $(THOTDIR)/$(REDLAND)" ; \ fi) and then applying that same change (explicitly specifying /usr/bin/test) as needed elsewhere. I need to do more in-depth debugging, but I don't think this problem will show up on a system which lacks the GNU version of the "test" command. (Or if Amaya is built by a user whose $PATH doesn't include the GNU version of "test".) The larger problem: Having gotten past the issue above, I'm now hitting a compilation error in "annotlib" which appears to be a consequence of (maybe) a missing inclusion. However, I'm not sufficiently acquainted with the internal structure of Amaya to say, so let me just reproduce the relevant portion of make's output and defer to those who have a far better idea what's going on: make[2]: Leaving directory `/src/amaya-9.1/Amaya/solaris2/annotlib' make[2]: Entering directory `/src/amaya-9.1/Amaya/solaris2/annotlib' g++ -O2 -W -x c++ -D__cplusplus -D_UNIX -DLIBRDF_INTERNAL=1 -DAM_REDLAND -DRAPTOR_RDF_PARSER -I../../../redland/librdf -I../../../redland/raptor -DHAVE_CONFIG_H -DANNOTATIONS -I.. -I../amaya -I../../annotlib/f -I../../amaya -I../../amaya/f -I../libwww -I../../../libwww/Library/src -I../../../libwww/modules/expat/lib -I../../../redland/librdf -I../../../redland/raptor -I../../thotlib/include -I../../thotlib/internals/var -I../../thotlib/internals/h -I../../thotlib/internals/f -I/usr/local/include/gtk-1.2 -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -I/usr/openwin/include -I/usr/local/include -D_UNIX -DXML_GENERIC -D_GTK -D_UNIX -DLIBRDF_INTERNAL=1 -DAM_REDLAND -DRAPTOR_RDF_PARSER -I../../../redland/librdf -I../../../redland/raptor -c ../../annotlib/ANNOTfiles.c -o ANNOTfiles.o ../../annotlib/ANNOTfiles.c: In function `void ANNOT_PrepareAnnotView(int)': ../../annotlib/ANNOTfiles.c:1218: error: `File' undeclared (first use this function) ../../annotlib/ANNOTfiles.c:1218: error: (Each undeclared identifier is reported only once for each function it appears in.) ../../annotlib/ANNOTfiles.c:1218: error: `BOpenDoc' undeclared (first use this function) ../../annotlib/ANNOTfiles.c:1220: error: `BBack' undeclared (first use this function) ../../annotlib/ANNOTfiles.c:1221: error: `BForward' undeclared (first use this function) ../../annotlib/ANNOTfiles.c:1222: error: `BHtmlBasic' undeclared (first use this function) ../../annotlib/ANNOTfiles.c:1223: error: `BHtmlStrict' undeclared (first use this function) ../../annotlib/ANNOTfiles.c:1224: error: `BHtml11' undeclared (first use this function) ../../annotlib/ANNOTfiles.c:1225: error: `BHtmlTransitional' undeclared (first use this function) ../../annotlib/ANNOTfiles.c:1226: error: `BTemplate' undeclared (first use this function) ../../annotlib/ANNOTfiles.c:1227: error: `BCss' undeclared (first use this function) ../../annotlib/ANNOTfiles.c:1229: error: `BOpenInNewWindow' undeclared (first use this function) ../../annotlib/ANNOTfiles.c:1230: error: `BSaveAs' undeclared (first use this function) ../../annotlib/ANNOTfiles.c:1233: error: `Views' undeclared (first use this function) ../../annotlib/ANNOTfiles.c:1233: error: `TShowTextZone' undeclared (first use this function) ../../annotlib/ANNOTfiles.c:1235: error: `BShowAlternate' undeclared (first use this function) ../../annotlib/ANNOTfiles.c:1236: error: `BShowSource' undeclared (first use this function) ../../annotlib/ANNOTfiles.c:1237: error: `BShowLinks' undeclared (first use this function) ../../annotlib/ANNOTfiles.c:1241: error: `Annotations_' undeclared (first use this function) ../../annotlib/ANNOTfiles.c:1241: error: `BAnnotateSelection' undeclared (first use this function) ../../annotlib/ANNOTfiles.c:1242: error: `BAnnotateDocument' undeclared (first use this function) ../../annotlib/ANNOTfiles.c:1243: error: `BReplyToAnnotation' undeclared (first use this function) make[2]: *** [ANNOTfiles.o] Error 1 make[2]: Leaving directory `/src/amaya-9.1/Amaya/solaris2/annotlib' make[1]: *** [../annotlib/libAnnot.a] Error 2 make[1]: Leaving directory `/src/amaya-9.1/Amaya/solaris2/amaya' make: *** [amaya_prog] Error 2 Any idea where I might start looking for a mistake on my part that's the underlying cause of this? Oh -- by the way --I configured Amaya with: ../configure --with-x --with-motif --without-gtk --with-dav which is a leftover from the last time that I built it successfully (8.1b). ---Rsk
Received on Wednesday, 23 March 2005 08:06:30 UTC