Missing dependencies

Bug #269542 reported by Salgar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libsvn-web-perl (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: libsvn-web-perl

libsvn-web-perl should also depend on libtimedate-perl and libtemplate-plugin-number-format. The last one does not exist yet. It should contain http://search.cpan.org/dist/Template-Plugin-Number-Format/Format.pm and depend on libnumber-format-perl and libtemplate-perl.

Error messages from svnweb-server:

1. libtimedate-perl
Can't locate Time/Zone.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /usr/share/perl5/SVN/Web/action.pm line 7. BEGIN failed--compilation aborted at /usr/share/perl5/SVN/Web/action.pm line 7. Compilation failed in require at (eval 74) line 3. ...propagated at /usr/share/perl/5.8/base.pm line 84. BEGIN failed--compilation aborted at /usr/share/perl5/SVN/Web/List.pm line 6. Compilation failed in require at (eval 73) line 1.

2. libtemplate-plugin-number-format
[Fri Sep 12 21:00:48 2008] svnweb-server: Template::process() error: plugin error - Number.Format: plugin not found at /usr/share/perl5/SVN/Web.pm line 357.

Revision history for this message
Salgar (salgar) wrote :

Workaround: Install the dependencies by hand and create and install a .deb-file with dh-make-perl.
aptitude install libtimedate-perl libnumber-format-perl dh-make-perl
mkdir /tmp/deb/
cd /tmp/deb/
dh-make-perl --build --cpan Template::Plugin::Number::Format
dpkg -i libtemplate-plugin-number-format-perl_1.02-1_all.deb

Revision history for this message
Costel Rascanu (jakeres) wrote :

for ubuntu 8 (hardy) the "libtemplate-plugin-number-format" is not present in Synaptic repositories.

If so:
1. go to http://svnbuildstat.debian.net/packages/info/libtemplate-plugin-number-format-perl and download tarball
2. extract the files (eg. in folder "~/temp/Template-Plugin-Number-Format-1.02/"
3. copy "Format.pm" -> "/usr/share/perl5/Template/Plugin/Number/Format.pm" (make sure you are root)

done. svnweb-server should work fine now.

Revision history for this message
Matthew Flaschen (matthew-flaschen) wrote :

I had trouble doing it manually as Costel suggested. I had to fiddle around and eventually ran (without removing the manually installed .pm):

sudo apt-get install libtimedate-perl libnumber-format-perl
sudo cpan
>force install Template::Plugin::Number::Format
>force install Number::Format

Hard for me to say what did the trick. A apt packaging fix would be great here.

Revision history for this message
Allison Randal (allison) wrote :

libtemplate-plugin-number-format has been in universe since lucid. Current versions of the libsvn-web-perl package depend on both libtimedate-perl and libtemplate-plugin-number-format.

Closing this bug as no longer relevant.

Changed in libsvn-web-perl (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.