[rt-users] [rt-user] RT2 Installation problem
lao nightwolf
lao_nightwolf at hotmail.com
Thu Jul 12 10:51:07 EDT 2001
Hello,
Make sure you've installed the DBIx::SearchBuilder 0.4 or up module.
This will make your installation succesfull.
>
>Hi all
>
>After all deps have been satified, I'm getting the following errors when
>doing '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
>/usr/bin/perl tools/initdb 'mysql' '/usr' 'localhost' 'root' 'rt2' create
>Now creating a database for RT.
>Enter the mysql password for root:
>Creating mysql database rt2.
>cp etc/acl.mysql '/opt/rt2/etc/acl.mysql'
>/usr/bin/perl -p -i -e " s'!!DB_TYPE!!'mysql'g;\
> s'!!DB_HOST!!'localhost'g;\
> s'!!DB_RT_PASS!!'rt_pass'g;\
> s'!!DB_RT_HOST!!'localhost'g;\
> s'!!DB_RT_USER!!'rt_user'g;\
> s'!!DB_DATABASE!!'rt2'g;" /opt/rt2/etc/acl.mysql
>bin/initacls.mysql '/usr' 'localhost' 'root' '' 'rt2'
>'/opt/rt2/etc/acl.mysql'
>Enter the mysql administrator's database password to create a new user for
>RT
>Enter password:
>Enter the mysql administrator's database password to nondestructively
>reload
>the
> database
>Enter password:
>/usr/bin/perl tools/initdb 'mysql' '/usr' 'localhost' 'rt_user' 'rt2'
>insert
>Now populating database schema.
>Enter the mysql password for rt_user:
>Creating database schema.
>schema sucessfully inserted
>[ -f /opt/rt2/etc/config.pm ] && mv /opt/rt2/etc/config.pm
>/opt/rt2/etc/config.p
>m.old && \
> chmod 000 /opt/rt2/etc/config.pm.old
>cp -rp ./etc/config.pm /opt/rt2/etc/config.pm
>/usr/bin/perl -p -i -e "\
>s'!!DB_TYPE!!'mysql'g;\
>s'!!DB_HOST!!'localhost'g;\
>s'!!DB_RT_PASS!!'rt_pass'g;\
>s'!!DB_RT_USER!!'rt_user'g;\
>s'!!DB_DATABASE!!'rt2'g;\
>s'!!MASON_HTML_PATH!!'/opt/rt2/WebRT/html'g;\
>s'!!MASON_LOCAL_HTML_PATH!!'/opt/rt2/local/WebRT/html'g;\
>s'!!MASON_SESSION_PATH!!'/opt/rt2/WebRT/sessiondata'g;\
>s'!!MASON_DATA_PATH!!'/opt/rt2/WebRT/data'g;\
>s'!!RT_LOG_PATH!!'/tmp'g;\
>s'!!RT_VERSION!!'2.0.1-test3'g;\
>" /opt/rt2/etc/config.pm
>[ -d /opt/rt2/lib ] || mkdir /opt/rt2/lib
>chown -R root /opt/rt2/lib
>chgrp -R bin /opt/rt2/lib
>chmod -R 0755 /opt/rt2/lib
>( cd ./lib; \
> /usr/bin/perl Makefile.PL INSTALLSITELIB=/opt/rt2/lib \
> INSTALLSITEMAN1DIR=/opt/rt2/man/man1 \
> INSTALLSITEMAN3DIR=/opt/rt2/man/man3 \
> && make \
> && make test \
> && /usr/bin/perl -p -i -e " s'!!RT_VERSION!!'2.0.1-test3'g;"
>blib/lib/RT.pm
>;\
> make install \
>)
>Warning: prerequisite DBIx::SearchBuilder 0.4 not found at
>/usr/lib/perl5/5.6.0/
>ExtUtils/MakeMaker.pm line 349.
>'INSTALLSITEMAN1DIR' is not a known MakeMaker parameter name.
>'INSTALLSITEMAN3DIR' is not a known MakeMaker parameter name.
>Could not open 'RT.pm': No such file or directory at (eval 47) line 6.
>make[1]: Entering directory `/tmp/rt/lib'
>make[1]: *** No rule to make target `install'. Stop.
>make[1]: Leaving directory `/tmp/rt/lib'
>make: *** [libs-install] Error 2
>
>Do note the listing of my /opt/rt2/ directory....
>
>[root at linux rt]# ls -l /opt/rt2/
>total 5
>drwxr-xr-x 2 root root 1024 Jul 11 14:53 bin
>drwxr-xr-x 2 root root 1024 Jul 12 11:16 etc
>drwxr-xr-x 2 root bin 1024 Jul 11 14:53 lib
>drwxr-xr-x 3 root root 1024 Jul 11 14:53 local
>drwxr-xr-x 5 root root 1024 Jul 11 14:53 WebRT
>
>Could any one please explain exactly why on earth it looking for this
>directory and how to get around it?
>
>Thanks
>Regards Riyaad.
>
>_______________________________________________
>rt-users mailing list
>rt-users at lists.fsck.com
>http://lists.fsck.com/mailman/listinfo/rt-users
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
More information about the rt-users
mailing list