Closed aniszammel closed 7 years ago
When I tried to install udunits i got the following error:
-----Error: udunits2.h not found----- If the udunits2 library is installed in a non-standard location, use --configure-args='--with-udunits2-lib=/usr/local/lib' for example, or --configure-args='--with-udunits2-include=/usr/include/udunits2' replacing paths with appropriate values for your installation. You can alternatively use the UDUNITS2_INCLUDE and UDUNITS2_LIB environment variables. If udunits2 is not installed, please install it. It is required for this package. ERROR: configuration failed for package ‘udunits2’
The udunits2 R package declares a SystemRequirements which, by definition, has to be dealt with outside of the R packaging environment.
Describing how to do that, depends on your operating system and other factors and is somewhat outside of the scope of this package. However, you may want to review this issue to see how others have handled it.
I did those all steps but the error still the same. I used Fedora 23 (64bit) and R version 3.3.1.
yum install udunits2-devel
?
yes I use this command. Already i used: yum install udunits2.x86_64
You need to install the -devel
package. It contains the header files asked for in your error message above.
yes i installed but the error still.
Sorry, @aniszammel I think that you will need help from your own company's tech support. This is out-of-scope of the climdex.pcic.ncdf
package and I don't think that I can help you.
Need more info from you.