automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Automake for RISC-V


From: Billa Surendra
Subject: Re: Automake for RISC-V
Date: Thu, 18 Nov 2021 23:59:22 +0530

Thanks for your reply. I have installed perl on target system but target
image and build system perl version were different. And second, thing I
have noticed  that in aclocal script very first line is #! /bin/perl


On Thu, 18 Nov, 2021, 11:48 pm Nick Bowler, <nbowler@draconx.ca> wrote:

> Hi Billa,
>
> On 18/11/2021, Billa Surendra <billa.iitmadras@gmail.com> wrote:
> > Dear All,
> >
> > I have cross-compiled Automake-1.16.2 package with RISC-V cross compiler,
> > but when I am executing binaries on RISC-V target OS image its gives
> errors
> > like "not found".
>
> Automake is written in Perl so it does not really get "compiled" in the
> usual sense.
>
> [...]
> > $   ./configure  --prefix=/usr --host=riscv64-unknown-linux-gnu
> > $ make -j8
> > $  make DESTDIR=$risc-v_rootfs/ install
> [...]
> > *Error message (on risc-v rootfs):*
> >
> > ./aclocal
> > -/bin/sh: ./aclocal: not found
> >
> > ./aclocal-1.16
> > -/bin/sh: ./aclocal-1.16: not found
>
> My first guess is that perl is not installed on the host (risc-v)
> system.  Specifically, these files begin with #!/usr/bin/perl (or
> similar - depends on configure tests) and that program is not
> available when you run them.
>
> However, I took a quick look at Automake's configure script and it
> appears it detects perl only on the build system and then installs
> that filename into the installed scripts.  So I think it will not
> work out of the box unless a supported perl version is installed
> at the same location on both the build and host machines.
>
> Cheers,
>   Nick
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]