- From: Keith Hopper <kh@waikato.ac.nz>
- Date: Mon, 25 Jun 2007 15:39:40 +1200
- To: www-amaya@w3.org
Greetings, I have been attempting to compile and run the tarball for pre3 without success on my new SuSE 10.2 installation with an AMD64x2 processor. During compilation there are literally hundreds of warnings - mainly 1. "dereferencing type-punned pointer will break strict-aliasing rules" 2. "unused variable xxfromxx" - where the characters represented by the pairs of xx seem to be non-ISO-8859 characters. 3. "'xxx' may be used uninitialized in this function". Most of these seem to appear in relation to wxWidgets with a few from redland and MathML source files. Despite these many warnings everything seemed to build correctly using gcc 4.1.2 20061115! The next thing to do was to try it as suggested in the Unix compilation notes by typing - from the directory in which built - "bin/amaya"! This doesn't, of course work as the binary is not in its installed place! Knocking up a quick shell script to invoke the real binary, I typed "bin/kh &" (for my knocked up script). Using the FVWM window Manager a skeleton window came up almost immediately for positioning. When positioned, however, as soon as I clicked on the mouse button the upper part of an Amaya window appeared - which seemed to have below the button bar, etc a left section with some panes in it as far as I could tell from the fraction of a second glance I have now seen many times - then Amaya crashed with the following X Window error message - The program 'amaya-bin' received an X Window system error. This probably reflects a bug in the program. The error was 'Bad Match (invalid parameter attributes)' (Details: serial 7400 error code 8 request code 143 minor_code 5) followed by the usual 'delayed reporting' notice. I would have tried the break at gdk_x_error as suggested but gdb said there was no such function - I even allowed for delayed loading - the program just ran to termination with the same error report. Not knowing the internals of Amaya at all I have the slight suspicion that the argument problem is to do with 64-bit register sizes in the wxWidgets code. I have available, not yet installed, packages called wxGTK and wxGTK-compat version 2.6.3.3-30 which only contains the run-time libraries and files needed by them - although compiled without Unicode support. Might it be useful to install these and, if so, would the Amaya build automatically make use of them?? Sorry about this, but I thought you might like to know before 9.55 is formally released! Regards, Keith -- Sky Development
Received on Tuesday, 26 June 2007 03:57:27 UTC