[Rt-devel] 3.8 install in Solaris 10 x86

Philip Kime Philip at kime.org.uk
Tue Jul 15 15:28:34 EDT 2008


On 15 Jul 2008, at 2:03 AM, Rainer Duffner wrote:

> Philip Kime schrieb:
>> "make install" really messes up on Solaris 10 x86 for me. Firstly,  
>> you  have to use gtar to untar the distro as vanilla Sol10 tar  
>> doesn't  handle the long links.
>>
>> More importantly though, "make install" just won't work at all -   
>> install.sh thinks it can't find any of the files it wants to copy  
>> and  just dies. I messed around for a while trying to manually copy  
>> stuff  but gave up. I saw this with 3.8 RC1 but never got round to  
>> reporting  it, which I should have done ... anyone else have this  
>> problem on  Solaris?
>>
>
>
> Maybe you need to use "gmake" instead of the Solaris make (or do  
> they use gmake, too, these days?)

Yes, I was using gmake and gtar. Output is below. After the failure,  
the directory structure under /usr/local/rt exists but the only two  
files which made it are RT_Config.pm and RT_SiteConfig.pm. Seems to be  
the find lines from the Makefile. I tried gfind too but it dies the  
same, just more verbose errors. Seems that the "-exec ,.install-sh" is  
chdir'ed to the wrong dir or somthing - g/find can't find ./install- 
sh. I did try messing around copying install.sh into other places  
which fixed some of this but I could not get it to copy most of the  
tree over. I started doing it all by hand and chown/chmodding myself  
but I ran out of time.

PK


-bash-3.00# gmake install
/usr/bin/perl ./sbin/rt-test-dependencies --verbose --with-mysql -- 
with-modperl2
perl:
         >=5.8.3(5.8.8)...found
users:
         rt group (apache)...found
         bin owner (root)...found
         libs owner (root)...found
         libs group (bin)...found
         web owner (apache)...found
         web group (apache)...found
CLI dependencies:
         Term::ReadKey...found
         Getopt::Long >= 2.24...found
         HTTP::Request::Common...found
         Term::ReadLine...found
         Text::ParseWords...found
         LWP...found
CORE dependencies:
         Class::ReturnValue >= 0.40...found
         Text::Quoted >= 2.02...found
         CSS::Squish >= 0.06...found
         Encode >= 2.13...found
         Module::Versions::Report >= 1.05...found
         MIME::Entity >= 5.425...found
         DBI >= 1.37...found
         Locale::Maketext::Lexicon >= 0.32...found
         Devel::StackTrace >= 1.19...found
         Digest::base...found
         Time::ParseDate...found
         File::Temp >= 0.18...found
         Locale::Maketext >= 1.06...found
         Tree::Simple >= 1.04...found
         Text::Template...found
         Scalar::Util...found
         HTML::Scrubber >= 0.08...found
         File::Spec >= 0.8...found
         Calendar::Simple...found
         DBIx::SearchBuilder >= 1.53...found
         Mail::Mailer >= 1.57...found
         File::ShareDir...found
         Regexp::Common...found
         Digest::MD5 >= 2.27...found
         HTML::Entities...found
         Cache::Simple::TimedExpiry...found
         File::Glob...found
         Locale::Maketext::Fuzzy...found
         Time::HiRes...found
         Text::Wrapper...found
         Log::Dispatch >= 2.0...found
         UNIVERSAL::require...found
         Email::Address...found
DASHBOARDS dependencies:
         HTML::RewriteAttributes >= 0.02...found
         MIME::Types...found
GD dependencies:
         GD::Text...found
         GD...found
         GD::Graph...found
GPG dependencies:
         PerlIO::eol...found
         GnuPG::Interface...found
GRAPHVIZ dependencies:
         IPC::Run...found
         GraphViz...found
         IPC::Run::SafeHandles...found
ICAL dependencies:
         Data::ICal...found
MAILGATE dependencies:
         Pod::Usage...found
         HTML::TreeBuilder...found
         Getopt::Long...found
         HTML::FormatText...found
         LWP::UserAgent...found
MASON dependencies:
         Storable >= 2.08...found
         CSS::Squish >= 0.06...found
         Apache::Session >= 1.53...found
         Errno...found
         Devel::StackTrace >= 1.19...found
         CGI::Cookie >= 1.20...found
         Text::WikiFormat >= 0.76...found
         XML::RSS >= 1.05...found
         HTML::Mason >= 1.36...found
         Digest::MD5 >= 2.27...found
MODPERL2 dependencies:
         CGI >= 3.38...found
         Apache::DBI...found
         HTML::Mason >= 1.36...found
MYSQL dependencies:
         DBD::mysql >= 2.1018...found
SMTP dependencies:
         Net::SMTP...found
STANDALONE dependencies:
         Net::Server::PreFork...found
         Net::Server...found
         HTTP::Server::Simple >= 0.34...found
         HTTP::Server::Simple::Mason >= 0.09...found

All dependencies have been found.
./install-sh -c -m 0755 -o root -g apache -d /usr/local/rt/etc
./install-sh -c -m 0440 -o root -g apache  etc/RT_Config.pm /usr/local/ 
rt/etc/RT_Config.pm
[ -f /usr/local/rt/etc/RT_SiteConfig.pm ] || ./install-sh -c -m 0640 - 
o root -g apache etc/RT_SiteConfig.pm /usr/local/rt/etc/RT_SiteConfig.pm
Installed configuration. About to install RT in  /usr/local/rt
./install-sh -c -m 0755 -d /usr/local/rt/var/log
./install-sh -c -m 0770 -d /usr/local/rt/var/mason_data
./install-sh -c -m 0770 -d /usr/local/rt/var/mason_data/cache
./install-sh -c -m 0770 -d /usr/local/rt/var/mason_data/etc
./install-sh -c -m 0770 -d /usr/local/rt/var/mason_data/obj
./install-sh -c -m 0770 -d /usr/local/rt/var/session_data
./install-sh -c -m 0755 -d /usr/local/rt/share/html
./install-sh -c -m 0755 -d /usr/local/rt/local/html
./install-sh -c -m 0755 -d /usr/local/rt/local/etc
./install-sh -c -m 0755 -d /usr/local/rt/local/lib
./install-sh -c -m 0755 -d /usr/local/rt/local/plugins
./install-sh -c -m 0755 -d /usr/local/rt/local/po
[ -d /usr/local/rt/lib ] || ./install-sh -c -m 0755 -d /usr/local/rt/lib
cd lib && find . -type d -name .svn -prune -o -type d -exec ./install- 
sh -c -m 0755 -d /usr/local/rt/lib/{} \;
cd lib && find . -type d -name .svn -prune -o -type f -exec ./install- 
sh -c -m 0644 {} /usr/local/rt/lib/{} \;
./install-sh -c -m 0755 -d /usr/local/rt/etc
cd etc && ./install-sh -c -m 0644 acl.Informix acl.Pg acl.Oracle  
acl.mysql acl.Sybase schema.Informix schema.Pg schema.Oracle  
schema.mysql schema.mysql-4.1 schema.Sybase schema.SQLite initialdata / 
usr/local/rt/etc/
/bin/sh: ./install-sh: not found
gmake: *** [etc-install] Error 1




--
Dr Philip Kime







More information about the Rt-devel mailing list