Bugs item #1263911, was opened at 2005-08-19 05:41
Message generated for change (Comment added) made by bernardli
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=109368&aid=1263911&group_id=9368
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Installation
Group: 4.2
Status: Open
Resolution: Fixed
Priority: 9
Submitted By: Erich Focht (efocht)
Assigned to: Erich Focht (efocht)
Summary: perl-XML-Simple recognition wrong on rhel3
Initial Comment:
This was discussed for quite a while on oscar-devel.
The setup script in share/prereqs/perl-XML-Simple/scripts
erroneously thinks that the package is installed under rhel3
and skips the installation step. The installer aborts with the
message
error: Failed dependencies:
perl(XML::Simple) >= 2.08 is needed by
systemimager-server-3.5.3-1
This comes from the fact that
eval "{ require XML::Simple }";
returns an empty $@ variable. Don't know why.
Is this really a prereq needed for getting the wizard up and
running? Or is it just a dependency worth being listed in
base?
Regards,
Erich
----------------------------------------------------------------------
>Comment By: Bernard Li (bernardli)
Date: 2005-08-29 21:20
Message:
Logged In: YES
user_id=879102
This bug can be closed when b1 is valided on all supported
distros/archs.
----------------------------------------------------------------------
Comment By: Erich Focht (efocht)
Date: 2005-08-26 02:16
Message:
Logged In: YES
user_id=338721
Added version check for perl-XML-Simple, the test if
installed or not is not sufficient. Because the module can be
installed in non-rpm way (out of control for the package
manager, eg. from CPAN), the resolution of the conflict
needs to be done manually in case of a version mismatch.
Installing the RPM and ignoring the old CPAN version will
lead to trouble later (see bug 1264011).
Added to trunk r3597.
----------------------------------------------------------------------
Comment By: Erich Focht (efocht)
Date: 2005-08-25 08:12
Message:
Logged In: YES
user_id=338721
I found a XML/Simple.pm file on my system which wasn't
belonging to any RPM. No idea where it came from. Removing
this fixed the test.
I still think that this experience was valuable because such a
module can lead to quite some trouble. I finally found it with
"slocate", but maybe both tests should be done: for the existence
of the module AND whether the package is installed or not. If the
first test succeeds and the second one fails, this will lead to
trouble in some other place. I meanwhile suspect that the issue
with si_monitortk has the same origin.
Erich
----------------------------------------------------------------------
Comment By: Erich Focht (efocht)
Date: 2005-08-22 09:55
Message:
Logged In: YES
user_id=338721
Fixed setup script in trunk (svn 3563).
I'd still prefer to see only wizard prereqs in share/prereqs
because the rpms are easier to handle when living in
packages/*/... Not sure this is a wizard prereq.
Didn't merge to branch because I'm not sure whether John
accepts my priority raise.
----------------------------------------------------------------------
Comment By: Erich Focht (efocht)
Date: 2005-08-19 07:49
Message:
Logged In: YES
user_id=338721
Needs to be fixed for 4.2, therefore priority=9.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=109368&aid=1263911&group_id=9368
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Oscar-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-devel