ok so I built leafpad-0.8.17, took a while longer than I expected with a gazillion build deps, all seemed neccassary. but after a successful configure, make and make install (no errors) when attempting to run leafpad i hit a brick wall with this message
tc@box:/usr/local/bin$ leafpad
leafpad: symbol lookup error: /usr/local/lib/libgobject-2.0.so.0: undefined symbol: g_datalist_id_replace_data
these versions of libgobject are installed
tc@box:/usr/local/bin$ sudo ls -l /usr/local/lib/libgobject-2.0*
lrwxrwxrwx 1 root root 53 Jun 16 07:15 /usr/local/lib/libgobject-2 .0.la -> /tmp/tcloop/glib2-dev/usr/local/lib/libgobject-2.0.la
lrwxrwxrwx 1 root root 49 Jun 16 07:02 /usr/local/lib/libgobject-2 .0.so -> /tmp/tcloop/glib2/usr/local/lib/libgobject-2.0.so
lrwxrwxrwx 1 root root 51 Jun 16 07:02 /usr/local/lib/libgobject-2 .0.so.0 -> /tmp/tcloop/glib2/usr/local/lib/libgobject-2.0.so.0
lrwxrwxrwx 1 root root 58 Jun 16 07:02 /usr/local/lib/libgobject-2 .0.so.0.3400.1 -> /tmp/tcloop/glib2/usr/local/lib/libgobject-2.0.so.0.3400.1
tc@box:/usr/local/bin$
Any ideas please??
this is my build script
#!/bin/sh
# Build script for leafpad-0.8.17
##############################################
## place these 2 files in /tmp dir
#
#leafpad_compile.sh
#leafpad-0.8.17.tar.gz
#
# run this build script
##############################################
## load build deps
tce-load -i ncurses ncurses-dev gettext atk atk-dev libX11 libX11-dev libXft libXft-dev libXinerama \
libXcursor libXcomposite libXdamage libXfixes cairo cairo-dev expat2 expat2-dev gdk-pixbuf2 gdk-pixbuf2-dev \
glib2 glib2-dev gtk2 gtk2-dev libffi-dev libjpeg-turbo-dev libpng libpng-dev \
pango pango-dev pixman pixman-dev shared-mime-info libtiff-dev libtiff liblzma-dev liblzma \
libxcb libxcb-dev libiconv libiconv-dev intltool
## Possibly jbigkit
rm -rf /tmp/leafpad
sudo /sbin/ldconfig -v
[ -d /tmp/leafpad ] || mkdir -p /tmp/leafpad
cp ./leafpad-0.8.17.tar.gz /tmp/leafpad && tar -xvzf leafpad-0.8.17.tar.gz -C /tmp/leafpad
cd /tmp/leafpad/leafpad-0.8.17
export CFLAGS="-march=i486 -mtune=i686 -Os -pipe"
export CXXFLAGS="-march=i486 -mtune=i686 -Os -pipe -fno-exceptions -fno-rtti"
./configure --prefix=/usr/local
make
strip --strip-debug --strip-unneeded leafpad
read -p "waiting to install, press Enter to continue.."
sudo make install
for completeness there were a couple of non essencial warnings during make
warning: 'g_strcasecmp' is deprecated (declared at /usr/local/include/glib-2.0/glib/gstrfuncs.h:172) [-Wdeprecated-declarations]
the message is invalid I believe