[rt-devel] Major Problem installing RT 3.0 beta ( 2.1.75)
Jesse Vincent
jesse at bestpractical.com
Wed Mar 12 15:27:50 EST 2003
Valid values for --with-db-type are "Pg" and "mysql". Starting with the
next release of RT, you'll be stopped by configure, rather than getting
the weird-looking error you got.. Starting with the next release of RT,
you'll be stopped by configure, rather than getting the weird-looking
error you got.. Starting with the next release of RT, you'll be stopped
by configure, rather than getting the weird-looking error you got..
Starting with the next release of RT, you'll be stopped by configure,
rather than getting the weird-looking error you got.
On Wed, Mar 12, 2003 at 01:44:27PM -0500, fkittred at gwi.net wrote:
> On Wed, 12 Mar 2003 12:33:45 -0500 (EST) Andy Harrison wrote:
> > What params did you give ./configure? and you should probably grab the last
> > beta 2-1-87.
>
> Hi Andy! Glad you are on the case. Some day we ought to be more
> formally introduced.
>
> [An aside, I notice that installing RT 3.0 beta bones the O/S, at least on
> FreeBSD, when it makes everything in /usr/local/etc be in group rt
> readable and executable only by owner. On my installation, this broke
> printing, etc. I suspect this is a known problem seperate from the
> issue I am having. ]
>
> Trying again with beta 2-1-87, my params were:
>
> ./configure --prefix=/usr/local --with-db-type=postgres^M
> checking for a BSD-compatible install... /usr/bin/install -c
> checking for perl... /usr/bin/perl
> checking for chosen layout... RT3
> configure: creating ./config.status
> config.status: creating sbin/rt-setup-database
> config.status: creating sbin/rt-test-dependencies
> config.status: creating Makefile
> config.status: creating etc/RT_Config.pm
> config.status: creating lib/RT.pm
> config.status: creating lib/t/00smoke.t
> config.status: creating lib/t/01harness.t
> config.status: creating lib/t/02regression.t
> config.status: creating lib/t/03web.pl
> config.status: creating bin/mason_handler.fcgi
> config.status: creating bin/mason_handler.svc
> config.status: creating bin/rt-commit-handler
> config.status: creating bin/rt-crontool
> config.status: creating bin/rt-mailgate
> config.status: creating bin/webmux.pl
> emissary# perl sbin/rt-test-dependencies --with-postgres --with-modperl2^M
> I18N-COMPAT dependencies:
> Text::Iconv ...found
> Encode::compat 0.04...found
> MASON dependencies:
> Params::Validate 0.02...found
> Cache::Cache ...found
> Exception::Class ...found
> HTML::Mason 1.16...found
> MLDBM ...found
> Errno ...found
> FreezeThaw ...found
> Digest::MD5 ...found
> CGI::Cookie 1.20...found
> Storable ...found
> Apache::Session 1.53...found
> MAILGATE dependencies:
> HTML::TreeBuilder ...found
> HTML::FormatText ...found
> Getopt::Long ...found
> LWP::UserAgent ...found
> MODPERL2 dependencies:
> CGI 2.89...found
> Apache::DBI ...found
> POSTGRESQL dependencies:
> DBD::Pg ...found
> CLI dependencies:
> Getopt::Long 2.24...found
> DEV dependencies:
> Regexp::Common ...found
> Time::HiRes ...found
> Test::Inline ...found
> WWW::Mechanize ...MISSING
> CORE dependencies:
> Digest::MD5 ...found
> DBI 1.18...found
> Test::Inline ...found
> Class::ReturnValue 0.40...found
> DBIx::SearchBuilder 0.80...found
> Text::Template ...found
> File::Spec 0.8...found
> HTML::Entities ...found
> Net::Domain ...found
> Log::Dispatch 2.0...found
> Locale::Maketext ...found
> Locale::Maketext::Lexicon 0.10...found
> Locale::Maketext::Fuzzy ...found
> MIME::Entity 5.108...found
> Mail::Mailer 1.57...found
> Net::SMTP ...found
> Text::Wrapper ...found
> Time::ParseDate ...found
> File::Temp ...found
> Term::ReadKey ...found
> Text::Autoformat ...found
> Text::Quoted ...found
>
> I then try to install:
>
> # make install
> mkdir -p //usr/local/etc
> cp etc/RT_Config.pm //usr/local/etc/RT_Config.pm
> [ -f //usr/local/etc/RT_SiteConfig.pm ] || cp etc/RT_SiteConfig.pm //usr/local/etc/RT_SiteConfig.pm
> chgrp rt //usr/local/etc/RT_Config.pm
> chown root //usr/local/etc/RT_Config.pm
> chgrp rt //usr/local/etc/RT_SiteConfig.pm
> chown root //usr/local/etc/RT_SiteConfig.pm
> Installed configuration. about to install rt in /usr/local
> mkdir -p //usr/local/var/log
> mkdir -p //usr/local/var/mason_data
> mkdir -p //usr/local/var/mason_data/cache
> mkdir -p //usr/local/var/mason_data/etc
> mkdir -p //usr/local/var/mason_data/obj
> mkdir -p //usr/local/var/session_data
> mkdir -p //usr/local/share/html
> mkdir -p //usr/local/local/html
> mkdir -p //usr/local/local/po
> [ -d //usr/local/lib ] || mkdir //usr/local/lib
> cp -rp lib/* //usr/local/lib
> mkdir -p //usr/local/etc
> cp -rp etc/acl.* etc/initialdata etc/schema.* //usr/local/etc
> mkdir -p //usr/local/bin
> cp -rp bin/rt-mailgate bin/mason_handler.fcgi bin/mason_handler.svc bin/webmux.pl bin/rt-crontool //usr/local/bin
> mkdir -p //usr/local/sbin
> cp -rp sbin/rt-setup-database sbin/rt-test-dependencies //usr/local/sbin
> [ -d //usr/local/share/html ] || mkdir //usr/local/share/html
> cp -rp ./html/* //usr/local/share/html
> cp -rp ./local/html/* //usr/local/local/html
> cp: ./local/html/*: No such file or directory
> *** Error code 1 (ignored)
> cp -rp ./local/po/* //usr/local/local/po
> cp: ./local/po/*: No such file or directory
> *** Error code 1 (ignored)
> cp -rp ./README //usr/local/share/doc
> # Make the libraries readable
> chmod 0755 //usr/local
> chown -R root //usr/local/lib
> chgrp -R bin //usr/local/lib
> chmod -R u+rwX,go-w,go+rX //usr/local/lib
> chmod 0755 //usr/local/bin
> chmod 0755 //usr/local/bin
> chmod 0755 //usr/local/etc
> chmod 0500 //usr/local/etc/*
> #TODO: the config file should probably be able to have its
> # owner set seperately from the binaries.
> chown -R root //usr/local/etc
> chgrp -R rt //usr/local/etc
> chmod 0550 //usr/local/etc/RT_Config.pm
> chmod 0550 //usr/local/etc/RT_SiteConfig.pm
> # Make the interfaces executable and setgid rt
> # Make the interfaces executable and setgid rt
> chown root //usr/local/bin/webmux.pl //usr/local/bin/rt-mailgate //usr/local/bin/rt-crontool //usr/local/bin/mason_handler.fcgi //usr/local/bin/mason_handler.svc
> chgrp rt //usr/local/bin/webmux.pl //usr/local/bin/rt-mailgate //usr/local/bin/rt-crontool //usr/local/bin/mason_handler.fcgi //usr/local/bin/mason_handler.svc
> chmod 0755 //usr/local/bin/webmux.pl //usr/local/bin/rt-mailgate //usr/local/bin/rt-crontool //usr/local/bin/mason_handler.fcgi //usr/local/bin/mason_handler.svc
> chmod g+s //usr/local/bin/mason_handler.fcgi //usr/local/bin/mason_handler.svc
> # Make the web ui readable by all.
> chmod -R u+rwX,go-w,go+rX //usr/local/share/html //usr/local/local/html //usr/local/local/po
> chown -R root //usr/local/share/html //usr/local/local/html
> chgrp -R bin //usr/local/share/html //usr/local/local/html
> # Make the web ui's data dir writable
> chmod 0770 //usr/local/var/mason_data //usr/local/var/session_data
> chown -R www //usr/local/var/mason_data //usr/local/var/session_data
> chgrp -R www //usr/local/var/mason_data //usr/local/var/session_data
> Congratulations. RT has been installed.
>
>
> You must now configure RT by editing /usr/local/etc/RT_SiteConfig.pm.
>
> (You will definitely need to set RT's database password before continuing.
> Not doing so could be very dangerous)
>
> After that, you need to initialize RT's database by running
> 'make initialize-database'
>
> [ Here I take a break to try to restore /usr/local/etc ]
>
> Then:
>
> # make initialize-database
> /usr/bin/perl //usr/local/sbin/rt-setup-database --action init --dba root --prompt-for-dba-password
> Can't locate object method "new" via package "RT::Handle" at //usr/local/sbin/rt-setup-database line 67.
> *** Error code 2
> _______________________________________________
> rt-devel mailing list
> rt-devel at lists.fsck.com
> http://lists.fsck.com/mailman/listinfo/rt-devel
--
http://www.bestpractical.com/rt -- Trouble Ticketing. Free.
More information about the Rt-devel
mailing list