Re: Help making r-cran-rsqlite use Debian's sqlite3 (Was: Re: Bug#657919: ITP: r-cran-digest - Create cryptographic hash digests of R objects)
On 2 February 2012 at 17:46, Carlos Borroto wrote:
| On Thu, Feb 2, 2012 at 2:46 PM, Dirk Eddelbuettel <edd@debian.org> wrote:
| > I have several dozen debian/rules files around, but rarely need it. Here it
| > was I have commented out for Rmpi aka r-cran-rmpi:
| >
| > #!/usr/bin/make -f
| > # -*- makefile -*-
| > # debian/rules file for the Debian/GNU Linux r-cran-rmpi package
| > # Copyright 2003-2010 by Dirk Eddelbuettel <edd@debian.org>
| >
| > include /usr/share/R/debian/r-cran.mk
| >
| > ##extraInstallFlags="--configure-args=--with-mpi=/usr/lib/openmpi"
| > extraInstallFlags="--no-test-load"
| >
| >
| > I think extraInstallFlags is due to a patch Steffen once needed / supplied.
| >
|
| Thanks!, I think that did the trick....
|
| Before:
| $ ldd /usr/lib/R/site-library/RSQLite/libs/RSQLite.so | grep sqlite
| $
|
| After:
| $ ldd /usr/lib/R/site-library/RSQLite/libs/RSQLite.so | grep sqlite
| libsqlite3.so.0 => /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
| (0x00007fa474ed4000)
| $
Nice!
| Beside modifying 'debian/rules', I also added libsqlite3-dev as a
| source dependency and libsqlite3-0 as a package dependency.
Yes, the former is /absolutely/ needed but the latter should be automagic as
dpkg et al do a similar ldd check to infer Depends: Please try to ensure it
does. You just need something like
Depends: ${shlibs:Depends}, ${misc:Depends}, r-base-core (>= ...)
and shlibs:Depends will be filled in.
Dirk
--
"Outside of a dog, a book is a man's best friend. Inside of a dog, it is too
dark to read." -- Groucho Marx
Reply to: