You are not logged in.

#1 2015-02-21 12:25:45

bus
Member
Registered: 2014-10-12
Posts: 25

Libtool is installed, but it doesn't work

I have both libtool and lib32-libltdl installed on my Arch x86_64 machine, but nothing that requires them compiles from AUR. That includes things like libpng12 and msgpack-git-neovim, which were building perfectly a couple of weeks ago (and I didn't change anything major since then). The same packages compile on my Arch ARM Raspberry Pi just fine, so it's not a problem with the packages themselves.
This is the output of yaourt during the build:

==> Extracting sources...
  -> Extracting libpng-1.2.52.tar.xz with bsdtar
  -> Extracting libpng-1.2.52-apng.patch.gz with gzip
==> Starting build()...
patching file pngread.c
patching file pngget.c
patching file png.c
patching file png.h
patching file pngwrite.c
patching file pngconf.h
patching file pngpread.c
patching file pngset.c
patching file pngrutil.c
patching file pngwutil.c
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: You should add the contents of the following files to 'aclocal.m4':
libtoolize:   '/usr/share/aclocal/libtool.m4'
libtoolize:   '/usr/share/aclocal/ltoptions.m4'
libtoolize:   '/usr/share/aclocal/ltversion.m4'
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
libtoolize: and rerunning libtoolize and aclocal.
libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
configure.ac:38: error: possibly undefined macro: AC_PROG_LD
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:41: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL
configure.ac:45: error: possibly undefined macro: AC_PROG_LIBTOOL
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Makepkg was unable to build libpng12.

Output lines from libtoolize are the same on the RPi, but it doesn't throw any errors after them.
Of course I tried force-reinstalling both libtools, but it didn't help.
What should I do to fix this?

Offline

#2 2015-02-21 13:17:04

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Libtool is installed, but it doesn't work

Does it work when you use just makepkg? Post your /etc/makepkg.conf.
https://aur.archlinux.org/packages/libpng12/ builds fine on my 32-bit Arch with [testing] repos enabled.

Offline

#3 2015-02-21 13:23:43

bus
Member
Registered: 2014-10-12
Posts: 25

Re: Libtool is installed, but it doesn't work

It's exactly the same if I use makepkg.

#
# /etc/makepkg.conf
#

#########################################################################
# SOURCE ACQUISITION
#########################################################################
#
#-- The download utilities that makepkg should use to acquire sources
#  Format: 'protocol::agent'
DLAGENTS=('ftp::/usr/bin/curl -fC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u'
          'http::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o %o %u'
          'https::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o %o %u'
          'rsync::/usr/bin/rsync --no-motd -z %u %o'
          'scp::/usr/bin/scp -C %u %o')

# Other common tools:
# /usr/bin/snarf
# /usr/bin/lftpget -c
# /usr/bin/wget

#-- The package required by makepkg to download VCS sources
#  Format: 'protocol::package'
VCSCLIENTS=('bzr::bzr'
            'git::git'
            'hg::mercurial'
            'svn::subversion')

#########################################################################
# ARCHITECTURE, COMPILE FLAGS
#########################################################################
#
CARCH="x86_64"
CHOST="x86_64-unknown-linux-gnu"

#-- Compiler and Linker Flags
# -march (or -mcpu) builds exclusively for an architecture
# -mtune optimizes for an architecture, but builds for whole processor family
CPPFLAGS="-D_FORTIFY_SOURCE=2"
CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4"
CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4"
LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro"
#-- Make Flags: change this for DistCC/SMP systems
#MAKEFLAGS="-j2"
#-- Debugging flags
DEBUG_CFLAGS="-g -fvar-tracking-assignments"
DEBUG_CXXFLAGS="-g -fvar-tracking-assignments"

#########################################################################
# BUILD ENVIRONMENT
#########################################################################
#
# Defaults: BUILDENV=(!distcc color !ccache check !sign)
#  A negated environment option will do the opposite of the comments below.
#
#-- distcc:   Use the Distributed C/C++/ObjC compiler
#-- color:    Colorize output messages
#-- ccache:   Use ccache to cache compilation
#-- check:    Run the check() function if present in the PKGBUILD
#-- sign:     Generate PGP signature file
#
BUILDENV=(!distcc color !ccache check !sign)
#
#-- If using DistCC, your MAKEFLAGS will also need modification. In addition,
#-- specify a space-delimited list of hosts running in the DistCC cluster.
#DISTCC_HOSTS=""
#
#-- Specify a directory for package building.
#BUILDDIR=/tmp/makepkg

#########################################################################
# GLOBAL PACKAGE OPTIONS
#   These are default values for the options=() settings
#########################################################################
#
# Default: OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !upx !debug)
#  A negated option will do the opposite of the comments below.
#
#-- strip:      Strip symbols from binaries/libraries
#-- docs:       Save doc directories specified by DOC_DIRS
#-- libtool:    Leave libtool (.la) files in packages
#-- staticlibs: Leave static library (.a) files in packages
#-- emptydirs:  Leave empty directories in packages
#-- zipman:     Compress manual (man and info) pages in MAN_DIRS with gzip
#-- purge:      Remove files specified by PURGE_TARGETS
#-- upx:        Compress binary executable files using UPX
#-- debug:      Add debugging flags as specified in DEBUG_* variables
#
OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !upx !debug)

