[rt-users] RT Install Problems on RedHat 7.2

Jim Meyer purp at wildbrain.com
Thu Jun 13 09:46:58 EDT 2002


Howdy!

I would try downloading the source tarball of DBIx::DataSource from CPAN
and reinstalling it. It feels like your install of that package is
wonky. `make testdeps` will tell you if the package is installed;
reinstalling via the usual `perl Makefile.PL && make && make test &&
make install` will actually test your installation and be sure it's
functioning properly.

Cheers!

--j

On Thu, 2002-06-13 at 06:00, James L. Harrison wrote:
> MessageOkay,
> 
> I am trying to install rt-2-0-13 on a RedHat 7.2 box... I pass the make testdeps no problem, but when i try make install this is what i get:
>         Red Hat Linux release 7.2 (Enigma)
>         Kernel 2.4.7-10 on an i686
>         [root at localhost rt-2-0-13]# make install
>         mkdir -p //opt/rt2/bin
>         mkdir -p //opt/rt2/WebRT/data
>         mkdir -p //opt/rt2/WebRT/sessiondata
>         mkdir -p //opt/rt2/etc
>         mkdir -p //opt/rt2/lib
>         mkdir -p //opt/rt2/WebRT/html
>         mkdir -p //opt/rt2/local/WebRT/html
>         make: *** No rule to make target `initialize.Mysql', needed by `install'.  Stop.
> 
> So I thought I should try a make dropdb... then this happens:
>         [root at localhost rt-2-0-13]# make dropdb
>         /usr/bin/perl   tools/initdb 'Mysql' '/usr' 'localhost' '' 'root' 'rt2' drop
>         Now dropping the RT2 database.
>         Enter the Mysql password for root:
>         About to drop Mysql database rt2.
>         WARNING: This will erase all data in rt2.
>         If you have an existing RT 2.x installation, this will destroy all your data.
>         Proceed [y/N]:y
>         Dropping Mysql database rt2.
>         Can't locate DBIx/DataSource/Mysql.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 /us
>         r/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl .) at /usr/lib/perl5/site_p
>         erl/5.6.0/DBIx/DataSource.pm line 71, <STDIN> line 2.
>         make: *** [dropdb] Error 2
> 
> So I figured out that there was no Mysql.pm in /usr/lib/perl5/5.6.0/DBIx/DataSource/, but there was a mysql.pm... I copied it to Mysql.pm, then this happened when I ran make dropdb:
> 
>         [root at localhost rt-2-0-13]# make dropdb
>         /usr/bin/perl   tools/initdb 'Mysql' '/usr' 'localhost' '' 'root' 'rt2' drop
>         Now dropping the RT2 database.
>         Enter the Mysql password for root:
>         About to drop Mysql database rt2.
>         WARNING: This will erase all data in rt2.
>         If you have an existing RT 2.x installation, this will destroy all your data.
>         Proceed [y/N]:y
>         Dropping Mysql database rt2.
>         Can't locate object method "drop_database" via package "DBIx::DataSource::Mysql"
>          at (eval 1) line 1, <STDIN> line 2.
> I have no idea what is going on... Like I said, i got through make testdeps no problem...
> 
> Does anyone have any ideas?
-- 
Jim Meyer, Geek At Large                              purp at wildbrain.com





More information about the rt-users mailing list