Koozali.org: home of the SME Server

Bugzilla 3.0.3 Perl Mod Install help needed for Email::MIME

Offline pauljclarke

  • ***
  • 61
  • +0/-0
Bugzilla 3.0.3 Perl Mod Install help needed for Email::MIME
« on: April 23, 2008, 04:07:15 PM »
Hi,

I have a working copy of Bugzilla 2.22.2 on my SME7.3 box and am looking at making a HowTo for downloading and installing / upgrading to 3.0.3 (and then 3.1.x later)

All is good so far however I need the perl Module Email:MIME:Modifier... which I'm pointed towards doing the following:

Code: [Select]
perl -MCPAN -e 'install "Email::MIME::Modifier"'
However this is not installing without force? see below tail of output - please can anyone help?

Code: [Select]
Test Summary Report
-------------------
t/content_id.t  (Wstat: 65280 Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 15 tests but ran 1.
t/ct_attrs.t    (Wstat: 65280 Tests: 3 Failed: 2)
  Failed tests:  1-2
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 10 tests but ran 3.
t/disposition.t (Wstat: 65280 Tests: 2 Failed: 2)
  Failed tests:  1-2
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 7 tests but ran 2.
t/encoding.t    (Wstat: 65280 Tests: 2 Failed: 2)
  Failed tests:  1-2
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 14 tests but ran 2.
t/parts.t       (Wstat: 65280 Tests: 2 Failed: 2)
  Failed tests:  1-2
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 22 tests but ran 2.
Files=7, Tests=11,  0 wallclock secs ( 0.03 usr  0.01 sys +  0.29 cusr  0.08 csys =  0.41 CPU)
Result: FAIL
Failed 5/7 test programs. 9/11 subtests failed.
make: *** [test_dynamic] Error 255
  /usr/bin/make test -- NOT OK
Running make install
  make test had returned bad status, won't install without force



Offline Marco Hess

  • *
  • 149
  • +0/-0
    • http://www.through-ip.com
Re: Bugzilla 3.0.3 Perl Mod Install help needed for Email::MIME
« Reply #1 on: April 23, 2008, 05:17:23 PM »
Code: [Select]
perl -MCPAN -e 'install "Email::MIME::Modifier"'
Why don't you look for that package as an rpm?

The quick look with google found:

Code: [Select]
ftp://fr.rpmfind.net/linux/dag/redhat/el4/en/i386/dag/RPMS/perl-Email-MIME-Modifier-1.441-2.el4.rf.noarch.rpm
I personally try to stay away from CPAN if I need to install something in a production server as it tend to ínstall/update much more than you are looking for and I am always afraid it breaks other applications through these upgrades. It's verbosity I also find confusing and it tends to hide some of its actions.

Marco
Adelaide - Australia

Offline pfloor

  • *****
  • 889
  • +1/-0
Re: Bugzilla 3.0.3 Perl Mod Install help needed for Email::MIME
« Reply #2 on: April 24, 2008, 02:10:21 AM »
Most perl modules can be found in the Dag repo.  Set up like this:

db yum_repositories set dag repository \
Name 'Dag - EL4' \
BaseURL 'http://apt.sw.be/redhat/el4/en/$basearch/dag' \
EnableGroups no \
GPGCheck yes \
GPGKey http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt \
Visible no \
Exclude freetype,htop,iptraf,rsync,syslinux \
status disabled

expand-template /etc/yum.conf

You *might* have to install the gpg key for dag (can't remember, it's been a long time since I set mine up).

rpm --import http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt

Then install required perl module:

yum --enablerepo=dag install perl-Email-MIME-Modifier

WARNING NOTE: Do not enable this repo by default (eg: status enabled) as it will pull in all kinds of unwanted updates and possibly render your server unusable.
« Last Edit: April 24, 2008, 02:13:31 AM by pfloor »
In life, you must either "Push, Pull or Get out of the way!"

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Bugzilla 3.0.3 Perl Mod Install help needed for Email::MIME
« Reply #3 on: April 24, 2008, 05:54:33 AM »
Most perl modules can be found in the Dag repo.  Set up like this:
Please refer to the wiki for configuration instructions as the configuration template might change sometime, the wiki will always have the latest entries, which is hard to maintain in the forums: http://wiki.contribs.org/Dag
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline pfloor

  • *****
  • 889
  • +1/-0
Re: Bugzilla 3.0.3 Perl Mod Install help needed for Email::MIME
« Reply #4 on: April 24, 2008, 06:07:04 AM »
Please refer to the wiki for configuration instructions as the configuration template might change sometime, the wiki will always have the latest entries, which is hard to maintain in the forums: http://wiki.contribs.org/Dag
Agreed, BUT...

That page has no warnings about making sure that repo is disabled by default.  This little footnote "Warning"  is essential (especially on the dag repo) and needs to be added to the page that you directly linked to.
In life, you must either "Push, Pull or Get out of the way!"

Offline brianr

  • *
  • 990
  • +2/-0
Re: Bugzilla 3.0.3 Perl Mod Install help needed for Email::MIME
« Reply #5 on: April 24, 2008, 08:21:11 AM »
.. and the page is locked so it cannot be edited.  there is already a correction under the "discussion" tab.

I have created a bug entry for it.

http://bugs.contribs.org/show_bug.cgi?id=4260
Brian j Read
(retired, for a second time, still got 2 installations though)
The instrument I am playing is my favourite Melodeon.
.........

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Bugzilla 3.0.3 Perl Mod Install help needed for Email::MIME
« Reply #6 on: April 24, 2008, 08:12:42 PM »
.. and the page is locked so it cannot be edited.  there is already a correction under the "discussion" tab.

I have created a bug entry for it.

http://bugs.contribs.org/show_bug.cgi?id=4260
I disagree, the pages list the configuration instructions only and should not be used in other purposes actually than to be included in setup instructions using the Repository template, that is the way I designed them.

The FAQ states that you should not enable other repositories than the ones listed there. I do not understand why users change the configuration settings as we suggest them like this to them for a reason.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline pfloor

  • *****
  • 889
  • +1/-0
Re: Bugzilla 3.0.3 Perl Mod Install help needed for Email::MIME
« Reply #7 on: April 24, 2008, 09:15:32 PM »
I disagree, the pages list the configuration instructions only and should not be used in other purposes actually than to be included in setup instructions using the Repository template, that is the way I designed them.

The FAQ states that you should not enable other repositories than the ones listed there.

And that's why you should never post a link directly to that particular page, it skips the FAQ and lacks the appropriate warning.

Quote
I do not understand why users change the configuration settings as we suggest them like this to them for a reason.

Really now, I can't believe you are actually saying this. :lol: <Please Note smiley here!
In life, you must either "Push, Pull or Get out of the way!"

Offline pauljclarke

  • ***
  • 61
  • +0/-0
Re: Bugzilla 3.0.3 Perl Mod Install help needed for Email::MIME - FIXED
« Reply #8 on: April 30, 2008, 11:03:42 AM »
FYI - above comments all worked ok, added Repo and yum'ed it in, thats people.