I agree, this seems to be a bug. But I'm not sure why it is happening.
You've specified prefix, so I don't know why it is trying to put yasm in
/usr/bin.

It also doesn't make sense that this hasn't been reported before. MPIR is
installed regularly on machines without root access.

You certainly don't need --with-gmp=$PREFIX/gmp-6.1.0 in your configure
string. And I assume $PREFIX is a directory that you do have permission to
write to.

Perhaps you can send us your config.log so we can see what wet wrong.

Bill.

On 15 May 2016 at 08:09, Ricky Farr <ref...@uncg.edu> wrote:

> I've been curious if mpir would be the best choice for me over gmp.  I
> finally decided to put it to the test and then decide.  I first installed
> gmp-6.1.0 (also tuned it) and then started the process of building mpir,
> cloned from the github repo.  I tuned mpir, everything was going quite
> well.  Ran checks and everything passed...until I typed 'make install',
> oddly enough.  Here is the output of what happened:
>
> ---
> test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin"
>   /usr/bin/install -c yasm ytasm vsyasm '/usr/local/bin'
> /usr/bin/install: cannot create regular file ‘/usr/local/bin/yasm’:
> Permission denied
> /usr/bin/install: cannot create regular file ‘/usr/local/bin/ytasm’:
> Permission denied
> /usr/bin/install: cannot create regular file ‘/usr/local/bin/vsyasm’:
> Permission denied
> ---
>
> I ended up logging into root and let mpir install into /usr/local/bin but
> I shouldn't have to.
>
> ./configure --prefix=$PREFIX/mpir --with-gmp=$PREFIX/gmp-6.1.0
> --enable-cxx --enable-gmpcompat
>
> Since I did not have yasm installed, I'm assuming that mpir is trying to
> install it's own version...and it did so in a directory that I don't have
> permissions to write in.
>
> --
> You received this message because you are subscribed to the Google Groups
> "mpir-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to mpir-devel+unsubscr...@googlegroups.com.
> To post to this group, send email to mpir-devel@googlegroups.com.
> Visit this group at https://groups.google.com/group/mpir-devel.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"mpir-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mpir-devel+unsubscr...@googlegroups.com.
To post to this group, send email to mpir-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/mpir-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to