- From: Irene Vatton <Irene.Vatton@inrialpes.fr>
- Date: Thu, 13 Apr 2006 18:32:34 +0200
- To: John Murdie <john@cs.york.ac.uk>
- Cc: www-amaya-dev@w3.org
On Thursday 13 April 2006 17:39, John Murdie wrote: > On Slackware 10.1, I see: > > $ cd /local/d0p6/john > $ tar xvfz amaya-fullsrc-9.5.tgz > .... > $ cd Amaya > $ mkdir LINUX-ELF > $ cd LINUX-ELF > $ ../configure --prefix=/usr/local/pkg/amaya-9.5 > .... > config.status: executing default commands > Amaya configured > Amaya configured with libWWW > Amaya configured with SVG support > Amaya configured with Annotations support > Amaya configured with the Redland RDF library (local source) > Amaya configured with templates support (experimental) > Amaya configured with generic XML support > Amaya configured with internationalization support > Amaya configured with OpenGL Canvas Rendering (MesaLib) > Amaya configured with WebDAV support > Amaya configured with wxWidgets {srcdir=/local/d0p6/john/wxWidgets} > > Now type "make" (GNU make preferably) to build the binaries > $ make > .... > g++ -O2 -Wall -x c++ -D__cplusplus -DHAVE_CONFIG_H -I.. -I../amaya > -I../../davlib/f -I../../a maya -I../../amaya/f -I../libwww > -I../../thotlib/include -I../../../libwww/Library/src > -I../. ./../libwww/modules/expat/lib -I../../davlib/tree/h > -I../../davlib/h -I/local/d0p6/john/wxWi dgets/src/png > -I/local/d0p6/john/wxWidgets/src/jpeg > -I/local/d0p6/john/wxWidgets/src/tiff -I/ > local/d0p6/john/Amaya/LINUX-ELF/wxWidgets_RELEASE/lib/wx/include/gtk2-unico >de-release-static- 2.6 -I/local/d0p6/john/wxWidgets/include > -I/local/d0p6/john/wxWidgets/contrib/include -DGTK_N O_CHECK_CASTS > -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 > -D_UN IX -DXML_GENERIC -D_GL -D_WX -DTEMPLATES -DDAV -DHT_DAV -c > ../../davlib/AHTLockBase.c -o AHTLockBase.o In file included from > ../../davlib/h/AHTLockBase.h:21, > from ../../davlib/AHTLockBase.c:20: > .../../../libwww/Library/src/wwwsys.h:132:21: wwwconf.h: No such file or > directory > In file included from ../../davlib/h/AHTLockBase.h:21, > from ../../davlib/AHTLockBase.c:20: > .../../../libwww/Library/src/wwwsys.h:1324: error: conflicting types for > ` > char*sys_errlist[]' > /usr/include/bits/sys_errlist.h:28: error: previous declaration as > `const char* > const sys_errlist[]' > make[1]: *** [AHTLockBase.o] Error 1 > make[1]: Leaving directory `/local/d0p6/john/Amaya/LINUX-ELF/davlib' > $ pwd > > One problem is that the top-level 'configure' did not execute the > supplied libwww's 'configure' (which it does in the case of Mesa, > wXWidgets etc). Also the various Makefiles do not have the top-level > libwww added as an include directory, so wwwconf.h is not found. I used > work-arounds for these things (do the libwww configure, link wwwconf.h > to libwww/Library/src) and the build continues. I don't understand why the libwww is not built in your case. This part of configure didn't change since several versions. Usually the libww is configured and built by the top Makefile see the section "libwww_config:" I suggest you remove all libwww directory and files in your LINUX-ELF directory and force a "make libwww" > > When you've fixed those, the next problem is that Amaya/davlib/Makefile > is not parametrised correctly with $(LIBWWW) - so the > '(cd ../libwww/Library/src ; make HTHome.o)' fails. I worked around this > by re-defining LIBWWW in the Makefile as '../../libwww'. > > Next, the compile of davlibCommon.c fails to find EDITOR.h: > > $ g++ -O2 -Wall -x c++ -D__cplusplus -DHAVE_CONFIG_H -I.. -I../amaya > -I../../davlib/f -I../../amaya -I../../amaya/f -I../libwww > -I../../thotlib/include -I../../../libwww/Library/src > -I../../../libwww/modules/expat/lib -I../../davlib/tree/h > -I../../davlib/h -I/local/d0p6/john/wxWidgets/src/png > -I/local/d0p6/john/wxWidgets/src/jpeg > -I/local/d0p6/john/wxWidgets/src/tiff > -I/local/d0p6/john/Amaya/LINUX-ELF/wxWidgets_RELEASE/lib/wx/include/gtk2-un >icode-release-static-2.6 -I/local/d0p6/john/wxWidgets/include > -I/local/d0p6/john/wxWidgets/contrib/include -DGTK_NO_CHECK_CASTS > -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 > -D_UNIX -DXML_GENERIC -D_GL -D_WX -DTEMPLATES -DDAV -DHT_DAV -c > ../../davlib/davlibCommon.c -o davlibCommon.o In file included from > ../../davlib/h/davlib.h:68, > from ../../davlib/davlibCommon.c:88: > .../../amaya/amaya.h:32:20: EDITOR.h: No such file or directory > > This one I've not been able to solve so far. > > I'll leave proper fixes for the Amaya maintainer(s) to do. > > Incidentally, the 'configure' script writes 'Now type "make" (GNU make > preferably) to build the binaries'. That quickly fails. 'make all' is > necessary, as counselled on the web page "Compiling Amaya Sources with > Autoconf" http://www.w3.org/Amaya/User/Autoconf.html. (Did the author > mean "Compiling Autoconfig-ured Amaya Sources"?) Normally "make" and "make all" should do the same, but it seems that's is different on some platforms. I'm not enough expert in that domain to explain. Someone could explain that? > > John A. Murdie > Department of Computer Science > University of York > UK -- 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 Thursday, 13 April 2006 16:35:14 UTC