Thanks Travers and Dirk for your feedbacks.
—Sameh
From: Travers Ching
Sent: Monday, April 8, 2019 10:52 PM
To: Dirk Eddelbuettel
Cc: Sameh M. Abdulah; r-package-devel@r-project.org
Subject: Re: [R-pkg-devel] set PKG_CONFIG_PATH before installing a package
What
What Dirk said! I'd also just add that it's useful to have a fallback
in case pkg-config fails, e.g., compile what you need from
source. The configure script in RcppRedis looks like a good example of that.
Travers
Travers
On Mon, Apr 8, 2019 at 12:14 PM Dirk Eddelbuettel wrote:
>
>
> On 8 Ap
On 8 April 2019 at 10:59, Travers Ching wrote:
| I think the correct way to do it is through the configure script. See
| for example the Cairo package that uses pkg-config. Configure scripts
| are slightly hard to work through in my experience, but are worth it
| if you need customization of t
I think the correct way to do it is through the configure script. See
for example the Cairo package that uses pkg-config. Configure scripts
are slightly hard to work through in my experience, but are worth it
if you need customization of the installation environment.
Travers
On Mon, Apr 8, 201
I am using this command to set an environment variable `
Sys.setenv(PKG_CONFIG_PATH=paste(Sys.getenv('PKG_CONFIG_PATH'),paste(.libPaths(),'my_package/lib/pkgconfig',sep='/',collapse=':'),sep=':'));’
before install my package. It works fine if I run it before installing my
package.
How can I do t