[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #ARR-765095]: Netcdf Make Check Errors



Helly Katy,

Unfortunately, Russ has retired in the last month, but I will try to help
you out with this. From what you’ve provided, I would guess that your user
account does not have permission to write to /usr/local/include; you can
test this by running

$ touch /usr/local/include/foo.txt

I expect you will see the same error. You will need to run make install
with root privileges (assuming you have them on the system you are working
on). You would run it as follows:

$ sudo make install

If you do not have root privileges on the system, you will need to define a
different directory during configure, using the --prefix command, e.g.
--prefix=/home/kfranks/local or some other suitable value.

I hope this helps, let me know if you need any additional help!

-Ward

address@hidden> wrote:

New Client Reply: Netcdf Make Check Errors
>
> Hi Russ,
>
> It’s been a while since I have built netcdf. I was having the problems
> with the test server a couple months ago. I implemented your suggestions as
> far as getting the compilation to pass all the tests. Unfortunately I am
> still getting this error when I try to run ‘make install’ after ‘make
> check’:
>
>         make install
> Making install in include
> make[1]: Entering directory `/home/kfranks/netcdf-4.1.2/include'
> make[2]: Entering directory `/home/kfranks/netcdf-4.1.2/include'
> make[2]: Nothing to be done for `install-exec-am'.
> test -z "/usr/local/include" || /bin/mkdir -p "/usr/local/include"
>  /usr/bin/install -c -m 644 netcdf.h '/usr/local/include'
> /usr/bin/install: cannot create regular file
> `/usr/local/include/netcdf.h': Permission denied
> make[2]: *** [install-includeHEADERS] Error 1
> make[2]: Leaving directory `/home/kfranks/netcdf-4.1.2/include'
> make[1]: *** [install-am] Error 2
> make[1]: Leaving directory `/home/kfranks/netcdf-4.1.2/include'
> make: *** [install-recursive] Error 1
>
> Am I just forgetting a fundamental delete when I re configured this code,
> or should the ‘make clean’ have taken care of that as far as deleting
> existing files from the previous ‘configuration’?
>
> Thanks for your help
> --
>
> Katy Franks
> Geographic Information Science Major
> GIS Club President
> Oklahoma Supercomputing Club Secretary
> OSCER Student Hardware Technician
> Email: address@hidden
> Phone: 913-961-0414
>
>
>
>
>
>
>
>
>
> address@hidden> wrote:
>
> >Hi Katy,
> >
> >This is a known issue related to a change in our test server
> >configuration. Recent releases fix it by pointing directly
> >to our new test servers. So, the failure is on our end, not
> >yours.
> >
> >You can complete testing and installation of earlier releases
> >the netCDF C library and utilities by following these steps:
> >
> >  1. Run "make clean" in the top level directory of your source netCDF
> >     source (or unpack the source again in a new source directory)
> >
> >  2. Run the "configure" script again, but this time add the following
> >     option to whatever options you previously specified:
> >
> >       --disable-dap-remote-tests
> >
> >  3. Run "make check" and verify that it now completes successfully.
> >
> >  4. Run "make install", or "sudo make install" if needed.
> >
> >That should get you past the problem with our test server and allow
> >the installation to complete successfully.  Please let us know if you
> >encounter additional errors.
> >
> >--Russ
> >
> >> In trying to build netcdf-4.1.2 I came up with the following letter.
> >>
> >> *** Testing netcdf file functions some more.
> >> syntax error, unexpected SCAN_WORD, expecting SCAN_ATTR or SCAN_DATASET
> or SCAN_ERROR
> >> context: <html^><head><title>Apache Tomcat/7.0.57 - Error
> report</title><style><!--H1
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
> H2
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
> H3
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
> BODY
> {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}
> P
> {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A
> {color : black;}A.name {color : black;}HR {color : #525D76;}--></style>
> </head><body><h1>HTTP Status 404 - /dods/dts/test.01.dds</h1><HR size="1"
> noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b>
> <u>/dods/dts/test.01.dds</u></p><p><b>description</b> <u>The requested
> resource is not available.</u></p><HR size="1" noshade="noshade"><h3>Apache
> Tomcat/7.0.57</h3>
> > /body></html>
> >> *** testing simple opendap open/close...Sorry! Unexpected result,
> tst_files6.c, line: 24
> >> FAIL: tst_files6
> >
> >Russ Rew                                         UCAR Unidata Program
> >address@hidden                      http://www.unidata.ucar.edu
> >
> >
> >
> >Ticket Details
> >===================
> >Ticket ID: ARR-765095
> >Department: Support netCDF
> >Priority: Normal
> >Status: Closed
> >
>
>
> Ticket Details
> ===================
> Ticket ID: ARR-765095
> Department: Support netCDF
> Priority: Normal
> Status: Open
> Link:
> https://andy.unidata.ucar.edu/esupport/staff/index.php?_m=tickets&_a=viewticket&ticketid=25627
>
> ​



Ticket Details
===================
Ticket ID: ARR-765095
Department: Support netCDF
Priority: Normal
Status: Open