You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
fb99be49f9
I'm trying to create a package for libgpiod, which uses
AC_CONFIG_AUX_DIR macro, which is probably leading to the following
configure error:
autoreconf: running: /openwrt.git/staging_dir/host/bin/libtoolize --force
OpenWrt-libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `autostuff'.
OpenWrt-libtoolize: linking file `autostuff/ltmain.sh'
OpenWrt-libtoolize: putting macros in `m4'.
...
configure: error: cannot find install-sh, install.sh, or shtool in autostuff "."/autostuff
>From the build output it's clear, that libtoolize isn't installing
install-sh symlink, because libtoolize would install install-sh only if
it's being run with --install parameter. Corresponding part in
libtoolize:
if $opt_install; then
func_config_update config.guess \
"$pkgdatadir/config" "$auxdir" pkgconfig_header
func_config_update config.sub \
"$pkgdatadir/config" "$auxdir" pkgconfig_header
func_install_update install-sh \
"$pkgdatadir/config" "$auxdir" pkgconfig_header
fi
func_ltmain_update ltmain.sh \
"$pkgdatadir/config" "$auxdir" pkgconfig_header
Adding --install parameter to libtoolize fixes this build issue:
autoreconf: running: /openwrt.git/staging_dir/host/bin/libtoolize --install --force
OpenWrt-libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `autostuff'.
OpenWrt-libtoolize: linking file `autostuff/config.guess'
OpenWrt-libtoolize: linking file `autostuff/config.sub'
OpenWrt-libtoolize: linking file `autostuff/install-sh'
OpenWrt-libtoolize: linking file `autostuff/ltmain.sh'
OpenWrt-libtoolize: putting macros in `m4'.
Cc: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Petr Štetiar <ynezz@true.cz>
(cherry picked from commit
|
5 years ago | |
---|---|---|
.. | ||
site | 7 years ago | |
autotools.mk | 5 years ago | |
cmake.mk | 6 years ago | |
debug.mk | 9 years ago | |
depends.mk | 7 years ago | |
device_table.txt | 11 years ago | |
download.mk | 5 years ago | |
feeds.mk | 5 years ago | |
hardened-ld-pie.specs | 6 years ago | |
hardening.mk | 6 years ago | |
host-build.mk | 6 years ago | |
image-commands.mk | 5 years ago | |
image-legacy.mk | 7 years ago | |
image.mk | 5 years ago | |
kernel-build.mk | 6 years ago | |
kernel-defaults.mk | 6 years ago | |
kernel-version.mk | 5 years ago | |
kernel.mk | 5 years ago | |
netfilter.mk | 6 years ago | |
nls.mk | 6 years ago | |
package-bin.mk | 7 years ago | |
package-defaults.mk | 6 years ago | |
package-dumpinfo.mk | 5 years ago | |
package-ipkg.mk | 5 years ago | |
package-seccomp.mk | 9 years ago | |
package.mk | 5 years ago | |
prereq-build.mk | 5 years ago | |
prereq.mk | 6 years ago | |
quilt.mk | 5 years ago | |
rootfs.mk | 5 years ago | |
scan.awk | 9 years ago | |
scan.mk | 5 years ago | |
scons.mk | 8 years ago | |
shell.sh | 8 years ago | |
subdir.mk | 6 years ago | |
target.mk | 5 years ago | |
toolchain-build.mk | 5 years ago | |
toplevel.mk | 5 years ago | |
u-boot.mk | 5 years ago | |
uclibc++.mk | 11 years ago | |
unpack.mk | 5 years ago | |
verbose.mk | 6 years ago | |
version.mk | 5 years ago |