Install questions

Hello –

New user here. A bunch of the modules failed to compile correctly. I
searched a few months back of archives and didn’t see anything all that much
related to isntalls so here I am…

Installing on a stock RedHat 7.1 box…

I’ll ask the easy question first, since now I’m having major problems with
Apache::Cookie… Is there a Linux distro that is confirmed to have the
least amount of problems? I’ve installed the apache and mod_perl sources to
no avail…

[root@support rt-2-0-8]# make testdeps
/usr/bin/perl ./tools/testdeps -warn mysql
Checking for DBI 1.18 …found
Checking for DBIx::DataSource 0.02 …found
Checking for DBIx::SearchBuilder 0.43 …found
Checking for HTML::Entities…found
Checking for MLDBM…found
Checking for Net::Domain…Net::Domain not installed.
Checking for Net::SMTP…Net::SMTP not installed.
Checking for Params::Validate 0.02 …found
Checking for HTML::Mason 0.896 …found
Checking for CGI::Cookie 1.20 …found
Checking for Apache::Cookie…Apache::Cookie not installed.
Checking for Apache::Session 1.53 …Apache::Session 1.53 not installed.
Checking for Date::Parse…found
Checking for Date::Format…found
Checking for MIME::Entity 5.108 …found
Checking for Mail::Mailer 1.20 …found
Checking for Getopt::Long 2.24 …found
Checking for Tie::IxHash…found
Checking for Text::Wrapper…found
Checking for Text::Template…found
Checking for File::Spec <File::Spec> 0.8 …found
Checking for Errno…found
Checking for FreezeThaw…found
Checking for File::Temp…found <File::Temp…found>
Checking for Log::Dispatch 1.6 …found
Checking for DBD::mysql 2.0416 …found
[root@support rt-2-0-8]#

