- From: Irene Vatton <Irene.Vatton@inrialpes.fr>
- Date: Tue, 29 Mar 2005 12:18:42 +0100
- To: Irene.Vatton@inrialpes.fr
- Cc: Amaya <www-amaya-dev@w3.org>
Le Mercredi 23 Mars 2005 09:05, Rich Kulawiec a écrit :
> 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".)
My Amaya compilation uses /usr/bin/test without problem.
Normally autoconf or configure should find the right path except if there is a
priority to look at in the GNU's paths first.
> 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?
All the missing declarations are provided by a EDITOR.h file. this file is
generated inot the solaris/amaya/ directory by the app compiler.
The problem is either the compiling didn't failed or you didn't compile in the
right order.
> Oh -- by the way --I configured Amaya with:
>
> ../configure --with-x --with-motif --without-gtk --with-dav
Hum, Since 8.5 --with-x --with-motif are not available options.
You can now compile either with_gtk or with-wx
> which is a leftover from the last time that I built it successfully (8.1b).
>
> ---Rsk
--
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, 29 March 2005 11:19:27 UTC