- From: John Murdie <john@cs.york.ac.uk>
- Date: Thu, 13 Apr 2006 16:39:32 +0100
- To: www-amaya-dev@w3.org
- Cc: John Murdie <john@cs.york.ac.uk>
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-unicode-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. 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-unicode-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"?) John A. Murdie Department of Computer Science University of York UK
Received on Thursday, 13 April 2006 15:42:51 UTC