Install udunits2-devel from source CentOS 7?
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I'm getting the following error when trying to install the sf
package in R (R/3.4.2/gcc7.2.0
) on CentOS 7.
install.packages('sf')
--------------------------------------------------------------------------------
Configuration failed because libudunits2.so was not found. Try installing:
* deb: libudunits2-dev (Debian, Ubuntu, ...)
* rpm: udunits2-devel (Fedora, EPEL, ...)
* brew: udunits (OSX)
If udunits2 is already installed in a non-standard location, use:
--configure-args='--with-udunits2-lib=/usr/local/lib'
if the library was not found, and/or:
--configure-args='--with-udunits2-include=/usr/include/udunits2'
if the header was not found, replacing paths with appropriate values.
You can alternatively set UDUNITS2_INCLUDE and UDUNITS2_LIBS manually.
--------------------------------------------------------------------------------
I do not have sudo permissions on this system, and need to compile from source. I've downloaded and unpacked the source from here ftp://ftp.unidata.ucar.edu/pub/udunits (udunits-2.2.26.tar.gz) in my home directory. I then tried installing the R package again by setting the configure.args
to the location of this unpacked udunits library. I'm still getting the same error though.
install.packages('sf', configure.args = c('--with-udunits2-include=/home/username/udunits-2.2.26')
How do I compile this from source and configure it to work with R?
centos source r
New contributor
add a comment |Â
up vote
0
down vote
favorite
I'm getting the following error when trying to install the sf
package in R (R/3.4.2/gcc7.2.0
) on CentOS 7.
install.packages('sf')
--------------------------------------------------------------------------------
Configuration failed because libudunits2.so was not found. Try installing:
* deb: libudunits2-dev (Debian, Ubuntu, ...)
* rpm: udunits2-devel (Fedora, EPEL, ...)
* brew: udunits (OSX)
If udunits2 is already installed in a non-standard location, use:
--configure-args='--with-udunits2-lib=/usr/local/lib'
if the library was not found, and/or:
--configure-args='--with-udunits2-include=/usr/include/udunits2'
if the header was not found, replacing paths with appropriate values.
You can alternatively set UDUNITS2_INCLUDE and UDUNITS2_LIBS manually.
--------------------------------------------------------------------------------
I do not have sudo permissions on this system, and need to compile from source. I've downloaded and unpacked the source from here ftp://ftp.unidata.ucar.edu/pub/udunits (udunits-2.2.26.tar.gz) in my home directory. I then tried installing the R package again by setting the configure.args
to the location of this unpacked udunits library. I'm still getting the same error though.
install.packages('sf', configure.args = c('--with-udunits2-include=/home/username/udunits-2.2.26')
How do I compile this from source and configure it to work with R?
centos source r
New contributor
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I'm getting the following error when trying to install the sf
package in R (R/3.4.2/gcc7.2.0
) on CentOS 7.
install.packages('sf')
--------------------------------------------------------------------------------
Configuration failed because libudunits2.so was not found. Try installing:
* deb: libudunits2-dev (Debian, Ubuntu, ...)
* rpm: udunits2-devel (Fedora, EPEL, ...)
* brew: udunits (OSX)
If udunits2 is already installed in a non-standard location, use:
--configure-args='--with-udunits2-lib=/usr/local/lib'
if the library was not found, and/or:
--configure-args='--with-udunits2-include=/usr/include/udunits2'
if the header was not found, replacing paths with appropriate values.
You can alternatively set UDUNITS2_INCLUDE and UDUNITS2_LIBS manually.
--------------------------------------------------------------------------------
I do not have sudo permissions on this system, and need to compile from source. I've downloaded and unpacked the source from here ftp://ftp.unidata.ucar.edu/pub/udunits (udunits-2.2.26.tar.gz) in my home directory. I then tried installing the R package again by setting the configure.args
to the location of this unpacked udunits library. I'm still getting the same error though.
install.packages('sf', configure.args = c('--with-udunits2-include=/home/username/udunits-2.2.26')
How do I compile this from source and configure it to work with R?
centos source r
New contributor
I'm getting the following error when trying to install the sf
package in R (R/3.4.2/gcc7.2.0
) on CentOS 7.
install.packages('sf')
--------------------------------------------------------------------------------
Configuration failed because libudunits2.so was not found. Try installing:
* deb: libudunits2-dev (Debian, Ubuntu, ...)
* rpm: udunits2-devel (Fedora, EPEL, ...)
* brew: udunits (OSX)
If udunits2 is already installed in a non-standard location, use:
--configure-args='--with-udunits2-lib=/usr/local/lib'
if the library was not found, and/or:
--configure-args='--with-udunits2-include=/usr/include/udunits2'
if the header was not found, replacing paths with appropriate values.
You can alternatively set UDUNITS2_INCLUDE and UDUNITS2_LIBS manually.
--------------------------------------------------------------------------------
I do not have sudo permissions on this system, and need to compile from source. I've downloaded and unpacked the source from here ftp://ftp.unidata.ucar.edu/pub/udunits (udunits-2.2.26.tar.gz) in my home directory. I then tried installing the R package again by setting the configure.args
to the location of this unpacked udunits library. I'm still getting the same error though.
install.packages('sf', configure.args = c('--with-udunits2-include=/home/username/udunits-2.2.26')
How do I compile this from source and configure it to work with R?
centos source r
centos source r
New contributor
New contributor
New contributor
asked 6 mins ago
spacedSparking
1012
1012
New contributor
New contributor
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
spacedSparking is a new contributor. Be nice, and check out our Code of Conduct.
spacedSparking is a new contributor. Be nice, and check out our Code of Conduct.
spacedSparking is a new contributor. Be nice, and check out our Code of Conduct.
spacedSparking is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f476676%2finstall-udunits2-devel-from-source-centos-7%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password