https://rt-wiki.bestpractical.com/index.php?title=OpenSuSE101InstallGuide&feed=atom&action=historyOpenSuSE101InstallGuide - Revision history2024-03-28T18:26:17ZRevision history for this page on the wikiMediaWiki 1.37.2https://rt-wiki.bestpractical.com/index.php?title=OpenSuSE101InstallGuide&diff=2490&oldid=prevAdmin: 3 revisions imported2016-04-06T20:15:51Z<p>3 revisions imported</p>
<p><b>New page</b></p><div>{{OutdatedInstallGuide}}<br />
<br />
This is not so much an install guide as a number of diary entries along a journey which is not at present completed. Any suggestions email me gobnat at optusnet dot com dot au.<br />
<br />
The long and the short of it is that the installer fails miserably and you need to use perl/cpan, but even then you get stuck on two things - WWW::Mechanize and Test::WWW::Mechanize. I have eventually decided to force install WWW::Mechanize, which fixes Test::WWW::Mechanize.<br />
<br />
[Note by Tom Davey, Sept. 8 2007: I had none of the installation troubles that user "gobnat" narrates on this page. My install of RT 3.6.4 on OpenSuSE 10.1 proceeded painlessly. The distro via YAST failed to provide only a very few required Perl modules, which I hand-installed from CPAN without trouble. Please don't be automatically dissuaded from trying RT with OpenSuSE 10.1 based only on gobnat's experience. TD 9/8/2007]<br />
<br />
I don't know who wrote this but you can install everything with Yast2 GUI and no [[PackMan]] (Has many pre-release/rc/beta packages -- please dont use [[PackMan]] in a production environment). Don't like using the discs setup the online repo. Every mirror has the packages.<br />
<br />
There doesn't seem to be a package for apache-mod-fastcgi in any of the repositories, so use apache2-mod_fcgid instead - no, in fact, don't use mod_fcgid because it doesn't work either. Revert to mod_perl.<br />
<br />
1. Install smart, configure<br />
<br />
yum install smart<br />
smart channel --add suse-update type=rpm-md name="suse-update" baseurl=http://ftp.gwdg.de/pub/suse/update/10.1/<br />
smart channel --add packman type=rpm-md name="packman" baseurl=http://packman.mirrors.skynet.be/pub/packman/suse/10.1/<br />
smart update<br />
<br />
<br />
<br />
2. Install packages<br />
<br />
smart install apache2<br />
smart install mysql<br />
smart install perl<br />
smart install ncftp - needed by rt - however smart fails, so you need to: yum install ncftp<br />
smart install mysql-max - gives innodb support<br />
smart install fastcgi<br />
yum install gd-devel<br />
<br />
<br />
2A Start services<br />
<br />
/sbin/service mysql start<br />
/sbin/service apache2 start<br />
<br />
<br />
<br />
3. Run ./configure<br />
<br />
4. Run make testdeps<br />
<br />
make testdeps<br />
<br />
<br />
Oh my, everything fails<br />
<br />
5. Run make fixdeps<br />
<br />
make fixdeps<br />
<br />
<br />
Install Script falls over - no CPAN<br />
<br />
perl -MCPAN -e shell<br />
<br />
<br />
This configures some stuff and sets up CPAN within perl - config proposes defaults<br />
<br />
quit<br />
<br />
<br />
6. Fixdeps again<br />
<br />
make fixdeps<br />
<br />
<br />
For pity's sake it fails again.<br />
<br />
blah blah blah...<br />
<br />
<nowiki>Removing previously used /root/.cpan/build/happens_for_each_and_every_module<br />
Can't remove file /root/.cpan/build/happens_for_each_and_every_module (No such file or directory) at /usr/lib/perl5/5.8.8/CPAN.pm line xxxx<br />
==&gt; Couldn't move 'happens_for_each_and_every_module' to '/root/.cpan/build/happens_for_each_and_every_module': Is a directory<br />
==&gt; Cannot continue: Please find the reason why I cannot move &lt;==<br />
==&gt; /root/.cpan/build/tmp/happens_for_each_and_every_module &lt;==<br />
==&gt; to &lt;==<br />
==&gt; /root/.cpan/build/happens_for_each_and_every_module &lt;==<br />
==&gt; and fix the problem, then retry &lt;==<br />
Failed to load module CPAN.<br />
<br />
<br />
</nowiki><br />
<br />
7. Fiddle faddle around trying to work this out<br />
<br />
It's no use.<br />
<br />
8. Fixdeps<br />
<br />
make fixdeps<br />
<br />
<br />
Same old same old. Can't get it up with CPAN.<br />
<br />
9. Bugger the script install from CPAN<br />
<br />
make testdeps | grep MISSING<br />
<br />
<br />
cut and paste this list into your favourite text editor, then run them together with spaces separating them.<br />
<br />
/usr/bin/perl -MCPAN -e shell<br />
<br />
install &lt;cut and paste edited list from above into here, half a dozen or so at a time&gt;<br />
<br />
<br />
hit return when it asks to prepend other dependent packages to the installation<br />
<br />
This very time consuming practice will get practically every perl dependency installed, with the exception of WWW::Mechanize and Test::WWW::Mechanize To get the Apache package to install don't run the optional tests.<br />
<br />
For those nothing seems to work and neither of these modules seem to be part of any [[SuSE]] yum or smart repository. Relevant output for (WWW::Mechanize):<br />
<br />
<nowiki>Blah blah blah<br />
<br />
# Failed test '404 check'<br />
# in t/local/back.t at line 148.<br />
# got: '500'<br />
# expected: '404'<br />
# Looks like you failed 1 test of 38.<br />
<br />
t/local/back............dubious<br />
Test returned status 1 (wstat 256, 0x100)<br />
<br />
DIED. FAILED test 28<br />
Failed 1/38 tests, 97.37% okay<br />
<br />
blah blah blah<br />
<br />
t/local/overload........skipped<br />
all skipped: Mysteriously stopped passing, and I don't know why.<br />
<br />
blah blah blah<br />
<br />
Failed Test Stat Wstat Total Fail Failed List of Failed<br />
-------------------------------------------------------------------------------<br />
t/local/back.t 1 256 38 1 2.63% 28<br />
4 tests skipped.<br />
<br />
Failed 1/40 test scripts, 97.50% okay. 1/483 subtests failed, 99.79% okay.<br />
make: *** [test_dynamic] Error 255<br />
/usr/bin/make test -- NOT OK<br />
Running make install<br />
make test had returned bad status, won't install without force<br />
Failed during this command:<br />
PETDANCE/WWW-Mechanize-1.18.tar.gz : make_test NO<br />
<br />
</nowiki><br />
<br />
10. Ok I give up<br />
<br />
cpan&gt; force install WWW::Mechanize<br />
<br />
<br />
It's installed. It is also the reason for failure of Test::WWW::Mechanize.<br />
<br />
cpan&gt; install Test::WWW::Mechanize<br />
<br />
<br />
Installs without issue.<br />
<br />
11. Back to rt<br />
<br />
make install<br />
<br />
<br />
Ok that was easy<br />
<br />
12. Apache2, [[MySQL]]<br />
<br />
RT is installed, but it doesn't yet work with Apache2 (between step 11 and step 12 was a week or so of fiddling) - need to install mod_perl and ensure that mysql is working properly. Exactly what I did here I can't remember. :( All I remember is that I needed to kill mod_fcgid because I couldn't get it to work, and install apache2-mod_perl (and perl-DBD-mysql) I had to make dropdb make initialize-db a couple of times before it worked. The code also had an error so I had to chmod g+w one /opt/rt3/var/mason_data/obj/. After that it worked (hurrah!). At first login user=root password=password.<br />
<br />
13. From here fail over to the details in the RHEL installation guide for configuration.</div>Admin