Rt-1.3.70 dependencies

Hi,
I am trying to install the CPAN modules. Most of them installed without a
hitch. The 2 that failed were HTML::Mason and Apache::Session.

Here were the errors:

  • HTML::Mason - during ‘make test’, t/08-ah.t failed. The message was
    t/08-ah.t…dubious
    test returned status 2 (Wstat 512, 0x200)
    DIED. Failed tests 1/27
    Failed 27/27 tests, 0.00% okay

-Apache::Session during ‘make test’
- t/99mysql…dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-8
Failed 8/8 tests, 0.00% okay
- t/99postgres…dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-8
Failed 8/8 tests, 0.00% okay

I’m using RedHat 7.1 with Apache and MySql. I’ve verified that MySQL is
running. Any help is greatly appreciated.

Thanks!

Eric Mandel
WorldNow
(646) 435-5395 Direct
(646) 772-6161 Cell

Enabling media companies to build powerful new businesses on the Internet.

This message may contain confidential and/or privileged information.

If you are not the addressee or authorized to receive this for the
addressee, you must not use, copy, disclose or take any action based on this
message or any information herein. If you have received this message in
error, please advise the sender immediately by reply e-mail and delete this
message. Thank you for your cooperation.

I have a similar problem. I think I may be stuck using 1.0.x forever. I have
been unable to install HTML::Mason on RH5.2, RH6, RH7, and now RH7.1, all
receiving the same error about Apache not being compiled with mod_perl (it IS
compiled with mod_perl, and I even re-compiled it from CPAN to make sure I
didn’t install RedHat incorrectly). I’d be intersted to know if anyone else has
had this problem.

TIA

Eric Mandel wrote:

cseward.vcf (356 Bytes)

Thanks a lot. This helped a lot. I wasn’t sure if it was okay to ignore the
failed test. I guess so. I am having another problem now. During make
install of rt-1.3.70, I received the following error:
chown: www-data: invalid user
make: *** [fixperms] error 1

Then it placed me back at the prompt. When I try to start apache with the
new VirtualHost directive in place, I receive the following error:
Failed to start apache :
Starting httpd: Use of uninitialized value in chown at
/opt/rt2/bin/webmux.pl line 95.

Even though it says failed to start, Apache is running. When I go to the url
for RT I receive the following:
error in file: /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Parser.pm

	  line 1140:  mkdir /opt/rt2/WebRT/data/obj: Permission

denied

context: …
1136: if (!-f $object_file) {
1137: my ($dirname) = dirname($object_file);
1138: if (!-d $dirname) {
1139: unlink($dirname) if (-e $dirname);
1140: push(@newfiles,mkpath($dirname,0,0775));
1141: die “Couldn’t create directory $dirname: $!” if (!-d $dirname);
1142: }
1143: rmtree($object_file) if (-d $object_file);
1144: }

code stack: /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Parser.pm:1140
/usr/lib/perl5/5.6.0/File/Path.pm:136
/usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Parser.pm:1140
/usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Interp.pm:375
/usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Request.pm:116

Obviously, it’s a permissions issue. Should I have a www-data user created?
Can I create it and re-run make install to fix this problem?

Thanks again.-----Original Message-----
From: Sanjeev Gopal [mailto:sgo@antarix.net]
Sent: Thursday, April 26, 2001 2:54 PM
To: Eric Mandel
Subject: Re: [rt-users] rt-1.3.70 dependencies

Eric:

Here is exactly what I did on Redhat 7.0, and got RT working:

MySQL Installation
Source: /root/MySQL-3.23.36-1.i386.rpm, MySQL-client-3.23.36-1.i386.rpm,
MySQL-devel-3.23.36-1.i386.rpm
Sequence:
cd /root
rpm ?iv MySQL-3.23.36-1.i386.rpm
rpm ?iv MySQL-client-3.23.36-1.i386.rpm
rpm ?iv MySQL-devel-3.23.36-1.i386.rpm
/usr/bin/mysqladmin -u root -p password ‘new-password’

