Re: Problems with openssl when upgrading r-bioc-rtracklayer
Hi James, On Sun, Dec 04, 2016 at 08:28:12PM +, James Cowgill wrote: > > PKG_CHECK_MODULES(OPENSSL, [openssl >= 1.0], [OPENSSL="yes"], > > [OPENSSL="no"]) > > > > in configure.ac - I have no idea why this fails. Any helpful hint? > > Do you have pkg-config installed? Thanks for the pointer - problem solved Andreas. -- http://fam-tille.de
Re: Problems with openssl when upgrading r-bioc-rtracklayer
Hi, On 12/04/2016 08:55 PM, Andreas Tille wrote: > I tried to upgrade r-bioc-rtracklayer[1] to the latest upstream version > (see trunk in SVN) but the build failed with: > > * installing *source* package 'rtracklayer' ... > ./configure: line 1676: syntax error near unexpected token `OPENSSL,' > ./configure: line 1676: `PKG_CHECK_MODULES(OPENSSL, openssl >= 1.0, > OPENSSL="yes", OPENSSL="no")' The m4 macro PKG_CHECK_MODULES doesn't appear to be replaced when generating configure from configure.ac. Since you are using dh and compat = 10, dh_autoreconf is used by default, so that's where the macro isn't properly substituted. If you're running this in a clean environment, it likely comes from the fact that you don't have pkg-config installed, which installs /usr/share/aclocal/pkg.m4, where the macro is defined (and which has to be available at the time autoreconf is run). So my guess is you simply need to add pkg-config to your Build-Depends and everything should work. I've never used svn-buildpackage, and I don't understand how to properly checkout what you have and build it, so I can't really verify that this is the right solution. Regards, Christian
Re: Problems with openssl when upgrading r-bioc-rtracklayer
Hi, On 04/12/16 19:55, Andreas Tille wrote: > I tried to upgrade r-bioc-rtracklayer[1] to the latest upstream version > (see trunk in SVN) but the build failed with: > > * installing *source* package 'rtracklayer' ... > ./configure: line 1676: syntax error near unexpected token `OPENSSL,' > ./configure: line 1676: `PKG_CHECK_MODULES(OPENSSL, openssl >= 1.0, > OPENSSL="yes", OPENSSL="no")' > ERROR: configuration failed for package 'rtracklayer' > * removing > '/build/r-bioc-rtracklayer-1.34.1/debian/r-bioc-rtracklayer/usr/lib/R/site-library/rtracklayer' > dh_auto_install: R CMD INSTALL -l > /build/r-bioc-rtracklayer-1.34.1/debian/r-bioc-rtracklayer/usr/lib/R/site-library > --clean . --built-timestamp='Wed, 30 Nov 2016 22:37:27 +0100' returned ex > > > This check results from > > PKG_CHECK_MODULES(OPENSSL, [openssl >= 1.0], [OPENSSL="yes"], [OPENSSL="no"]) > > in configure.ac - I have no idea why this fails. Any helpful hint? Do you have pkg-config installed? James signature.asc Description: OpenPGP digital signature