Hello, First, I notice you are using the path '/home/ed/...'; this is an example path, assuming a user account named `ed` exists; unless this is actually the case, you will want to adjust the path to reflect your local file system. Next, I would recommend against running 'make check' with sudo, for exactly the reason you mention; you lose the environmental variables. You may run make check as your normal account, and use 'sudo' when you run make install. Once you've adjusted your path and tried running 'make check' without using 'sudo', please let me know if the error persists and we will proceed from there. Thanks! -Ward > Hello, > > I'm having some problems installing the netcdf-fortran-4.4.1 library > on my machine (Linux i686 i686 i686 GNU/Linux; it's a Virtual machine > created using Oracle VM VirtualBox and runs Ubuntu v.14.04). > > I have already installed HDF5, zlib and curl (the last one was part of > the main package of Ubuntu) and NetCDF-C-4.3.3. All those libraries were > installed in the directory /home/ed/local. > > Now I'm trying to install the Fortran library in the same directory. I > execute the configure command > > [CPPFLAGS=-I/home/ed/local/include LDFLAGS=-L/home/ed/local/lib > ./configure --prefix=/home/ed/local] and apparently it runs fine. > > But, when I try to execute the 'make check' command, I obtain the error > reported in make_check_error. > > I tried to set the environment using > > "export LD_LIBRARY_PATH=/home/ed/local/lib:${LD_LIBRARY_PATH}" > > before running the ./configure, but if I don't execute a 'sudo make > check', the prompt returns the error "Permission Denied" (see make_error). > > And, if I execute it as sudo, it obviously loses all the parameters > previously set so we are at the same point as before (look at > sudo_make_check for details). > > I also attach the config.log file to let you know what exactly configure > did. > > I'm quite a noob in Ubuntu, so I probably did some really stupid mistake. > Any ideas? > > Waiting for your answer, I thank you for your kindness. > > Best regards, > Stefano Masier > > Ticket Details =================== Ticket ID: IUJ-300108 Department: Support netCDF Priority: Normal Status: Closed
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.