#-- File integrity checks to use. Valid: md5, sha1, sha256, sha384, sha512
INTEGRITY_CHECK=(md5)
#-- Options to be used when stripping binaries. See `man strip' for details.
STRIP_BINARIES="--strip-all"
#-- Options to be used when stripping shared libraries. See `man strip' for details.
STRIP_SHARED="--strip-unneeded"
#-- Options to be used when stripping static libraries. See `man strip' for details.
STRIP_STATIC="--strip-debug"
#-- Manual (man and info) directories to compress (if zipman is specified)
MAN_DIRS=({usr{,/local}{,/share},opt/*}/{man,info})
#-- Doc directories to remove (if !docs is specified)
DOC_DIRS=(usr/{,local/}{,share/}{doc,gtk-doc} opt/*/{doc,gtk-doc})
#-- Files to be removed from all packages (if purge is specified)
PURGE_TARGETS=(usr/{,share}/info/dir .packlist *.pod)

#########################################################################
# PACKAGE OUTPUT
#########################################################################
#
# Default: put built package and cached source in build directory
#
#-- Destination: specify a fixed directory where all packages will be placed
#PKGDEST=/home/packages
#-- Source cache: specify a fixed directory where source files will be cached
#SRCDEST=/home/sources
#-- Source packages: specify a fixed directory where all src packages will be placed
#SRCPKGDEST=/home/srcpackages
#-- Log files: specify a fixed directory where all log files will be placed
#LOGDEST=/home/makepkglogs
#-- Packager: name/email of the person or organization building packages
#PACKAGER="John Doe <john@doe.com>"
#-- Specify a key to use for package signing
#GPGKEY=""

#########################################################################
# COMPRESSION DEFAULTS
#########################################################################
#
COMPRESSGZ=(gzip -c -f -n)
COMPRESSBZ2=(bzip2 -c -f)
COMPRESSXZ=(xz -c -z -)
COMPRESSLRZ=(lrzip -q)
COMPRESSLZO=(lzop -q)
COMPRESSZ=(compress -c -f)

#########################################################################
# EXTENSION DEFAULTS
#########################################################################
#
# WARNING: Do NOT modify these variables unless you know what you are
#          doing.
#
PKGEXT='.pkg.tar.xz'
SRCEXT='.src.tar.gz'

# vim: set ft=sh ts=2 sw=2 et:

Offline

#4 2015-02-21 15:49:28

anatolik
Developer
Registered: 2012-09-27
Posts: 458

Re: Libtool is installed, but it doesn't work

Make sure base-devel is installed https://wiki.archlinux.org/index.php/Ar … requisites


Read it before posting http://www.catb.org/esr/faqs/smart-questions.html
Ruby gems repository done right https://bbs.archlinux.org/viewtopic.php?id=182729
Fast initramfs generator with security in mind https://wiki.archlinux.org/index.php/Booster

Offline

#5 2015-02-21 15:53:18

bus
Member
Registered: 2014-10-12
Posts: 25

Re: Libtool is installed, but it doesn't work

anatolik wrote:

Yes, of course it is installed. I've just re-installed it and the result is exactly the same.

Offline

#6 2015-02-24 11:22:31

bus
Member
Registered: 2014-10-12
Posts: 25

Re: Libtool is installed, but it doesn't work

[Sorry for bumping, didn't read the rules.]

Last edited by bus (2015-02-24 11:24:36)

Offline

#7 2015-02-24 13:00:37

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,885
Website

Re: Libtool is installed, but it doesn't work

Try building it with a clean $src directory (makepkg -C).

Also, what version of libtool are you using? (libtoolize --version)


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#8 2015-02-24 13:05:35

bus
Member
Registered: 2014-10-12
Posts: 25

Re: Libtool is installed, but it doesn't work

makepkg -C gives exactly the same result.
libtool is 2.4.5.

Offline

#9 2015-02-24 19:00:05

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,212

Re: Libtool is installed, but it doesn't work

bus wrote:

I have both libtool and lib32-libltdl installed on my Arch x86_64 machine

Does libltdl conflict with libtool?

Offline

#10 2015-02-24 19:07:17

bus
Member
Registered: 2014-10-12
Posts: 25

Re: Libtool is installed, but it doesn't work

Um, no. They don't appear to conflict, as far as I understand.

$ yaourt -S libtool libltdl lib32-libltdl

warning: libtool-2.4.5-1 is up to date -- reinstalling
warning: skipping target: libtool
warning: lib32-libltdl-2.4.5-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (2) lib32-libltdl-2.4.5-1  libtool-2.4.5-1

Total Installed Size:  2.25 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n]

Offline

#11 2015-02-24 19:16:08

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,212

Re: Libtool is installed, but it doesn't work

Oh right, libtool provides libltdl.  Your issue is strange as libpng12 builds fine over here as well on a clean arch install 32bit.

Offline

#12 2015-02-24 19:53:06

bus
Member
Registered: 2014-10-12
Posts: 25

Re: Libtool is installed, but it doesn't work

This is my first Arch installation and I've had it for almost a year, so there's a possibility that I've messed something up myself and didn't realize it. I don't want to reinstall everything though.

Offline

#13 2015-02-24 20:19:11

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,885
Website

Re: Libtool is installed, but it doesn't work

Have you got anything in your shell config files that may be causing problems?


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#14 2015-02-25 13:09:30

bus
Member
Registered: 2014-10-12
Posts: 25

Re: Libtool is installed, but it doesn't work

Nope, I've never really changed much there, especially not between a month ago when everything was compiling properly and now.

Offline

#15 2015-02-26 07:51:48

mauritiusdadd
Member
From: Benevento, Italy
Registered: 2013-10-27
Posts: 776

Re: Libtool is installed, but it doesn't work

Hi bus,
can you post the output of the following commands?

ls -l /usr/bin/aclocal
aclocal --print-ac-dir
pacman -Qo /usr/share/aclocal/libtool.m4
pacman -Qo /usr/bin/aclocal

Can you also edit the PKGBUILD according to the following code, and then post the output?

build() {
  cd "${srcdir}/${_realname}-${pkgver}"

  patch -Np0 -i "${srcdir}/libpng-${pkgver}-apng.patch"
  libtoolize --force --copy
  aclocal --print-ac-dir
  aclocal --verbose
  autoconf
  automake --add-missing

  ./configure --prefix=/usr

  make ECHO=echo
}

Last edited by mauritiusdadd (2015-02-26 08:04:45)


About me - github

-- When you have eliminated the impossible, whatever remains, however improbable, must be the truth -- Spock | Sherlock Holmes

Offline

#16 2015-02-26 15:58:21

bus
Member
Registered: 2014-10-12
Posts: 25

Re: Libtool is installed, but it doesn't work

$ ls -l /usr/bin/aclocal
-rwxr-xr-x 2 root root 36792 Jan 25 14:34 /usr/bin/aclocal

$ aclocal --print-ac-dir
/usr/local/share/aclocal

$ pacman -Qo /usr/share/aclocal/libtool.m4
/usr/share/aclocal/libtool.m4 is owned by libtool 2.4.5-1

$ pacman -Qo /usr/bin/aclocal
/usr/bin/aclocal is owned by automake 1.15-1
==> Making package: libpng12 1.2.52-1 (Thu Feb 26 21:51:27 NOVT 2015)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found libpng-1.2.52.tar.xz
  -> Found libpng-1.2.52-apng.patch.gz
==> Validating source files with md5sums...
    libpng-1.2.52.tar.xz ... Passed
    libpng-1.2.52-apng.patch.gz ... Passed
==> Extracting sources...
  -> Extracting libpng-1.2.52.tar.xz with bsdtar
  -> Extracting libpng-1.2.52-apng.patch.gz with gzip
==> Removing existing $pkgdir/ directory...
==> Starting build()...
patching file pngread.c
patching file pngget.c
patching file png.c
patching file png.h
patching file pngwrite.c
patching file pngconf.h
patching file pngpread.c
patching file pngset.c
patching file pngrutil.c
patching file pngwutil.c
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: You should add the contents of the following files to 'aclocal.m4':
libtoolize:   '/usr/share/aclocal/libtool.m4'
libtoolize:   '/usr/share/aclocal/ltoptions.m4'
libtoolize:   '/usr/share/aclocal/ltversion.m4'
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
libtoolize: and rerunning libtoolize and aclocal.
libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
/usr/local/share/aclocal
aclocal: found macro AM_PROG_VALAC in /usr/local/share/aclocal-1.14/vala.m4: 21
aclocal: found macro AM_PROG_UPC in /usr/local/share/aclocal-1.14/upc.m4: 9
aclocal: found macro _AM_PROG_TAR in /usr/local/share/aclocal-1.14/tar.m4: 23
aclocal: found macro _AM_SUBST_NOTMAKE in /usr/local/share/aclocal-1.14/substnot.m4: 12
aclocal: found macro AM_SUBST_NOTMAKE in /usr/local/share/aclocal-1.14/substnot.m4: 17
aclocal: found macro AM_PROG_INSTALL_STRIP in /usr/local/share/aclocal-1.14/strip.m4: 17
aclocal: found macro AM_SILENT_RULES in /usr/local/share/aclocal-1.14/silent.m4: 12
aclocal: found macro AM_SANITY_CHECK in /usr/local/share/aclocal-1.14/sanity.m4: 11
aclocal: found macro AM_RUN_LOG in /usr/local/share/aclocal-1.14/runlog.m4: 12
aclocal: found macro AM_PATH_PYTHON in /usr/local/share/aclocal-1.14/python.m4: 35
aclocal: found macro AM_PYTHON_CHECK_VERSION in /usr/local/share/aclocal-1.14/python.m4: 229
aclocal: found macro _AM_PROG_CC_C_O in /usr/local/share/aclocal-1.14/prog-cc-c-o.m4: 12
aclocal: found macro AM_PROG_CC_C_O in /usr/local/share/aclocal-1.14/prog-cc-c-o.m4: 47
aclocal: found macro _AM_MANGLE_OPTION in /usr/local/share/aclocal-1.14/options.m4: 11
aclocal: found macro _AM_SET_OPTION in /usr/local/share/aclocal-1.14/options.m4: 17
aclocal: found macro _AM_SET_OPTIONS in /usr/local/share/aclocal-1.14/options.m4: 23
aclocal: found macro _AM_IF_OPTION in /usr/local/share/aclocal-1.14/options.m4: 29
aclocal: found macro AM_CONFIG_HEADER in /usr/local/share/aclocal-1.14/obsolete.m4: 11
aclocal: found macro AM_PROG_CC_STDC in /usr/local/share/aclocal-1.14/obsolete.m4: 17
aclocal: found macro AM_C_PROTOTYPES in /usr/local/share/aclocal-1.14/obsolete.m4: 26
aclocal: found macro fp_C_PROTOTYPES in /usr/local/share/aclocal-1.14/obsolete.m4: 28
aclocal: found macro AM_PROG_MKDIR_P in /usr/local/share/aclocal-1.14/mkdirp.m4: 11
aclocal: found macro AM_MISSING_PROG in /usr/local/share/aclocal-1.14/missing.m4: 11
aclocal: found macro AM_MISSING_HAS_RUN in /usr/local/share/aclocal-1.14/missing.m4: 20
aclocal: found macro AM_MAKE_INCLUDE in /usr/local/share/aclocal-1.14/make.m4: 12
aclocal: found macro AM_MAINTAINER_MODE in /usr/local/share/aclocal-1.14/maintainer.m4: 16
aclocal: found macro AM_PATH_LISPDIR in /usr/local/share/aclocal-1.14/lispdir.m4: 14
aclocal: found macro AM_PROG_LEX in /usr/local/share/aclocal-1.14/lex.m4: 13
aclocal: found macro AM_SET_LEADING_DOT in /usr/local/share/aclocal-1.14/lead-dot.m4: 10
aclocal: found macro AM_PROG_INSTALL_SH in /usr/local/share/aclocal-1.14/install-sh.m4: 11
aclocal: found macro AM_INIT_AUTOMAKE in /usr/local/share/aclocal-1.14/init.m4: 29
aclocal: found macro _AC_AM_CONFIG_HEADER_HOOK in /usr/local/share/aclocal-1.14/init.m4: 182
aclocal: found macro AM_PROG_GCJ in /usr/local/share/aclocal-1.14/gcj.m4: 10
aclocal: found macro AM_EXTRA_RECURSIVE_TARGETS in /usr/local/share/aclocal-1.14/extra-recurs.m4: 16
aclocal: found macro AM_WITH_DMALLOC in /usr/local/share/aclocal-1.14/dmalloc.m4: 12
aclocal: found macro _AM_OUTPUT_DEPENDENCY_COMMANDS in /usr/local/share/aclocal-1.14/depout.m4: 12
aclocal: found macro AM_OUTPUT_DEPENDENCY_COMMANDS in /usr/local/share/aclocal-1.14/depout.m4: 71
aclocal: found macro _AM_DEPENDENCIES in /usr/local/share/aclocal-1.14/depend.m4: 26
aclocal: found macro AM_SET_DEPDIR in /usr/local/share/aclocal-1.14/depend.m4: 163
aclocal: found macro AM_DEP_TRACK in /usr/local/share/aclocal-1.14/depend.m4: 171
aclocal: found macro AM_CONDITIONAL in /usr/local/share/aclocal-1.14/cond.m4: 12
aclocal: found macro AM_COND_IF in /usr/local/share/aclocal-1.14/cond-if.m4: 23
aclocal: found macro AM_AUX_DIR_EXPAND in /usr/local/share/aclocal-1.14/auxdir.m4: 47
aclocal: found macro AM_PROG_AS in /usr/local/share/aclocal-1.14/as.m4: 11
aclocal: found macro AM_PROG_AR in /usr/local/share/aclocal-1.14/ar-lib.m4: 13
aclocal: found macro AM_AUTOMAKE_VERSION in /usr/local/share/aclocal-1.14/amversion.m4: 14
aclocal: found macro AM_SET_CURRENT_AUTOMAKE_VERSION in /usr/local/share/aclocal-1.14/amversion.m4: 33
aclocal: saw macro AM_INIT_AUTOMAKE
aclocal: saw macro _AM_PROG_CC_C_O
aclocal: saw macro _AM_PROG_CC_C_O
aclocal: saw macro AM_AUX_DIR_EXPAND
aclocal: saw macro AM_AUX_DIR_EXPAND
aclocal: saw macro AM_RUN_LOG
aclocal: saw macro AM_RUN_LOG
aclocal: saw macro AM_PROG_CC_C_O
aclocal: saw macro AM_AUX_DIR_EXPAND
aclocal: saw macro AM_INIT_AUTOMAKE
aclocal: saw macro AM_SET_CURRENT_AUTOMAKE_VERSION
aclocal: saw macro AM_AUTOMAKE_VERSION
aclocal: saw macro AM_INIT_AUTOMAKE
aclocal: saw macro AM_SET_CURRENT_AUTOMAKE_VERSION
aclocal: saw macro AM_AUTOMAKE_VERSION
aclocal: saw macro _AM_SUBST_NOTMAKE
aclocal: saw macro _AM_SUBST_NOTMAKE
aclocal: saw macro _AM_SUBST_NOTMAKE
aclocal: saw macro AM_SUBST_NOTMAKE
aclocal: saw macro _AM_SET_OPTION
aclocal: saw macro _AM_MANGLE_OPTION
aclocal: saw macro _AM_SET_OPTION
aclocal: saw macro _AM_MANGLE_OPTION
aclocal: saw macro _AM_SET_OPTIONS
aclocal: saw macro _AM_SET_OPTION
aclocal: saw macro _AM_IF_OPTION
aclocal: saw macro _AM_MANGLE_OPTION
aclocal: saw macro _AM_SET_OPTIONS
aclocal: saw macro _AM_IF_OPTION
aclocal: saw macro AM_SANITY_CHECK
aclocal: saw macro AM_SANITY_CHECK
aclocal: saw macro AM_MISSING_PROG
aclocal: saw macro AM_MISSING_PROG
aclocal: saw macro AM_MISSING_HAS_RUN
aclocal: saw macro AM_MISSING_HAS_RUN
aclocal: saw macro AM_AUX_DIR_EXPAND
aclocal: saw macro AM_MISSING_HAS_RUN
aclocal: saw macro AM_AUX_DIR_EXPAND
aclocal: saw macro AM_MISSING_PROG
aclocal: saw macro AM_MISSING_PROG
aclocal: saw macro AM_MISSING_PROG
aclocal: saw macro AM_MISSING_PROG
aclocal: saw macro AM_PROG_INSTALL_SH
aclocal: saw macro AM_PROG_INSTALL_SH
aclocal: saw macro AM_AUX_DIR_EXPAND
aclocal: saw macro AM_AUX_DIR_EXPAND
aclocal: saw macro AM_PROG_INSTALL_STRIP
aclocal: saw macro AM_PROG_INSTALL_STRIP
aclocal: saw macro AM_PROG_INSTALL_SH
aclocal: saw macro AM_PROG_INSTALL_SH
aclocal: saw macro AM_SET_LEADING_DOT
aclocal: saw macro AM_SET_LEADING_DOT
aclocal: saw macro _AM_PROG_TAR
aclocal: saw macro _AM_PROG_TAR
aclocal: saw macro AM_RUN_LOG
aclocal: saw macro AM_RUN_LOG
aclocal: saw macro AM_RUN_LOG
aclocal: saw macro AM_RUN_LOG
aclocal: saw macro _AM_IF_OPTION
aclocal: saw macro _AM_PROG_TAR
aclocal: saw macro _AM_IF_OPTION
aclocal: saw macro _AM_PROG_TAR
aclocal: saw macro _AM_IF_OPTION
aclocal: saw macro _AM_DEPENDENCIES
aclocal: saw macro _AM_DEPENDENCIES
aclocal: saw macro AM_SET_DEPDIR
aclocal: saw macro AM_OUTPUT_DEPENDENCY_COMMANDS
aclocal: saw macro _AM_OUTPUT_DEPENDENCY_COMMANDS
aclocal: saw macro AM_OUTPUT_DEPENDENCY_COMMANDS
aclocal: saw macro _AM_OUTPUT_DEPENDENCY_COMMANDS
aclocal: saw macro AM_MAKE_INCLUDE
aclocal: saw macro AM_MAKE_INCLUDE
aclocal: saw macro AM_DEP_TRACK
aclocal: saw macro AM_CONDITIONAL
aclocal: saw macro AM_CONDITIONAL
aclocal: saw macro _AM_SUBST_NOTMAKE
aclocal: saw macro _AM_SUBST_NOTMAKE
aclocal: saw macro AM_SET_DEPDIR
aclocal: saw macro AM_SET_LEADING_DOT
aclocal: saw macro AM_DEP_TRACK
aclocal: saw macro AM_CONDITIONAL
aclocal: saw macro _AM_SUBST_NOTMAKE
aclocal: saw macro _AM_SUBST_NOTMAKE
aclocal: saw macro AM_SET_DEPDIR
aclocal: saw macro AM_OUTPUT_DEPENDENCY_COMMANDS
aclocal: saw macro AM_MAKE_INCLUDE
aclocal: saw macro AM_DEP_TRACK
aclocal: saw macro AM_SET_LEADING_DOT
aclocal: saw macro _AM_DEPENDENCIES
aclocal: saw macro _AM_DEPENDENCIES
aclocal: saw macro _AM_DEPENDENCIES
aclocal: saw macro _AM_DEPENDENCIES
aclocal: saw macro _AM_DEPENDENCIES
aclocal: saw macro _AM_DEPENDENCIES
aclocal: saw macro _AM_DEPENDENCIES
aclocal: saw macro AM_SILENT_RULES
aclocal: saw macro AM_SILENT_RULES
aclocal: saw macro AM_SUBST_NOTMAKE
aclocal: saw macro AM_SUBST_NOTMAKE
aclocal: saw macro _AM_SUBST_NOTMAKE
aclocal: saw macro AM_CONDITIONAL
aclocal: saw macro _AC_AM_CONFIG_HEADER_HOOK
aclocal: saw macro AM_SET_CURRENT_AUTOMAKE_VERSION
aclocal: saw macro AM_SANITY_CHECK
aclocal: saw macro AM_PROG_INSTALL_SH
aclocal: saw macro AM_PROG_INSTALL_STRIP
aclocal: saw macro AM_SET_LEADING_DOT
aclocal: saw macro AM_SILENT_RULES
aclocal: saw macro AM_MAINTAINER_MODE
aclocal: saw macro AM_MAINTAINER_MODE
aclocal: saw macro AM_CONDITIONAL
aclocal: saw macro AM_CONDITIONAL
aclocal: running echo 'm4_define([m4_require_silent_probe], [-])' | autom4te --language Autoconf-without-aclocal-m4  - /usr/local/share/aclocal-1.14/internal/ac-config-macro-dirs.m4 '/usr/local/share/aclocal-1.14/amversion.m4' '/usr/local/share/aclocal-1.14/auxdir.m4' '/usr/local/share/aclocal-1.14/cond.m4' '/usr/local/share/aclocal-1.14/depend.m4' '/usr/local/share/aclocal-1.14/depout.m4' '/usr/local/share/aclocal-1.14/init.m4' '/usr/local/share/aclocal-1.14/install-sh.m4' '/usr/local/share/aclocal-1.14/lead-dot.m4' '/usr/local/share/aclocal-1.14/maintainer.m4' '/usr/local/share/aclocal-1.14/make.m4' '/usr/local/share/aclocal-1.14/missing.m4' '/usr/local/share/aclocal-1.14/options.m4' '/usr/local/share/aclocal-1.14/prog-cc-c-o.m4' '/usr/local/share/aclocal-1.14/runlog.m4' '/usr/local/share/aclocal-1.14/sanity.m4' '/usr/local/share/aclocal-1.14/silent.m4' '/usr/local/share/aclocal-1.14/strip.m4' '/usr/local/share/aclocal-1.14/substnot.m4' '/usr/local/share/aclocal-1.14/tar.m4' --trace='AC_DEFUN:$f::$n::${::}%' --trace='AC_DEFUN_ONCE:$f::$n::${::}%' --trace='AU_DEFUN:$f::$n::${::}%' --trace='_AM_AUTOCONF_VERSION:$f::$n::${::}%' --trace='AC_CONFIG_MACRO_DIR_TRACE:$f::$n::${::}%' --trace='AC_CONFIG_MACRO_DIR:$f::$n::${::}%' --trace='_AM_CONFIG_MACRO_DIRS:$f::$n::${::}%' --trace='_AM_SUBST_NOTMAKE:$f::$n' --trace='AM_DEP_TRACK:$f::$n' --trace='AM_SET_DEPDIR:$f::$n' --trace='AM_SET_LEADING_DOT:$f::$n' --trace='AM_PROG_INSTALL_SH:$f::$n' --trace='AM_MISSING_PROG:$f::$n' --trace='_AM_PROG_TAR:$f::$n' --trace='_AM_IF_OPTION:$f::$n' --trace='AM_MAINTAINER_MODE:$f::$n' --trace='AM_AUTOMAKE_VERSION:$f::$n' --trace='AM_CONDITIONAL:$f::$n' --trace='_AM_DEPENDENCIES:$f::$n' --trace='_AM_OUTPUT_DEPENDENCY_COMMANDS:$f::$n' --trace='AM_PROG_CC_C_O:$f::$n' --trace='AM_RUN_LOG:$f::$n' --trace='AM_SANITY_CHECK:$f::$n' --trace='_AC_AM_CONFIG_HEADER_HOOK:$f::$n' --trace='AM_MAKE_INCLUDE:$f::$n' --trace='AM_SILENT_RULES:$f::$n' --trace='AM_OUTPUT_DEPENDENCY_COMMANDS:$f::$n' --trace='AM_SUBST_NOTMAKE:$f::$n' --trace='AM_AUX_DIR_EXPAND:$f::$n' --trace='_AM_SET_OPTIONS:$f::$n' --trace='AM_PROG_INSTALL_STRIP:$f::$n' --trace='_AM_MANGLE_OPTION:$f::$n' --trace='_AM_PROG_CC_C_O:$f::$n' --trace='AM_INIT_AUTOMAKE:$f::$n' --trace='_AM_SET_OPTION:$f::$n' --trace='AM_MISSING_HAS_RUN:$f::$n' --trace='AM_SET_CURRENT_AUTOMAKE_VERSION:$f::$n' configure.ac
aclocal: writing aclocal.m4
configure.ac:38: error: possibly undefined macro: AC_PROG_LD
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:41: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL
configure.ac:45: error: possibly undefined macro: AC_PROG_LIBTOOL
==> ERROR: A failure occurred in build().
    Aborting...

Offline

#17 2015-02-26 16:15:47

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,885
Website

Re: Libtool is installed, but it doesn't work

Looks like mauritiusdadd is on to something. What owns /usr/local/share/aclocal and /usr/local/share/aclocal-1.14?

pacman -Qo /usr/local/share/aclocal /usr/local/share/aclocal-1.14

Have you installed a local copy of automake 1.14? It appears to be the source of the problem.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#18 2015-02-26 16:24:59

bus
Member
Registered: 2014-10-12
Posts: 25

Re: Libtool is installed, but it doesn't work

I don't remember doing that, but it looks like you're right.

$ pacman -Qo /usr/local/share/aclocal /usr/local/share/aclocal-1.14
error: No package owns /usr/local/share/aclocal
error: No package owns /usr/local/share/aclocal-1.14

So what's the correct way of fixing this?

Offline

#19 2015-02-26 16:49:31

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,885
Website

Re: Libtool is installed, but it doesn't work

Looks like you installed it with 'make install', so the correct way would be to check whether the Makefile also has a uninstall recipe and use that. Of course, if you don't remember installing it, chances are you don't know where the Makefile is, so you'll probably need to resort to a manual cleanup.

The best way of doing that is to take a look at what the pacman-tracked autotools installs, then see whether these files exist under the /usr/local prefix. (so remove /usr/local/bin/aclocal, /usr/local/share/aclocal-1.14/, /usr/local/share/doc/automake/, etc.).

Take care when removing directories. You don't want to remove e.g. /usr/local/share, because that's owned by the filesystem package.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#20 2015-02-26 17:12:04

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,212

Re: Libtool is installed, but it doesn't work

bus wrote:

I don't remember doing that, but it looks like you're right.

$ pacman -Qo /usr/local/share/aclocal /usr/local/share/aclocal-1.14
error: No package owns /usr/local/share/aclocal
error: No package owns /usr/local/share/aclocal-1.14

So what's the correct way of fixing this?

Strange.  Mine is located in /usr/share/aclocal*

$ pacman -Qo /usr/share/aclocal /usr/share/aclocal-1.15         
/usr/share/aclocal/ is owned by aalib 1.4rc5-10
/usr/share/aclocal/ is owned by alsa-lib 1.0.28-1
/usr/share/aclocal/ is owned by automake 1.15-1
/usr/share/aclocal/ is owned by bison 3.0.4-1
/usr/share/aclocal/ is owned by cmake 3.1.3-1
/usr/share/aclocal/ is owned by curl 7.40.0-1
/usr/share/aclocal/ is owned by flac 1.3.1-1
/usr/share/aclocal/ is owned by freetype2-infinality-ultimate 2.5.5-2
/usr/share/aclocal/ is owned by gconf 3.2.6-3
/usr/share/aclocal/ is owned by gettext 0.19.4-1
/usr/share/aclocal/ is owned by gimp 2.8.14-1
/usr/share/aclocal/ is owned by glib2 2.42.1-1
/usr/share/aclocal/ is owned by gobject-introspection 1.42.0-1
/usr/share/aclocal/ is owned by gpgme 1.5.3-1
/usr/share/aclocal/ is owned by gstreamer 1.4.5-1
/usr/share/aclocal/ is owned by gstreamer0.10 0.10.36-4
/usr/share/aclocal/ is owned by gtk2 2.24.26-1
/usr/share/aclocal/ is owned by gtk3 3.14.8-1
/usr/share/aclocal/ is owned by guile 2.0.11-2
/usr/share/aclocal/ is owned by intltool 0.50.2-2
/usr/share/aclocal/ is owned by krb5 1.13.1-1
/usr/share/aclocal/ is owned by libao 1.2.0-1
/usr/share/aclocal/ is owned by libassuan 2.1.3-1
/usr/share/aclocal/ is owned by libcap-ng 0.7.4-1
/usr/share/aclocal/ is owned by libgcrypt 1.6.2-1
/usr/share/aclocal/ is owned by libgpg-error 1.18-1
/usr/share/aclocal/ is owned by libksba 1.3.2-1
/usr/share/aclocal/ is owned by libmikmod 3.3.7-1
/usr/share/aclocal/ is owned by libogg 1.3.2-1
/usr/share/aclocal/ is owned by libshout 1:2.3.1-2
/usr/share/aclocal/ is owned by libtool 2.4.5-1
/usr/share/aclocal/ is owned by libvorbis 1.3.4-1
/usr/share/aclocal/ is owned by libxml2 2.9.2-2
/usr/share/aclocal/ is owned by libxslt 1.1.28-3
/usr/share/aclocal/ is owned by npth 1.1-1
/usr/share/aclocal/ is owned by nspr 4.10.8-1
/usr/share/aclocal/ is owned by openexr 2.1.0-1
/usr/share/aclocal/ is owned by opus 1.1-1
/usr/share/aclocal/ is owned by orc 0.4.23-1
/usr/share/aclocal/ is owned by pkg-config 0.28-2
/usr/share/aclocal/ is owned by pth 2.0.7-5
/usr/share/aclocal/ is owned by sdl 1.2.15-7
/usr/share/aclocal/ is owned by smpeg 0.4.5-1
/usr/share/aclocal/ is owned by soundtouch 1.8.0-1
/usr/share/aclocal/ is owned by speex 1.2rc2-1
/usr/share/aclocal/ is owned by vala 0.26.2-1
/usr/share/aclocal/ is owned by wayland 1.7.0-1
/usr/share/aclocal/ is owned by wxgtk 3.0.2-2
/usr/share/aclocal/ is owned by xorg-font-util 1.3.0-2
/usr/share/aclocal/ is owned by xorg-server-devel 1.17.1-3
/usr/share/aclocal/ is owned by xorg-util-macros 1.19.0-1
/usr/share/aclocal-1.15/ is owned by automake 1.15-1

As a side question, does anyone have anything in /usr/share/local/ ? I only have my dwm man page there.

Offline

#21 2015-02-26 20:27:41

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Libtool is installed, but it doesn't work

I keep my dwm's man page in /usr/share/man/ .

$ ls /usr/share/local/
ls: cannot access /usr/share/local/: No such file or directory

Offline

Board footer

Powered by FluxBB