RT Installation
Source: /root/rt-1.3.70.tar.gz
Sequence:
cd /root
tar zxvf rt-1.3.70.tar.gz
chown ?R root:root *
cd rt-1.3.70
make testdeps // To check if all dependency packages are
installed
make fixdeps // Lot of packages to be installed
manual configuration = no
HTML-Mason
Use defaults, but fails
cd /root/.cpan/build/HTML-Mason-1.015
perl Makefile.PL
make
make install
Configure httpd as per doc
cd /root/.cpan/build/Apache-Session-1.53
perl Makefile.PL
make
make install
cd /root/rt-1.3.70
make fixdeps // All OK
make testdeps // All OK
groupadd rt
Edit Makefile
RT_PATH = /usr/local/rt2
DB_RT_USER = rt_user
DB_RT_PASS = rt_pass
WEB_USER = apache
make install

Hope this helps.

Regards,
Sanjeev Gopal
IT Consultant
Antarix e Applications Limited
Phone: +91 44 820 3554
Fax: +91 44 827 2274

In your makefile, you need to set the username of the user apache
runs as.On Thu, Apr 26, 2001 at 04:41:22PM -0400, Eric Mandel wrote:

Thanks a lot. This helped a lot. I wasn’t sure if it was okay to ignore the
failed test. I guess so. I am having another problem now. During make
install of rt-1.3.70, I received the following error:
chown: www-data: invalid user
make: *** [fixperms] error 1

Then it placed me back at the prompt. When I try to start apache with the
new VirtualHost directive in place, I receive the following error:
Failed to start apache :
Starting httpd: Use of uninitialized value in chown at
/opt/rt2/bin/webmux.pl line 95.

Even though it says failed to start, Apache is running. When I go to the url
for RT I receive the following:
error in file: /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Parser.pm

    line 1140:  mkdir /opt/rt2/WebRT/data/obj: Permission

denied

context: …
1136: if (!-f $object_file) {
1137: my ($dirname) = dirname($object_file);
1138: if (!-d $dirname) {
1139: unlink($dirname) if (-e $dirname);
1140: push(@newfiles,mkpath($dirname,0,0775));
1141: die “Couldn’t create directory $dirname: $!” if (!-d $dirname);
1142: }
1143: rmtree($object_file) if (-d $object_file);
1144: }

code stack: /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Parser.pm:1140
/usr/lib/perl5/5.6.0/File/Path.pm:136
/usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Parser.pm:1140
/usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Interp.pm:375
/usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Request.pm:116

Obviously, it’s a permissions issue. Should I have a www-data user created?
Can I create it and re-run make install to fix this problem?

Thanks again.

-----Original Message-----
From: Sanjeev Gopal [mailto:sgo@antarix.net]
Sent: Thursday, April 26, 2001 2:54 PM
To: Eric Mandel
Subject: Re: [rt-users] rt-1.3.70 dependencies

Eric:

Here is exactly what I did on Redhat 7.0, and got RT working:

MySQL Installation

Source: /root/MySQL-3.23.36-1.i386.rpm, MySQL-client-3.23.36-1.i386.rpm,
MySQL-devel-3.23.36-1.i386.rpm
Sequence:
cd /root
rpm ?iv MySQL-3.23.36-1.i386.rpm
rpm ?iv MySQL-client-3.23.36-1.i386.rpm
rpm ?iv MySQL-devel-3.23.36-1.i386.rpm
/usr/bin/mysqladmin -u root -p password ‘new-password’

RT Installation

Source: /root/rt-1.3.70.tar.gz
Sequence:
cd /root
tar zxvf rt-1.3.70.tar.gz
chown ?R root:root *
cd rt-1.3.70
make testdeps // To check if all dependency packages are
installed
make fixdeps // Lot of packages to be installed
manual configuration = no
HTML-Mason
Use defaults, but fails
cd /root/.cpan/build/HTML-Mason-1.015
perl Makefile.PL
make
make install
Configure httpd as per doc
cd /root/.cpan/build/Apache-Session-1.53
perl Makefile.PL
make
make install
cd /root/rt-1.3.70
make fixdeps // All OK
make testdeps // All OK
groupadd rt
Edit Makefile
RT_PATH = /usr/local/rt2
DB_RT_USER = rt_user
DB_RT_PASS = rt_pass
WEB_USER = apache
make install

Hope this helps.

Regards,
Sanjeev Gopal
IT Consultant
Antarix e Applications Limited
Phone: +91 44 820 3554
Fax: +91 44 827 2274


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

jesse reed vincent – root@eruditorum.orgjesse@fsck.com
70EBAC90: 2A07 FC22 7DB4 42C1 9D71 0108 41A3 3FB3 70EB AC90

And I’m told we do share some common rituals. Our “flame war” is apparently
held in person in their land and called “project meeting”.
-Alan Cox [on “Suits”]