When trying to compile Net::Domain and Net::SMTP I get:
PERL_DL_NONLAZY=1 /usr/local/bin/perl -Iblib/arch -Iblib/lib
-I/usr/local/lib/perl5/5.6.1/i586-linux -I/usr/local/lib/perl5/5.6.1 -e ‘use
Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;’ t/*.t
t/ftp…skipped test on this platform
t/hostname…ok
t/nntp…skipped test on this platform
t/require…FAILED tests 8-9
Failed 2/11 tests, 81.82% okay
t/smtp…skipped test on this platform
Failed Test Status Wstat Total Fail Failed List of Failed
----t/require.t 11 2 18.18% 8-9
3 tests skipped.
Failed 1/5 test scripts, 80.00% okay. 2/12 subtests failed, 83.33% okay.
make: *** [test_dynamic] Error 29
/usr/bin/make test – NOT OK
Running make install
make test had returned bad status, won’t install without force
[root@support RT]#

Greg Smythe
SysAdmin
Intellstat Communications
WA State Resident

|+ I’ll ask the easy question first, since now I’m having major problems with
|+ Apache::Cookie… Is there a Linux distro that is confirmed to have the
|+ least amount of problems? I’ve installed the apache and mod_perl sources to
|+ no avail…
|+
|+ Checking for Net::Domain…Net::Domain not installed.
|+ Checking for Net::SMTP…Net::SMTP not installed.
|+ Checking for Apache::Cookie…Apache::Cookie not installed.
|+ Checking for Apache::Session 1.53 …Apache::Session 1.53 not installed.

You have to install Apache::Session by hand (it says it in the README).

When you do ‘make fixdeps’, does it take care of the Net::Domain and
Net::SMTP modules?

-darrin

|+ No it didn’t. Running ‘make fixdeps’ still gives errors (see attached log if
|+ you want to see what happens). Curiously, in the ‘make fixdeps’ it reports
|+ Net::SMTP as being installed, but running ‘make testdeps’ says it isn’t…

Have you tried 'force’ing it to install?

How do I force them to install? I tried ‘make fixdeps force’ and that
doesn’t seem to help. Also I noticed (as the text flew by) that it can’t
find some Perl include files, that’s because the @INC is looking in the
wrong paths. I’m also baffled as to why it insists to install Perl 5.61 when
I already have 5.6.0 on the system.

Is there an easier way to do this? It must not like RH 7.1 at all! What
distro did you install it on?

Greg Smythe
SysAdmin
Intellstat Communications
WA State Resident-----Original Message-----
From: Darrin Walton [mailto:darrinw@nixc.net]
Sent: Saturday, October 20, 2001 6:43 AM
To: Greg Smythe
Cc: 'rt-users@lists.fsck.com’
Subject: Re: [rt-users] Install questions

On Fri, Oct 19, 2001 at 10:32:00PM -0700, Greg Smythe wrote:
|+ No it didn’t. Running ‘make fixdeps’ still gives errors (see attached
log if
|+ you want to see what happens). Curiously, in the ‘make fixdeps’ it
reports
|+ Net::SMTP as being installed, but running ‘make testdeps’ says it
isn’t…

Have you tried 'force’ing it to install?

One thing you could try is, and I don’t really support this at all, my
homebuilt RPMS for redhat 7.x of RT’s perl dependencies:

http://www.fsck.com/projects/rt/perlmodules/

I’d love to hear bug or success reports, but can’t guarantee that I’ll be able
to cope. These were generated by my hacked version of cpan2rpm, which traces
down perl prereqs and builds necessary modules. (it’s in rt cvs)

-jOn Sat, Oct 20, 2001 at 01:39:13PM -0700, Greg Smythe wrote:

How do I force them to install? I tried ‘make fixdeps force’ and that
doesn’t seem to help. Also I noticed (as the text flew by) that it can’t
find some Perl include files, that’s because the @INC is looking in the
wrong paths. I’m also baffled as to why it insists to install Perl 5.61 when
I already have 5.6.0 on the system.

Is there an easier way to do this? It must not like RH 7.1 at all! What
distro did you install it on?

-=-=-=-=-=-=-=-=-=-=-=-=-=-
Greg Smythe
SysAdmin
Intellstat Communications
WA State Resident

-----Original Message-----
From: Darrin Walton [mailto:darrinw@nixc.net]
Sent: Saturday, October 20, 2001 6:43 AM
To: Greg Smythe
Cc: 'rt-users@lists.fsck.com’
Subject: Re: [rt-users] Install questions

On Fri, Oct 19, 2001 at 10:32:00PM -0700, Greg Smythe wrote:
|+ No it didn’t. Running ‘make fixdeps’ still gives errors (see attached
log if
|+ you want to see what happens). Curiously, in the ‘make fixdeps’ it
reports
|+ Net::SMTP as being installed, but running ‘make testdeps’ says it
isn’t…

Have you tried 'force’ing it to install?


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

http://www.bestpractical.com/products/rt – Trouble Ticketing. Free.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I also have RT Running on a 7.1 Stock install box.

Something that might help (it helped me) was to install only the
packages that you need, then downloading and building the rest. I
found too many quirks with the apache combo mod-Perl/Apache/MySql
that it was easier for me to --erase the rpm’s and build from
scratch.

Ian

Hello –
New user here. A bunch of the modules failed to compile correctly. I
searched a few months back of archives and didn’t see anything all
that much related to isntalls so here I am…
Installing on a stock RedHat 7.1 box…
I’ll ask the easy question first, since now I’m having major problems
with Apache::Cookie… Is there a Linux distro that is confirmed to
have the least amount of problems? I’ve installed the apache and
mod_perl sources to no avail…

[root@support rt-2-0-8]# make testdeps
/usr/bin/perl ./tools/testdeps -warn mysql
Checking for DBI 1.18 …found
Checking for DBIx::DataSource 0.02 …found
Checking for DBIx::SearchBuilder 0.43 …found
Checking for HTML::Entities…found
Checking for MLDBM…found
Checking for Net::Domain…Net::Domain not installed.
Checking for Net::SMTP…Net::SMTP not installed.
Checking for Params::Validate 0.02 …found
Checking for HTML::Mason 0.896 …found
Checking for CGI::Cookie 1.20 …found
Checking for Apache::Cookie…Apache::Cookie not installed.
Checking for Apache::Session 1.53 …Apache::Session 1.53 not
installed.
Checking for Date::Parse…found
Checking for Date::Format…found
Checking for MIME::Entity 5.108 …found
Checking for Mail::Mailer 1.20 …found
Checking for Getopt::Long 2.24 …found
Checking for Tie::IxHash…found
Checking for Text::Wrapper…found
Checking for Text::Template…found
Checking for File::Spec 0.8 …found
Checking for Errno…found
Checking for FreezeThaw…found
Checking for File::Temp…found
Checking for Log::Dispatch 1.6 …found
Checking for DBD::mysql 2.0416 …found
[root@support rt-2-0-8]#

When trying to compile Net::Domain and Net::SMTP I get:
PERL_DL_NONLAZY=1 /usr/local/bin/perl -Iblib/arch -Iblib/lib

  • -I/usr/local/lib/perl5/5.6.1/i586-linux -I/usr/local/lib/perl5/5.6.1
  • -e ‘use Test::Harness qw(&runtests $verbose); $verbose=0; runtests
    @ARGV;’ t/*.t
    t/ftp…skipped test on this platform
    t/hostname…ok
    t/nntp…skipped test on this platform
    t/require…FAILED tests 8-9
    Failed 2/11 tests, 81.82% okay
    t/smtp…skipped test on this platform
    Failed Test Status Wstat Total Fail Failed List of Failed

  • ----------t/require.t 11 2 18.18% 8-9
    3 tests skipped.
    Failed 1/5 test scripts, 80.00% okay. 2/12 subtests failed, 83.33%
    okay.
    make: *** [test_dynamic] Error 29
    /usr/bin/make test – NOT OK
    Running make install
    make test had returned bad status, won’t install without force
    [root@support RT]#

  • -=-=-=-=-=-=-=-=-=-=-=-=-=-
    Greg Smythe
    SysAdmin
    Intellstat Communications
    WA State Resident

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use http://www.pgp.com

iQA/AwUBO9ISRhpKNrkRVS+8EQJqiwCgpZf0a2TPNoCcqZXR6Srcnr1Ek9cAoI1M
SEMPNc7Aov8OAuN+iBG3Ltoe
=QQIn
-----END PGP SIGNATURE-----

Ian – Thanks for the tip. I installed RH 7.1 again (my 3rd time now) and
built Apache & mod_perl according to the RT Install docs.

Jesse –

Thanks for those RPMS, I installed them (I had to --force them), then built
DBI, Apache:Cookie, and the MySQL part, and ‘make testdeps’ was happy.

I then continued the install, and modified httpd.conf. See below my new
problem. I can move DBI.pm into the path it’s looking for but I’m afraid
it’ll just complain about new problems. How would I go about fixing this
permanetly?

[root@support etc]# /usr/local/apache/bin/apachectl start
Syntax error on line 955 of /usr/local/apache/conf/httpd.conf:
Can’t locate Apache/DBI.pm in @INC (@INC contains:
/usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0
/usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0
/usr/lib/perl5/site_perl . /usr/local/apache/ /usr/local/apache/lib/perl) at
(eval 3) line 3.

/usr/local/apache/bin/apachectl start: httpd could not be started
[root@support etc]# locate DBI.pm
/usr/lib/perl5/site_perl/5.6.0/i386-linux/Bundle/DBI.pm
/usr/lib/perl5/site_perl/5.6.0/i386-linux/DBI.pm
/usr/lib/perl5/site_perl/5.6.0/Apache/Session/Store/DBI.pm
[root@support etc]#

Here’s what I put in httpd.conf:

<VirtualHost 192.168.1.17>
DocumentRoot /usr/rt2/WebRT/html
ServerName support.intellstat.com
PerlModule Apache::DBI
PerlFreshRestart On
PerlRequire /usr/rt2/bin/webmux.pl

SetHandler perl-script
PerlHandler RT::Mason

Greg Smythe
SysAdmin
Intellstat Communications
WA State Resident-----Original Message-----
From: Ian (Network Administrator) [mailto:ian@internationalsportsagency.com]

Sent: Saturday, October 20, 2001 5:10 PM
To: ‘Greg Smythe’; rt-users@lists.fsck.com
Subject: RE: [rt-users] Install questions

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I also have RT Running on a 7.1 Stock install box.

Something that might help (it helped me) was to install only the
packages that you need, then downloading and building the rest. I
found too many quirks with the apache combo mod-Perl/Apache/MySql
that it was easier for me to --erase the rpm’s and build from
scratch.

Ian

Hello –
New user here. A bunch of the modules failed to compile correctly. I
searched a few months back of archives and didn’t see anything all
that much related to isntalls so here I am…
Installing on a stock RedHat 7.1 box…
I’ll ask the easy question first, since now I’m having major problems
with Apache::Cookie… Is there a Linux distro that is confirmed to
have the least amount of problems? I’ve installed the apache and
mod_perl sources to no avail…

[root@support rt-2-0-8]# make testdeps
/usr/bin/perl ./tools/testdeps -warn mysql
Checking for DBI 1.18 …found
Checking for DBIx::DataSource 0.02 …found
Checking for DBIx::SearchBuilder 0.43 …found
Checking for HTML::Entities…found
Checking for MLDBM…found
Checking for Net::Domain…Net::Domain not installed.
Checking for Net::SMTP…Net::SMTP not installed.
Checking for Params::Validate 0.02 …found
Checking for HTML::Mason 0.896 …found
Checking for CGI::Cookie 1.20 …found
Checking for Apache::Cookie…Apache::Cookie not installed.
Checking for Apache::Session 1.53 …Apache::Session 1.53 not
installed.
Checking for Date::Parse…found
Checking for Date::Format…found
Checking for MIME::Entity 5.108 …found
Checking for Mail::Mailer 1.20 …found
Checking for Getopt::Long 2.24 …found
Checking for Tie::IxHash…found
Checking for Text::Wrapper…found
Checking for Text::Template…found
Checking for File::Spec 0.8 …found
Checking for Errno…found
Checking for FreezeThaw…found
Checking for File::Temp…found
Checking for Log::Dispatch 1.6 …found
Checking for DBD::mysql 2.0416 …found
[root@support rt-2-0-8]#

When trying to compile Net::Domain and Net::SMTP I get:
PERL_DL_NONLAZY=1 /usr/local/bin/perl -Iblib/arch -Iblib/lib

  • -I/usr/local/lib/perl5/5.6.1/i586-linux -I/usr/local/lib/perl5/5.6.1
  • -e ‘use Test::Harness qw(&runtests $verbose); $verbose=0; runtests
    @ARGV;’ t/*.t
    t/ftp…skipped test on this platform
    t/hostname…ok
    t/nntp…skipped test on this platform
    t/require…FAILED tests 8-9
    Failed 2/11 tests, 81.82% okay
    t/smtp…skipped test on this platform
    Failed Test Status Wstat Total Fail Failed List of Failed

  • ----------t/require.t 11 2 18.18% 8-9
    3 tests skipped.
    Failed 1/5 test scripts, 80.00% okay. 2/12 subtests failed, 83.33%
    okay.
    make: *** [test_dynamic] Error 29
    /usr/bin/make test – NOT OK
    Running make install
    make test had returned bad status, won’t install without force
    [root@support RT]#

  • -=-=-=-=-=-=-=-=-=-=-=-=-=-
    Greg Smythe
    SysAdmin
    Intellstat Communications
    WA State Resident

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use http://www.pgp.com

iQA/AwUBO9ISRhpKNrkRVS+8EQJqiwCgpZf0a2TPNoCcqZXR6Srcnr1Ek9cAoI1M
SEMPNc7Aov8OAuN+iBG3Ltoe
=QQIn
-----END PGP SIGNATURE-----

|+ [root@support etc]# /usr/local/apache/bin/apachectl start
|+ Syntax error on line 955 of /usr/local/apache/conf/httpd.conf:
|+ Can’t locate Apache/DBI.pm in @INC (@INC contains:
|+ /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0
|+ /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0
|+ /usr/lib/perl5/site_perl . /usr/local/apache/ /usr/local/apache/lib/perl) at
|+ (eval 3) line 3.
|+
|+ /usr/local/apache/bin/apachectl start: httpd could not be started
|+ [root@support etc]# locate DBI.pm
|+ /usr/lib/perl5/site_perl/5.6.0/i386-linux/Bundle/DBI.pm
|+ /usr/lib/perl5/site_perl/5.6.0/i386-linux/DBI.pm
|+ /usr/lib/perl5/site_perl/5.6.0/Apache/Session/Store/DBI.pm
|+ [root@support etc]#

Looks like you’re still missing Apache::DBI. Try:
perl -MCPAN -e’install Apache::DBI’

That should fix that problem for you. The DBI.pm you have installed is
different from Apache::DBI.

–darrin

It says it’s installed

[root@support rt-2-0-8]# make testdeps
/usr/bin/perl ./tools/testdeps -warn mysql
Checking for DBI 1.18 …found
Checking for DBIx::DataSource 0.02 …found
Checking for DBIx::SearchBuilder 0.43 …found
Checking for HTML::Entities…found
Checking for MLDBM…found
Checking for Net::Domain…found
Checking for Net::SMTP…found
Checking for Params::Validate 0.02 …found
Checking for HTML::Mason 0.896 …found
Checking for CGI::Cookie 1.20 …found
Checking for Apache::Cookie…found
Checking for Apache::Session 1.53 …found
Checking for Date::Parse…found
Checking for Date::Format…found
Checking for MIME::Entity 5.108 …found
Checking for Mail::Mailer 1.20 …found
Checking for Getopt::Long 2.24 …found
Checking for Tie::IxHash…found
Checking for Text::Wrapper…found
Checking for Text::Template…found
Checking for File::Spec 0.8 …found
Checking for Errno…found
Checking for FreezeThaw…found
Checking for File::Temp…found
Checking for Log::Dispatch 1.6 …found
Checking for DBD::mysql 2.0416 …found

and doing that perl line eventually gets me:

Going to read /root/.cpan/sources/modules/03modlist.data.gz
Apache::DBI is up to date.
[root@support /root]#

Greg Smythe
SysAdmin
Intellstat Communications
WA State Resident-----Original Message-----
From: Darrin Walton [mailto:darrinw@nixc.net]
Sent: Saturday, October 20, 2001 7:50 PM
To: Greg Smythe
Cc: ‘Ian (Network Administrator)’; rt-users@lists.fsck.com;
'jesse@bestpractical.com’
Subject: Re: [rt-users] Install questions

On Sat, Oct 20, 2001 at 06:51:35PM -0700, Greg Smythe wrote:
|+ [root@support etc]# /usr/local/apache/bin/apachectl start
|+ Syntax error on line 955 of /usr/local/apache/conf/httpd.conf:
|+ Can’t locate Apache/DBI.pm in @INC (@INC contains:
|+ /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0
|+ /usr/lib/perl5/site_perl/5.6.0/i386-linux
/usr/lib/perl5/site_perl/5.6.0
|+ /usr/lib/perl5/site_perl . /usr/local/apache/
/usr/local/apache/lib/perl) at
|+ (eval 3) line 3.
|+
|+ /usr/local/apache/bin/apachectl start: httpd could not be started
|+ [root@support etc]# locate DBI.pm
|+ /usr/lib/perl5/site_perl/5.6.0/i386-linux/Bundle/DBI.pm
|+ /usr/lib/perl5/site_perl/5.6.0/i386-linux/DBI.pm
|+ /usr/lib/perl5/site_perl/5.6.0/Apache/Session/Store/DBI.pm
|+ [root@support etc]#

Looks like you’re still missing Apache::DBI. Try:
perl -MCPAN -e’install Apache::DBI’

That should fix that problem for you. The DBI.pm you have installed is
different from Apache::DBI.

–darrin