Hello,
attached are two easyfix patches for OpenXPKI::Client::SOAP::Lite that do
make the bits that are in place actually work.
Right now, using Module::Build fails as the version number cannot be
determined. soap-lite-version.patch fixes that by correcting the variable
name setting the version.
Furthermore, there's a problem importing i18nGettext as the basename of
the module is incorrect. soap-lite-i18n.patch renames OpenXPKI to
OpenXPKI::i18n fixing this.
[EMAIL PROTECTED] OpenXPKI]$ diffstat soap-lite-i18n.patch
soap-lite-version.patch
Lite.pm | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
[EMAIL PROTECTED] OpenXPKI]$
The errors in question are:
+ /usr/bin/perl Build.PL installdirs=vendor
Error evaling version line 'q# Hide from _packages_inside()
#; package Module::Build::ModuleInfo::_version;
no strict;
local $VERSION;
$VERSION=undef; do {
$VERSION = qv($VERSION);
}; $VERSION
' in
/home/andreas/fedora/redhat/BUILD/OpenXPKI-Client-SOAP-Lite-0.9.651/lib/OpenXPKI/Client/SOAP/Lite.pm:
Undefined subroutine &Module::Build::ModuleInfo::_version::qv called at
(eval 17) line 7, <GEN0> line 12.
Can't determine distribution version, must supply either 'dist_version',
'dist_version_from', or 'module_name' parameter at
/usr/lib/perl5/vendor_perl/5.8.8/Module/Build/Base.pm line 942.
error: Bad exit status from /var/tmp/rpm-tmp.9666 (%build)
[EMAIL PROTECTED] OpenXPKI]$ perl
~/fedora/redhat/BUILD/OpenXPKI-Client-SOAP-Lite-0.9.651/lib/OpenXPKI/Client/SOAP/Lite.pm
"i18nGettext" is not exported by the OpenXPKI module
Can't continue after import errors at
/home/andreas/fedora/redhat/BUILD/OpenXPKI-Client-SOAP-Lite-0.9.651/lib/OpenXPKI/Client/SOAP/Lite.pm
line 24
BEGIN failed--compilation aborted at
/home/andreas/fedora/redhat/BUILD/OpenXPKI-Client-SOAP-Lite-0.9.651/lib/OpenXPKI/Client/SOAP/Lite.pm
line 24.
[EMAIL PROTECTED] OpenXPKI]$
regards,
andreas--- OpenXPKI-Client-SOAP-Lite-0.9.651/lib/OpenXPKI/Client/SOAP/Lite.pm.orig
2007-04-13 10:15:09.000000000 +0200
+++ OpenXPKI-Client-SOAP-Lite-0.9.651/lib/OpenXPKI/Client/SOAP/Lite.pm
2007-04-13 10:15:15.000000000 +0200
@@ -8,7 +8,7 @@
use base qw( OpenXPKI::Client );
use version;
-($OpenXPKI::Client::SOAP::LITE::VERSION = '$Revision: 342 $' )=~ s{ \$
Revision: \s* (\d+) \s* \$ \z }{0.9.$1}xms;
+($OpenXPKI::Client::SOAP::Lite::VERSION = '$Revision: 342 $' )=~ s{ \$
Revision: \s* (\d+) \s* \$ \z }{0.9.$1}xms;
$VERSION = qv($VERSION);
use warnings;
--- OpenXPKI-Client-SOAP-Lite-0.9.651/lib/OpenXPKI/Client/SOAP/Lite.pm.orig
2007-04-13 10:24:37.000000000 +0200
+++ OpenXPKI-Client-SOAP-Lite-0.9.651/lib/OpenXPKI/Client/SOAP/Lite.pm
2007-04-13 10:24:45.000000000 +0200
@@ -21,7 +21,7 @@
# use Smart::Comments;
# use Data::Dumper;
-use OpenXPKI qw( i18nGettext );
+use OpenXPKI::i18n qw( i18nGettext );
use OpenXPKI::Debug 'OpenXPKI::Client::SOAP::Lite';
use OpenXPKI::Exception;
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
OpenXPKI-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openxpki-devel