Thanks Bjarne,

Google is always the first place I try, but I was less than successful with
this one.  I'd seen numerous people reporting the same thing as me, and I
saw a variety of answers, some not applicable to me, others would suggest
that somehow the arguments would have to be broken up (not really sure how
you would do that with Make), others still would suggest reducing the path
environment variable, others still suggested that the max command length
would need to be extended (haven't figured out how that is done yet, if
anyone does, I'm all ears), and the rest were unresolved.

I tried moving it to a much shorter directory-- /mpi, and that still had
problems.

I can't really tell you what it's listing that's too long--I don't see it
myself.  All I do is:

# ./configure
# make

./configure goes through what must be 1000+ lines of checking, with no
errors that I could see, and make comes back right at the start with:

make[1]: execvp: /bin/sh: Argument list too long

And something about error 27, with a general make error dialog. (I don't
have the exact dialog in front of me right now, the pi is at home, and
currently off).

If it were just a distribution build dependency problem, wouldn't the
problem show up when doing the ./configure script, where it checks for all
of the dependencies?



On Mon, Apr 13, 2015 at 4:24 PM, Bjarne Saltbæk <[email protected]>
wrote:

> Google knows everything... :)
>
> https://gcc.gnu.org/ml/gcc-help/2010-12/msg00305.html
>
> could be a path issue.
> could be a distribution build dependency issue.
> maybe you can post what list that is to long
>
> BR,
> Bjarne
>
>
> ------------------------------
> Date: Sun, 12 Apr 2015 23:24:33 -0400
> From: [email protected]
> To: [email protected]
> Subject: [RedSleeve-Users] RSEL7 Make issue
>
>
> So I am trying to compile mpich on RSEL7 (I know the RPMs exist in yum,
> and I've even installed them, but the rpms don't appear to come with the
> examples code), and I am running into a problem building it.
>
> After I've successfully run the ./configure file with no reported errors,
> I tell it to make, and make complains that the argument list is too long
> (actual error is execvp: /bin/sh: Argument list too long).  Using this same
> source, I was able to make/make install fine on Raspbian.
>
> Any ideas on why it won't build here?
>
> --
> --Mark
>
> _______________________________________________ users mailing list
> [email protected]
> http://lists.redsleeve.org/mailman/listinfo/users
>
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.redsleeve.org/mailman/listinfo/users
>
>


-- 
--Mark
_______________________________________________
users mailing list
[email protected]
http://lists.redsleeve.org/mailman/listinfo/users

Reply via email to