[Vm-dev] libtool unrecognized option `--preserve-dup-deps'

Ben Coman btc at openinworld.com
Sun Feb 19 10:09:20 UTC 2017


I hit a snag building pharo debug VM...

$ cd build.linux32x86/pharo.cog.spur/build.debug.
$ ./mvm
"libtool: unrecognized option `--preserve-dup-deps'"

I see...
$ ./libtool --version
ltmain.sh (GNU libtool) 1.4.2 (1.922.2.53 2001/09/11 03:18:52)

but preserve-dup-deps was added a couple of months later 2001-11-27
http://git.savannah.gnu.org/cgit/libtool.git/commit/?id=5b4575cf0aee7853c6a91aa844fc2b3168476483

and libtool latest stable version is 2.5.6 (2015/02/15)


By doing... $ sudo chattr +i libtool

I found libtool was created by configure...
   rm: cannot remove 'libtool': Operation not permitted
   chmod: changing permissions of 'libtool': Operation not permitted

$ ./mvm invokes...
 ../../../platforms/unix/config/configure

in which folder is  ltmain.sh  having...
PROGRAM=ltmain.sh
PACKAGE=libtool
VERSION=1.4.2
TIMESTAMP=" (1.922.2.53 2001/09/11 03:18:52)"

What is involved in updating libtool?


btw, this is on 32-bit Debian 8 Jessie, and...
$ git log
==> Author: Eliot Miranda <eliot.miranda at gmail.com>
        Date:   Sat Feb 18 07:43:47 2017 -0800
        CogVM source as per VMMaker.oscog-eem.2134
        Move the SpurPlanningCompactor to tip.  It is now ready for prime time.

cheers -ben


More information about the Vm-dev mailing list