[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] Compiling for OpenWRT, got execvp: /usr/bin/env: Arg
From: |
Peter Bex |
Subject: |
Re: [Chicken-users] Compiling for OpenWRT, got execvp: /usr/bin/env: Argument list too long |
Date: |
Wed, 13 Mar 2019 09:44:47 +0100 |
User-agent: |
NeoMutt/20170113 (1.7.2) |
On Wed, Mar 13, 2019 at 05:38:12AM -0300, Jeronimo Pellegrini wrote:
> So, I decided to create one for Chicken, but I get this error
> when compiling:
>
[...]
> rm -rf
> /home/jeronimo/pkg/openwrt-18.06.2/build_dir/target-mips_24kc_musl/chicken-5.0.0/.pkgdir/chicken-scheme.installed
>
> /home/jeronimo/pkg/openwrt-18.06.2/build_dir/target-mips_24kc_musl/chicken-5.0.0/.pkgdir/chicken-scheme
> mkdir -p
> /home/jeronimo/pkg/openwrt-18.06.2/build_dir/target-mips_24kc_musl/chicken-5.0.0/.pkgdir/chicken-scheme
>
> So it looks like the cause is here: execvp: /usr/bin/env: Argument list too
> long.
> I suppose that the cross-compiling toolchain is adding lots to an already
> long argument
> list. Does that make sense? Is there some change I can make to Chicken's
> Makefiles that could perhaps help to work around that?
Hi Jeronimo,
I figure the prefix is repeated a lot of times, so maybe you can change
the prefix from
/home/jeronimo/pkg/openwrt-18.06.02/build_dir/target-mips_24kc_musl/ to
something smaller, like /tmp/owrt, and see if that helps.
Cheers,
Peter
signature.asc
Description: PGP signature