Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

developer docs: remove note about Test::Unit problems #4974

Merged
merged 1 commit into from
Jul 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions docsrc/imap/developer/developer-testing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,7 @@ Install and configure Cassandane
sudo cpan -i Net::CalDAVTalk
sudo cpan -i Mail::JMAPTalk
sudo cpan -i Math::Int64

With recent perl versions ``Test::Unit::TestRunner`` cannot be installed with ``cpan``. Download
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is missing a cpan -i command above, which installs Test::Unit::TestRunner, or is this somehow an indirect, implicit dependency?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's part of libtest-unit-perl which is generally expected to have been installed by apt-get (or similar) in the previous step. If you haven't used a system package for whatever reason, then it's implied that you'd need to install those dependencies by some other means (such as CPAN). But this list of CPAN modules is the extra stuff that's not available via apt-get, so it's correct that Test::Unit is missing from it.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Last time I added cpan-packages in the documentation I was not aware, that first some packages need to be installed over apt-get. In fact I had no apt-get, so I wrote what I have installed with cpan -i.

the package and apply the changes from https://sources.debian.org/patches/libtest-unit-perl/0.25-7/
before installing it.
sudo cpan -i Test::Unit

3. Build Cassandane's binary components

Expand Down