Package Details: lesstif 0.95.2-8

Git Clone URL: (read-only, click to copy)
Package Base: lesstif
Description: LGPL'd re-implementation of Motif
Upstream URL:
Licenses: LGPL, MIT
Conflicts: openmotif
Submitter: bidulock
Maintainer: bidulock
Last Packager: bidulock
Votes: 7
Popularity: 0.65
First Submitted: 2017-09-07 03:09
Last Updated: 2018-06-20 17:48

Latest Comments

Dankos commented on 2018-08-07 14:45

Also works with petronny's hint: CFLAGS="$CFLAGS -L${srcdir}/${pkgname}-${pkgver}/lib/Xm-2.1/.libs" before ./configure

Can this be changed in the PKGBUILD please?

bidulock commented on 2018-06-20 17:23

Builds fine in a clean chroot.

gspu commented on 2018-06-17 13:41

Same problem here:

/usr/bin/ld: cannot find -lXm collect2: error: ld returned 1 exit status

But works with petronny's hint: CFLAGS="$CFLAGS -L${srcdir}/${pkgname}-${pkgver}/lib/Xm-2.1/.libs" before ./configure

petronny commented on 2017-10-12 07:52

I'm already building it with extra-x86_64-build.

And I still get
"/usr/bin/ld: cannot find -lXm"

Please add
CFLAGS="$CFLAGS -L${srcdir}/${pkgname}-${pkgver}/lib/Xm-2.1/.libs"
before ./configure

bidulock commented on 2017-10-10 12:42

No, openmotif conflicts with lesstif. It is also disrupting your build of lesstif. Remove openmotif or build in a clean chroot.

petronny commented on 2017-10-10 12:08

I also got the "/usr/bin/ld: cannot find -lXm" failure.
pacman -Fo /usr/lib/
usr/lib/ is owned by community/openmotif 2.3.7-1

So I think openmotif should be in depends

bidulock commented on 2017-10-04 08:38

Builds fine in a clean chroot: both architectures.

theLadder commented on 2017-10-01 11:37

I also got the "/usr/bin/ld: cannot find -lXm" failure.

I solved in a ugly way by doing this:
cd to your PKGBUILD directory
ln -s src/lesstif-0.95.2/lib/Xm-2.1/.libs/ pkg/lesstif/usr/lib/

Hopefully someone with more knowledge can solve it in a proper way.

xantares commented on 2017-09-11 17:58

I've got this failure:

==> Starting package()...
make: Entering directory '/tmp/yaourt-tmp-xantares/aur-lesstif/src/lesstif-0.95.2/lib/Mrm-2.1'
make[1]: Entering directory '/tmp/yaourt-tmp-xantares/aur-lesstif/src/lesstif-0.95.2/lib/Mrm-2.1'
test -z "/usr/lib" || mkdir -p -- "/tmp/yaourt-tmp-xantares/aur-lesstif/pkg/lesstif/usr/lib"
/bin/sh ../../libtool --mode=install /usr/bin/install -c '' '/tmp/yaourt-tmp-xantares/aur-lesstif/pkg/lesstif/usr/lib/'
libtool: install: warning: relinking `'
libtool: install: (cd /tmp/yaourt-tmp-xantares/aur-lesstif/src/lesstif-0.95.2/lib/Mrm-2.1; /bin/sh /tmp/yaourt-tmp-xantares/aur-lesstif/src/lesstif-0.95.2/libtool --tag CC --mode=relink gcc -g -O2 -o -rpath /usr/lib -version-info 2:1 -no-undefined Mrm.lo lookup.lo misc.lo ../Xm-2.1/ -lXt -lSM -lICE -lX11 -lfreetype -inst-prefix-dir /tmp/yaourt-tmp-xantares/aur-lesstif/pkg/lesstif)
libtool: relink: gcc -shared .libs/Mrm.o .libs/lookup.o .libs/misc.o -L/tmp/yaourt-tmp-xantares/aur-lesstif/pkg/lesstif/usr/lib -L/usr/lib -lXm -lXp -lXext -lXt -lSM -lICE -lX11 -lfreetype -Wl,-soname -Wl, -o .libs/
/usr/bin/ld: cannot find -lXm