Hello,
After installing glib2-config (2.56.1) the link in /opt/freeware/include/glibconfig.h points to a wrong destination:
cd /opt/freeware/include
ls -l glibconf*
lrwxrwxrwx 1 root system 46 Sep 08 09:08 glibconfig.h -> opt/freeware/lib/glib-2.0/include/glibconfig.h
For example this leads to compile errors like:
"/usr/include/glib-2.0/glib/gfileutils.h", line 26.10: 1540-0836 (S) The #include file <glibconfig.h> is not found.
"/usr/include/glib-2.0/glib/gpoll.h", line 25.10: 1540-0836 (S) The #include file <glibconfig.h> is not found.
"/usr/include/glib-2.0/glib/gtypes.h", line 32.10: 1540-0836 (S) The #include file <glibconfig.h> is not found.
"/usr/include/glib-2.0/glib/gtypes.h", line 502.2: 1540-0859 (S) #error directive: unknown ENDIAN type.
"/usr/include/glib-2.0/glib/gversionmacros.h", line 277.2: 1540-0859 (S) #error directive: "GLIB_VERSION_MIN_REQUIRED must be >= GLIB_VERSION_2_26".
After link correction in /opt/freeware/include compilation works fine.
cd /opt/freeware/include/
ln -sf ../lib/glib-2.0/include/glibconfig.h .
I think that's an error in packaging glib2-config. So, please correct it.
------------------------------
Emanuel Reisinger
------------------------------