Closed gottaeat closed 4 years ago
$ [twin-0.8.1]: ./configure --prefix=/opt/twin --enable-hw-tty-linux=yes --enable-term=yes --enable-term-devpts=ye --enable-hw-tty=yes --enable-hw-tty-lrawkbd=yes --enable-hw-tty-twterm=yes --enable-hw-tty-termcap=yes --enable-hw-display=yes --enable-ext=yes --enable-hw-ggi=yes > ../twin-config.log 2>&1
$ [twin-0.8.1]:
$ [twin-0.8.1]: grep -i gpm ../twin-config.log
checking for library containing Gpm_Open... no
checking for Gpm_Event.wdy... yes
just saw this in the configure log, i'll try rebuilding gpm to see if that fixes anything.
ah, found it, i for some reason didn't have libgpm.so
even though i had libgpm.so.2
and libgpm.so.2.1.0
. creaing a symlink as '/usr/lib/libgpm.so' -> '/usr/lib/libgpm.so.2'
fixed the problem:
$ [lib]: doas -- ln -sfvin $PWD/libgpm.so.2 $PWD/libgpm.so
'/usr/lib/libgpm.so' -> '/usr/lib/libgpm.so.2'
$ [lib]: ls -al /usr/lib/*gpm*
lrwxrwxrwx 1 root root 20 Mar 4 01:41 /usr/lib/libgpm.so -> /usr/lib/libgpm.so.2
lrwxrwxrwx 1 root root 15 Mar 4 01:36 /usr/lib/libgpm.so.2 -> libgpm.so.2.1.0
-rwxr-xr-x 1 root root 31K Mar 4 01:37 /usr/lib/libgpm.so.2.1.0
$ [twin-0.8.1]: grep -i gpm ../twin-config.log
checking for library containing Gpm_Open... -lgpm
checking for Gpm_Event.wdy... yes
$ [twin-0.8.1]:
apologies.
on an x86_64 musl linux host, gpm support does not get built even if it is specified in the configure phase, even though the headers and libraries exist.
gpm libs and headers:
twin libraries are in the runtime linker path list:
error i'm getting:
directory listings of
$PREFIX/twin/lib
and$PREFIX/twin/lib/twin
: