On Tue, Aug 07, 2012 at 07:18:18PM +0200, gregor herrmann wrote: > # -------------------------------------------------------------------------- # > # test if the libraries are really installed! > unless (have_library("xml2") or have_library("libxml2")) { > print STDERR <<"DEATH"; > libxml2, zlib, and/or the Math library (-lm) have not been found. > Try setting LIBS and INC values on the command line > Or get libxml2 from > http://xmlsoft.org/ > If you install via RPMs, make sure you also install the -devel > RPMs, as this is where the headers (.h files) are. > > Also, you may try to run perl Makefile.PL with the DEBUG=1 parameter > to see the exact reason why the detection of libxml2 installation > failed or why Makefile.PL was not able to compile a test program. > DEATH > exit 0; # 0 recommended by http://cpantest.grango.org (Notes for CPAN Authors) > } > # -------------------------------------------------------------------------- # > > I'm not sure I share this recommendation (for Debian) ...
This is also what happens when using Devel::CheckLib's check_lib_or_exit(). Should we fix the packages that use it too? (list of "fix candidate" packages coming soon) Cheers -- perl -E '$_=q;$/= @{[@_]};and s;\S+;<inidehG ordnasselA>;eg;say~~reverse'
signature.asc
Description: Digital signature