I'm trying to build gtkhtml 3.0.9 on SuSE 9.0 Pro, but this applies to a whole bunch of things that use glib2 (Evolution, AbiWord2 for example...)
Thanks to a tip from Michael Stevens, I've tracked this problem down to glib/gtk being installed in the same prefix as gnome in 9.0 (/opt/gnome) Because without specifying an includedir option to configure causes it to use $prefix/include it was using /opt/gnome/include which contains glibconfig.h from glib-1.2.x (not glib2-2.2.x) The includedir is one of the first directories used, before anything learnt from pkg-config, meaning that the wrong glibconfig.h was picked up. -- James Ogley, Unix Systems Administrator, Pinnacle Insurance Plc Work: james.ogley@pinnacle.co.uk www.pinnacle.co.uk +44 (0) 20 8731 3619 Personal: james@rubberturnip.org.uk www.rubberturnip.org.uk Updated GNOME RPMs for SuSE Linux: www.usr-local-bin.org *********************************************************************** CONFIDENTIALITY. This e-mail and any attachments are confidential and may also be privileged. If you are not the named recipient, please notify the sender immediately and do not disclose the contents to another person, use it for any purpose, or store or copy the information in any medium. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Pinnacle Insurance Plc. If you have received this e-mail in error please immediately notify our Helpdesk on +44 (0) 20 8207 9555. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com **********************************************************************