ltmain.sh not found

Dima Pasechnik dimpase+freebsd at gmail.com
Wed Apr 24 07:09:12 UTC 2019


On Wed, Apr 24, 2019 at 7:58 AM Willem Offermans
<Willem at offermans.rompen.nl> wrote:
> Almost every third port update ends with ``configure.ac:6: error: required file './ltmain.sh' not found``.
> See output below!
>
> I can copy ltmain manually: cp -p /usr/local/share/libtool/build-aux/ltmain.sh ., but this is quite
> cumbersome.
>
> Does anyone know a more elegant solution?

see https://www.gnu.org/software/automake/manual/html_node/Error-required-file-ltmain_002esh-not-found.html

That is, teach the script in question to run autoreconf, if you want
this to work.


HTH
Dima
>
>
> Erroneous example:
>
>
> => SHA256 Checksum OK for libinotify-kqueue-libinotify-kqueue-20180201_GH0.tar.gz.
> ===>  Patching for libinotify-20180201_1
> ===>   libinotify-20180201_1 depends on package: autoconf>=2.69 - found
> ===>   libinotify-20180201_1 depends on package: automake>=1.16.1 - found
> ===>   libinotify-20180201_1 depends on executable: libtoolize - found
> ===>  Configuring for libinotify-20180201_1
> configure.ac:6: installing './compile'
> configure.ac:6: installing './config.guess'
> configure.ac:6: installing './config.sub'
> configure.ac:2: installing './install-sh'
> configure.ac:6: error: required file './ltmain.sh' not found
> configure.ac:2: installing './missing'
> Makefile.am: installing './depcomp'
> autoreconf-2.69: automake failed with exit status: 1
> *** Error code 1
>
> Stop.
> make: stopped in /usr/ports/devel/libinotify
>
> ===>>> make build failed for devel/libinotify
> ===>>> Aborting update
>
> ===>>> Update for libinotify-20180201 failed
> ===>>> Aborting update
>
>
> Wiel Offermans
> Willem at Offermans.Rompen.nl
>
>
>
>
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"


More information about the freebsd-stable mailing list