pacificclimate / climdex.pcic.ncdf

R package to compute Climdex indices on gridded NetCDF files
GNU General Public License v3.0
15 stars 13 forks source link

I can not install libs: udunits2 and proj4 necessary for the tool #8

Closed aniszammel closed 7 years ago

jameshiebert commented 7 years ago

Need more info from you.

aniszammel commented 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’

jameshiebert commented 7 years ago

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.

aniszammel commented 7 years ago

I did those all steps but the error still the same. I used Fedora 23 (64bit) and R version 3.3.1.

jameshiebert commented 7 years ago

yum install udunits2-devel?

aniszammel commented 7 years ago

yes I use this command. Already i used: yum install udunits2.x86_64

jameshiebert commented 7 years ago

You need to install the -devel package. It contains the header files asked for in your error message above.

aniszammel commented 7 years ago

yes i installed but the error still.

jameshiebert commented 7 years ago

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.