Re: Build Errors with compilation on FC4 64bit
"Nigel J. Terry" <[email protected]>
| Newsgroups | gmane.comp.web.amaya.devel |
|---|---|
| Message-ID | <[email protected]> |
OK, Here is more... Irene Vatton wrote: On Thursday 05 January 2006 22:53, Nigel J. Terry wrote: I made this change and tried again. I got more errors and fixed similar problems in davlib/davlibUI.c at line 1188 and annotlib/ANNOTmenu.c at lines 96 and 790 and amaya/MENUconf.c line 4130. I report these changes into the CVS version. Now it builds and delivers a binary. When I execute this I get: Gdk-ERROR **: BadValue (integer parameter out of range for operation) serial 164 error_code 2 request_code 51 minor_code 0 Could you try to execute "xset fp" in a xterm and try again to launch amaya When I did this it ran, but ran Amaya 8.8.3 which is an older version I had found on the web as a disty and installed. I've checked however and I had already removed it with yum. Weird. Whtd do you suggest next? Which version should I be running with Gnome? I'd prefer you build the WX version. If the libwww is not automatically built, you can try "make lbwww" Irène. I did the following: $ ../configure $ make libwww $ make all I got: In file included from ../../davlib/h/davlib.h:68, from ../../davlib/davlibCommon.c:88: ../../amaya/amaya.h:32:20: error: EDITOR.h: No such file or directory ../../amaya/amaya.h:34:20: error: MathML.h: No such file or directory ../../amaya/amaya.h:35:17: error: SVG.h: No such file or directory ../../amaya/amaya.h:36:22: error: TextFile.h: No such file or directory ../../amaya/amaya.h:37:17: error: XML.h: No such file or directory ../../../libwww/Library/src/HTTimer.h:65: error: ‘ms_t’ has not been declared ../../../libwww/Library/src/HTTimer.h:90: warning: ‘HTTimer_next’ initialized and declared ‘extern’ ../../../libwww/Library/src/HTTimer.h:90: error: ‘ms_t’ was not declared in this scope ../../../libwww/Library/src/HTTimer.h:90: error: ‘pSoonest’ was not declared in this scope ../../../libwww/Library/src/HTTimer.h:98: error: ‘ms_t’ has not been declared ../../../libwww/Library/src/HTTimer.h:111: error: ‘ms_t’ does not name a type ../../../libwww/Library/src/HTTimer.h:123: error: ‘ms_t’ does not name a type ../../../libwww/Library/src/HTHost.h:398: warning: ‘HTHost_setActiveTimeout’ initialized and declared ‘extern’ ../../../libwww/Library/src/HTHost.h:398: error: ‘ms_t’ was not declared in this scope ../../../libwww/Library/src/HTHost.h:399: error: ‘ms_t’ does not name a type ../../../libwww/Library/src/HTHost.h:577: error: ‘ms_t’ has not been declared ../../../libwww/Library/src/HTHost.h:578: error: ‘ms_t’ does not name a type ../../../libwww/Library/src/HTHost.h:579: error: ‘ms_t’ has not been declared ../../../libwww/Library/src/HTHost.h:596: warning: ‘HTHost_setDefaultWriteDelay’ initialized and declared ‘extern’ ../../../libwww/Library/src/HTHost.h:596: error: ‘ms_t’ was not declared in this scope ../../../libwww/Library/src/HTHost.h:597: error: ‘ms_t’ does not name a type ../../../libwww/Library/src/HTDNS.h:110: error: ‘ms_t’ has not been declared make[1]: *** [davlibCommon.o] Error 1 make[1]: Leaving directory `/home/nterry/Desktop/Amaya_Build/Amaya/obj/davlib' [nterry@homepc obj]$ When I just tried "make" not "make all" I got g++ -O2 -Wall -x c++ -D__cplusplus -D_UNIX -D_GL -D_WX -DHAVE_CONFIG_H -I.. -I../../amaya/xpm -I../../thotlib/include -I../../thotlib/internals/var -I../../thotlib/internals/h -I../../thotlib/internals/f -I/home/nterry/Desktop/Amaya_Build/wxWidgets/src/png -I/home/nterry/Desktop/Amaya_Build/wxWidgets/src/jpeg -I/home/nterry/Desktop/Amaya_Build/wxWidgets/src/tiff -I/home/nterry/Desktop/Amaya_Build/Amaya/obj/wxWidgets_RELEASE/lib/wx/include/gtk2-unicode-release-static-2.6 -I/home/nterry/Desktop/Amaya_Build/wxWidgets/include -I/home/nterry/Desktop/Amaya_Build/wxWidgets/contrib/include -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -DNO_GCC_PRAGMA -I/home/nterry/Desktop/Amaya_Build/Amaya/obj/Mesa/include -I/usr/include/freetype2 -c ../../thotlib/dialogue/AmayaNormalWindow.cpp -o dialogue/AmayaNormalWindow.o ../../thotlib/internals/h/AmayaSubPanel.h:83: error: ISO C++ forbids declaration of ‘AmayaSubPanelManager’ with no type ../../thotlib/internals/h/AmayaSubPanel.h:83: error: expected ‘;’ before ‘*’ token make[1]: *** [dialogue/AmayaNormalWindow.o] Error 1 make[1]: Leaving directory `/home/nterry/Desktop/Amaya_Build/Amaya/obj/thotlib' make: *** [thotlib] Error 2 [nterry@homepc obj]$ I've looked at this header file and I'm afraid my C++ is not good enough to know what to do.. Nigel ----- Irène Vatton INRIA Rhône-Alpes INRIA ZIRST e-mail: [email protected] 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 -- --------------------------------------------------------------------- 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 ---------------------------------------------------------------------