Re: GNU-M4 Installation Error

Eric Blake <[email protected]>
Newsgroups gmane.comp.gnu.m4.bugs
Organization Red Hat, Inc.
Message-ID <[email protected]>
On 11/01/2017 04:26 AM, Sai Siva wrote:
> Hi,
> 
> I have tried to install *GNU m4* *(Version m4-1.4.18)* which is required
> for *ParallelNetCDF* software installation. However, the installation of
> this package does not work on my computer as it is giving some error
> messages.
> 
> I have used the following commands:
> 
> 
> *./configure*
> 
> *make*
> *make install*
> 
> The first two commands seems to be working. But, I am struggling with the
> last command "make install".
> 
> The screenshot *(After_MakeInstall.png) *attached with this mail shows *"make
> install"* error.

No screenshot was attached.  (And even then, attaching screenshots
instead of copy-and-pasting the text contained within the window tends
to be a waste of bandwidth).

But I will assume that the error message had something to do with
incorrect permissions to install things?  If you run ./configure without
any other options, the default is that the package will set itself up to
install in /usr/local - but that is a directory with system-wide
consequences, and so you usually have to run 'sudo make install' or some
other similar way to install the software for all users of the machine.
It is also possible to run './configure --prefix=$HOME' to let the
installation know that you'd rather stick things in your home directory
rather than system-wide, and that tends to not need root permissions.

> 
> Kindly suggest me how to resolve this error.
> 
> 
> I am using Ubuntu-16.04 OS.

It may also be worth contacting your vendor for help; since you are
using pre-built software for the bulk of your machine, running a
pre-built M4 may be easier than struggling with re-building it yourself.

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org
signature.asc (application/pgp-signature, 619 B)
-----BEGIN PGP SIGNATURE-----
Comment: Public key at http://people.redhat.com/eblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEzBAEBCAAdFiEEccLMIrHEYCkn0vOqp6FrSiUnQ2oFAln7MPYACgkQp6FrSiUn
Q2qRKQf/Zo627VDkNqNvCVPXcbV8tJVRT9wuXmiFID+BYE3GzIVFhgnUCoP1E+Zo
5Zle/ocn7a2ieucLCkMnRInW/4pgH9aeO9r6tLJKzF2PWy35B1mzB4UqSWXuW9bf
i2iUqnkPVePTu7kKf8su6bOnkGwNOridboXQONWM4dfc4dU5DGVB98g3ybo7Z4O5
5QjjlXoo3H4PRyv4Us3kXJUJuNzIyIEN/8r9oCLZ+GhyEb7lVdCJpLjJPUFlM3Qr
kv8z8Z52VYFAVtESJotPRqCkiLpNwKGsrMrmJWk83DvqUbocEemrqDkKkioHRIIE
Edh61cek1oOn3JPAFDQUKw6bK7fxwg==
=BBbP
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.