[rt-users] Install problem w/SearchBuilder

Ruslan Zakirov ruslan.zakirov at gmail.com
Wed Aug 31 21:25:18 EDT 2005


You can force DBIx::SearchBuilder and install it without tests, or
install DBD::SQLite and rerun with tests.

On 9/1/05, Frank Saxton <frankie at easyrider.com> wrote:
> I have RT 3.4.4 on RHEL4 about 98% built.  I can't tell if I have a
> SearchBuilder not installed problem or a /opt/rt3/etc/RT_SiteConfig.pm
> error.  If I do a make install, I get a success message (shown below). I
> apologize for the length of this e-mail but I wanted to have as much debug
> output available as possible so as to keep the number of needed replies
> down.  Thanks very much in advance!  Follows are relevant outputs
> 
> /opt/rt3/etc/RT_SiteConfig.pm:
> Line 71 = Set($DatabaseType , 'mysql');
> 
> #The name of the database user (inside the database)
> Set($DatabaseUser , 'rt_user');
> 
> # Password the DatabaseUser should use to access the database
> Set($DatabasePassword , 'rt_pass');
> 
> (The above has never been set up...)
> 
> [root at frankie rt-3.4.4]# ps -ef |grep sql
> root     14968     1  0 15:06 ?        00:00:00 /bin/sh
> /usr/bin/safe_mysqld --d
> efaults-file=/etc/my.cnf --pid-file=/var/run/mysqld/mysqld.pid
> mysql    14997 14968  0 15:06 ?        00:00:00 /usr/libexec/mysqld
> --defaults-f
> ile=/etc/my.cnf --basedir=/usr --datadir=/var/lib/mysql --user=mysql
> --pid-file=
> /var/run/mysqld/mysqld.pid --skip-locking
> root     29684 29232  0 17:59 pts/1    00:00:00 grep sql
> [root at frankie rt-3.4.4]#
> 
> [root at frankie rt-3.4.4]# perl sbin/rt-test-dependencies --with-mysql
> --with-fastcgi --verbose | grep MISSING
>          DBIx::SearchBuilder 1.26...MISSING
> SOMETHING WAS MISSING!
> [root at frankie rt-3.4.4]#
> 
> [root at frankie rt-3.4.4]# perl -MCPAN -e 'install DBIx::SearchBuilder'
> ...
> ...
> t/00.load.............ok
>          1/12 skipped: DBD::Oracle is not installed
> ...
> ...
> Failed Test          Stat Wstat Total Fail  Failed  List of Failed
> -------------------------------------------------------------------------------
> t/01basics.t          255 65280    ??   ??       %  ??
> t/01records.t         255 65280    ??   ??       %  ??
> t/01searches.t        255 65280    ??   ??       %  ??
> t/02records_object.t  255 65280    ??   ??       %  ??
> t/03rebless.t         255 65280    ??   ??       %  ??
> t/11schema_records.t  255 65280    ??   ??       %  ??
> 1 subtest skipped.
> Failed 6/10 test scripts, 40.00% okay. 0/32 subtests failed, 100.00% okay.
> make: *** [test_dynamic] Error 255
>    /usr/bin/make test -- NOT OK
> Running make install
>    make test had returned bad status, won't install without force
> [root at frankie rt-3.4.4]#
> 
> No other errors....
> 
> [root at frankie rt-3.4.4]#make install
> ...
> ...
> Congratulations. RT has been installed.
> 
> 
> You must now configure RT by editing /opt/rt3/etc/RT_SiteConfig.pm.
> 
> (You will definitely need to set RT's database password in
> /opt/rt3/etc/RT_SiteConfig.pm before continuing. Not doing so could be
> very dangerous.  Note that you do not have to manually add a
> database user or set up a database for RT.  These actions will be
> taken care of in the next step.)
> 
> After that, you need to initialize RT's database by running
>   'make initialize-database'
> [root at frankie rt-3.4.4]#make initialize-database
> ...
> ...
> BEGIN failed--compilation aborted at /opt/rt3/lib/RT/SearchBuilder.pm line 71.
> Compilation failed in require at /opt/rt3/lib/RT/Principals.pm line 72.
> BEGIN failed--compilation aborted at /opt/rt3/lib/RT/Principals.pm line 72.
> Compilation failed in require at /opt/rt3/lib/RT/User_Overlay.pm line 80.
> BEGIN failed--compilation aborted at /opt/rt3/lib/RT/User_Overlay.pm line 80.
> Compilation failed in require at (eval 43) line 3.
> Compilation failed in require at /opt/rt3/lib/RT/Record.pm line 69.
> BEGIN failed--compilation aborted at /opt/rt3/lib/RT/Record.pm line 69.
> Compilation failed in require at /opt/rt3/lib/RT/CurrentUser.pm line 73.
> BEGIN failed--compilation aborted at /opt/rt3/lib/RT/CurrentUser.pm line 73.
> Compilation failed in require at /opt/rt3/lib/RT.pm line 49.
> BEGIN failed--compilation aborted at /opt/rt3/lib/RT.pm line 49.
> Compilation failed in require at //opt/rt3/sbin/rt-setup-database line 57.
> BEGIN failed--compilation aborted at //opt/rt3/sbin/rt-setup-database line 57.
> make: *** [initialize-database] Error 2
> [root at frankie rt-3.4.4]#
> 
> 
> 
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> 
> Be sure to check out the RT Wiki at http://wiki.bestpractical.com
> 
> Buy your copy of our new book, RT Essentials, today!
> 
> Download a free sample chapter from http://rtbook.bestpractical.com
> 


-- 
Best regards, Ruslan.



More information about the rt-users mailing list