At 12:34 PM 8/8/2012 -0300, Tomas Cohen Arazi wrote:
Looking at Koha 3.8.3 on my "desktop" (64-bit Ubuntu 12.04 server plus Gnome 2.3 utilities, graphics etc)
Final unmet dependencies are:
Graphics::Magick 0 * 1.3.05 No Net::Z3950::ZOOM 0 * 1.16 Yes XML::LibXSLT 0 * 1.59 Yes
The last two are problematic. As far as I can see after a fair amount of trying (CPAN, Debian and Ubuntu repositories) they both, via yaz, are dependant on libyaz-dev which in turn allows libxml2-dev. The most promising source appears to be libyaz4-dev_4.2.18-1build1_i386.deb -- but this fails miserably (despite "force install" and apt-get -f) as the 64-bit system refuses these particular i386 packages, ultimately with: Just $ apt-get install libyaz4 libyaz4-dev Does any one have pointers to a 64 bit package for Net::Z3950::ZOOM and XML::LibXSLT (or another workaround)? and: $ apt-get install libnet-z3950-zoom-perl libxml-libxslt-perl
On Wed, Aug 8, 2012 at 12:19 PM, Paul <paul.a@aandc.org> wrote: libgraphics-magick-perl
Thank you Tomas (and Robin, Mike and Mark), koha_perl_deps.pl -m -u is now giving no missing dependencies. However: WARNING: on the 64-bit Ubuntu 12.04, do not attempt an apt-get install of libyaz4-dev_4.2.18-1build1_i386.deb - I ended up with a bunch of files fragments to purge, found with sudo dpkg --configure -a Strangely, libgraphics-magick-perl did not fully install (it's also got some i386 bits that 64-bit Ubuntu 12.04 won't digest) but it does get far enough to (apparently) meet Koha 3.8.3 dependencies. I'll try and get full notes written up later and look into the koha-communities repository (off to a meeting now ...) Again, thanks to all, Paul --- Maritime heritage and history, preservation and conservation, research and education through the written word and the arts. <http://NavalMarineArchive.com> and <http://UltraMarine.ca>
Op 08-08-12 22:09, Paul schreef:
WARNING: on the 64-bit Ubuntu 12.04, do not attempt an apt-get install of libyaz4-dev_4.2.18-1build1_i386.deb - I ended up with a bunch of files fragments to purge, found with sudo dpkg --configure -a
Strangely, libgraphics-magick-perl did not fully install (it's also got some i386 bits that 64-bit Ubuntu 12.04 won't digest) but it does get far enough to (apparently) meet Koha 3.8.3 dependencies.
You shouldn't be touching i386 packages on a 64-bit machine unless you really know what you're doing. libgraphics-magick-perl should be pure 64 bit. Better, don't install .deb files of things that are in your apt repo anyway. -- Robin Sheat Catalyst IT Ltd. ✆ +64 4 803 2204 GPG: 5957 6D23 8B16 EFAB FEF8 7175 14D3 6485 A99C EB6D
Robin, On Wed, Aug 8, 2012 at 5:23 PM, Robin Sheat <robin@catalyst.net.nz> wrote:
Op 08-08-12 22:09, Paul schreef:
WARNING: on the 64-bit Ubuntu 12.04, do not attempt an apt-get install of libyaz4-dev_4.2.18-1build1_i386.deb - I ended up with a bunch of files fragments to purge, found with sudo dpkg --configure -a
Strangely, libgraphics-magick-perl did not fully install (it's also got some i386 bits that 64-bit Ubuntu 12.04 won't digest) but it does get far enough to (apparently) meet Koha 3.8.3 dependencies.
You shouldn't be touching i386 packages on a 64-bit machine unless you really know what you're doing. libgraphics-magick-perl should be pure 64 bit. Better, don't install .deb files of things that are in your apt repo anyway.
I found the ubuntu.packages to cause that behaviour on 64bit setups. I also found that fixing the libyaz (and some libmysqlXX-dev) versions fixed it. I didn't talk about it as Mark was revisiting those packages files for several ubuntu releases and the side effect was that it got fixed. Mark and I talked about that fixes on IRC. I don't know if it has been pushed into master (and 3.8.x) right now but I recommend using koha_perl_deps.pl and searching for the right packages until the fixed files get pushed. Paul: try $ dpkg -l | grep 386 and you will get a list of the remaining i386 packages installed. They will look like libqtgui4:i386 Regards To+
Greetings, This is where my little check_deps.sh script comes in. With Robin's help, we got the debian.koha-community.org repository apt-file'able. With Jared's help, we were able to download default sources.list files for Ubuntu 10.04, Ubuntu 12.04, Debian 6.0.X, and Debian 7.0.X, and he got a working version into some repo somewhere (I can't remember off the top of my head). Jared did tweak the sources.list files to include the debian.koha-community.org repository, because Template::Plugin::HtmlToText (I think that's the name) does not exist in the default Ubuntu repositories (at least for Ubuntu 12.04 under 32-bit). My little check_deps.sh script can then ensure that future releases of ANY version of Koha (assuming PerlDependencies.pm is up to date and correct, because that is what koha_perl_deps.pl uses) has the appropriate things added into the {OS}.{version}.packages (not really packages, but a list of packages needed to be installed, so don't get confused) file(s) so that the dselect section of the Wiki page's instructions (http://wiki.koha-community.org/wiki/Koha_on_Ubuntu#Ubuntu_Packages_from_List) will just work for a tarball or git install. This script was used in the preparation of 3.6.7 just before release. Thanks to Jared for letting me squeak it in. I'm hoping to tweak it a little further, as Bug 8485 (it has been signed off, but not pushed) has made some of the logic in the script not necessary. GPML, Mark Tompsett
participants (4)
-
Mark Tompsett -
Paul -
Robin Sheat -
Tomas Cohen Arazi