I'm building autoconf-2.68.
I'm not very familiar with this tool. However, after analysing the Makefiles,
I find that the build fails when running the script
autoconf-2.68/bin/autom4te
.
I'm having this error:
bash: ./autom4te :/home/user/workspace/output: bad interpreter: No such file or directory
Some analysis that I have done
echo $SHELL
/bin/bash
In the autom4te I find this line in the BEGIN function
$ENV{'SHELL'} = '/bin/sh' if ($^O eq 'dos');
Could this cause a problem? Any idea to resolve?
**Edit**
The first lines of autom4te are:
#! /home/user/Workspace/output/xx_yyyyyyy_pp88_tttttt_uuuuuuu_aaa_bbbbbbb/host/usr/bin/perl -w
# -*- perl -*-
# Generated from autom4te.in; do not edit by hand.
eval 'case $# in 0) exec /home/user/Workspace/output/xx_yyyyyyy_pp88_tttttt_uuuuuuu_aaa_bbbbbbb/host/usr/bin/perl -S "$0";; *) exec /home/user/Workspace/output/xx_yyyyyyy_pp88_tttttt_uuuuuuu_aaa_bbbbbbb/host/usr/bin/perl -S "$0" "$@";; esac'
if 0;
The script caller:
autoconf.in: $(srcdir)/autoconf.as $(m4sh_m4f_dependencies)
$(MY_AUTOM4TE) --language M4sh --cache '' --melt $(srcdir)/autoconf.as -o $@
MY_AUTOM4TE
is defined as:
MY_AUTOM4TE = \
autom4te_perllibdir='$(top_srcdir)'/lib \
AUTOM4TE_CFG='$(AUTOM4TE_CFG)' $(top_builddir)/bin/autom4te \
-B '$(top_builddir)'/lib -B '$(top_srcdir)'/lib # keep ` '
Asked by Mouin
(195 rep)
Mar 23, 2017, 10:33 AM
Last activity: Apr 5, 2020, 03:14 AM
Last activity: Apr 5, 2020, 03:14 AM