Build Errors with compilation on FC4 64bit

I'm trying to build Amaya on my Fedora Core4 system. This is a 64bit 
system and I suspect that is at the root of these problems. I run Gnome 
as my desktop and it is not clear to me whether I need specify --with-gtk.

When I
$ ../configure
$ make all

I get
...
-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: error: wwwconf.h: No such 
file or directory
../../../libwww/Library/src/wwwsys.h:1324: error: conflicting 
declaration ‘char* sys_errlist []’
/usr/include/bits/sys_errlist.h:28: error: ‘sys_errlist’ has a previous 
declaration as ‘const char* const sys_errlist []’
../../davlib/AHTLockBase.c: In function ‘BOOLEAN removeFromBase(char*, 
LockLine*)’:
../../davlib/AHTLockBase.c:964: warning: zero-length printf format string
make[1]: *** [AHTLockBase.o] Error 1
make[1]: Leaving directory 
`/home/nterry/Desktop/Amaya_Build/Amaya/GTK/davlib'


When I try
$ ../configure --with-gtk
$ make all

I get
...
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/usr/include/gtk-1.2 -I/usr/include/glib-1.2 
-I/usr/lib64/glib/include -I/usr/X11R6/include -I/usr/include -D_UNIX 
-DXML_GENERIC -D_GTK -DDAV -DHT_DAV -c ../../davlib/davlibUI.c -o davlibUI.o
../../davlib/davlibUI.c: In function ‘void 
DAVPreferencesDlg_callback(int, int, char*)’:
../../davlib/davlibUI.c:1188: error: cast from ‘char*’ to ‘int’ loses 
precision
make[1]: *** [davlibUI.o] Error 1
make[1]: Leaving directory 
`/home/nterry/Desktop/Amaya_Build/Amaya/GTK/davlib'

I'd be grateful for any advice. I have Amaya running on an old Windoze 
laptop, but would prefer it on my Linux box

Many Thanks

-- 
---------------------------------------------------------------------
Nigel J. Terry
345 Market Street West #214
Gaithersburg, MD 20878, USA
Phone: +1 301 512 4952
Skype: nterry
PGP Key: 0xA3D2F8E6
39º07.21N 077º14.17W
---------------------------------------------------------------------

Received on Wednesday, 4 January 2006 23:57:51 UTC