[rt-users] rt on fedora ?

Torkil Zachariassen torkil at lv.fo
Wed Nov 12 13:44:51 EST 2003


Michael S. Liebman wrote:
> At 04:53 PM 11/11/2003, Torkil Zachariassen wrote:
>> Requires: perl-DBI >= 1.18
> 
> I believe the currently preferred form for Perl module dependencies is 
> something like perl(DBI),

Yes, "Requires: perl(MODULE)" seems to work fine. It also seems to work 
if I just drop all the requirements. The sneek in again somehow, and 
show up when rpm -Uvh rt-3.0.6.i386.rpm is run.

> Also, it looks like your list of module dependencies is seriously out of 
> date. Have a look at the sbin/rt-test-dependencies script for what you 
> will need in the spec file. 
 > Since you are working on a spec file for
> RedHat, be sure to require a mod_perl2 that isn't (more seriously) broken.

Installed are httpd-2.0.47-10, mod_perl-1.99_09-10, mysql-3.23.58-4 and 
all the perl rpm's within fedora. Is this mod_perl broken?

Sounds like you are suggesting this command to me (cf. the README)

$ ./rt-test-dependencies --with-modperl1 --with-mysql

perl:
         5.8.0...found
CORE dependencies:
         Digest::MD5 2.27...found
         DBI 1.37...found
         Test::Inline ...MISSING
         Class::ReturnValue 0.40...MISSING
         DBIx::SearchBuilder 0.92...MISSING
         Text::Template ...MISSING
         File::Spec 0.8...found
         HTML::Entities ...found
         Net::Domain ...found
         Log::Dispatch 2.0...MISSING
         Locale::Maketext 1.06...found
         Locale::Maketext::Lexicon 0.25...MISSING
         Locale::Maketext::Fuzzy ...MISSING
         MIME::Entity 5.108...MISSING
         Mail::Mailer 1.57...MISSING
         Net::SMTP ...found
         Text::Wrapper ...MISSING
         Time::ParseDate ...MISSING
         File::Temp ...found
         Term::ReadKey ...found
         Text::Autoformat ...MISSING
         Text::Quoted ...MISSING
MODPERL1 dependencies:
         CGI ...found
         Apache::Request ...MISSING
         Apache::DBI 0.92...MISSING
MYSQL dependencies:
         DBD::mysql 2.1018...found
CLI dependencies:
         Getopt::Long 2.24...found
MAILGATE dependencies:
         HTML::TreeBuilder ...MISSING
         HTML::FormatText ...MISSING
         Getopt::Long ...found
         LWP::UserAgent ...found
DEV dependencies:
         Regexp::Common ...MISSING
         Time::HiRes ...found
         Test::Inline ...MISSING
         WWW::Mechanize ...MISSING
MASON dependencies:
         Params::Validate 0.02...MISSING
         Cache::Cache ...MISSING
         Exception::Class ...MISSING
         HTML::Mason 1.16...MISSING
         MLDBM ...MISSING
         Errno ...found
         FreezeThaw ...MISSING
         Digest::MD5 2.27...found
         CGI::Cookie 1.20...found
         Storable ...found
         Apache::Session 1.53...MISSING

Obviously I am still missing something.

# rpm -Uvh --test /home/torkil/tmp/RPMS/i386/rt-3.0.6-1.i386.rpm
error: Failed dependencies:
   perl(DBIx::SearchBuilder) is needed by rt-3.0.6-1
   perl(DBIx::SearchBuilder::Record::Cachable) is needed by rt-3.0.6-1
   perl(Encode::compat) is needed by rt-3.0.6-1
   perl(Locale::Maketext::Lexicon) >= 0.25 is needed by rt-3.0.6-1
   perl(Log::Dispatch) >= 1.6 is needed by rt-3.0.6-1
   perl(MIME::Entity) is needed by rt-3.0.6-1
   perl(MIME::Head) is needed by rt-3.0.6-1
   perl(MIME::Parser) is needed by rt-3.0.6-1
   perl(MIME::Words) is needed by rt-3.0.6-1
   perl(Mail::Address) is needed by rt-3.0.6-1
   perl(RT::Tickets_Overlay_SQL) is needed by rt-3.0.6-1
   perl(Regexp::Common) is needed by rt-3.0.6-1
   perl(Text::Template) is needed by rt-3.0.6-1

Now most of these can be found on CPAN (look into 
/modules/02packages.details.txt.gz ). I will look into converting CPAN 
tar balls to rpm's using cpanflute2.

The execptions is

RT::Tickets_Overlay_SQL, which seems to be provided by rt itself, along 
with a bunch of other RT:: modules. Wonder how this should be handled.

And lastly: I try to install using rpm (and yum) only, and would really 
like not to use something like "perl -MCPAN -e ".





More information about the rt-users mailing list