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
Description: OpenPGP digital signature
