RT-3.8.0 installation issue under Solaris 10

Hello all,

I am trying to install RT-3.8.0 under Solaris 10 (SPARC) and can’t seem
to get it to work. The error seems to suggest the “install-sh” script
is not found in etc (and several other subdirectories). I tried to copy
the install-sh script into those directories. The installation went
further but that didn’t resolve the problem.

Has anyone been able to install RT-3.8.0 under Solaris? Any suggestions
are very appreciated.

------------ make install output -------------
All dependencies have been found.
./install-sh -c -m 0755 -o root -g apache -d /opt/rt3/etc
./install-sh -c -m 0440 -o root -g apache etc/RT_Config.pm
/opt/rt3/etc/RT_Config.pm
[ -f /opt/rt3/etc/RT_SiteConfig.pm ] || ./install-sh -c -m 0640 -o root
-g apache etc/RT_SiteConfig.pm /opt/rt3/etc/RT_SiteConfig.pm
Installed configuration. About to install RT in /opt/rt3
./install-sh -c -m 0755 -d /opt/rt3/var/log
./install-sh -c -m 0770 -d /opt/rt3/var/mason_data
./install-sh -c -m 0770 -d /opt/rt3/var/mason_data/cache
./install-sh -c -m 0770 -d /opt/rt3/var/mason_data/etc
./install-sh -c -m 0770 -d /opt/rt3/var/mason_data/obj
./install-sh -c -m 0770 -d /opt/rt3/var/session_data
./install-sh -c -m 0755 -d /opt/rt3/share/html
./install-sh -c -m 0755 -d /opt/rt3/local/html
./install-sh -c -m 0755 -d /opt/rt3/local/etc
./install-sh -c -m 0755 -d /opt/rt3/local/lib
./install-sh -c -m 0755 -d /opt/rt3/local/plugins
./install-sh -c -m 0755 -d /opt/rt3/local/po
[ -d /opt/rt3/lib ] || ./install-sh -c -m 0755 -d /opt/rt3/lib
cd lib && find . -type d -name .svn -prune -o -type d -exec ./install-sh
-c -m 0755 -d /opt/rt3/lib/{} ;
cd lib && find . -type d -name .svn -prune -o -type f -exec ./install-sh
-c -m 0644 {} /opt/rt3/lib/{} ;
./install-sh -c -m 0755 -d /opt/rt3/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 /opt/rt3/etc/
sh: ./install-sh: not found
*** Error code 1
make: Fatal error: Command failed for target `etc-install’

Thanks,

Alan

Alan Cheng wrote:

Hello all,

I am trying to install RT-3.8.0 under Solaris 10 (SPARC) and can’t seem
to get it to work. The error seems to suggest the “install-sh” script
is not found in etc (and several other subdirectories). I tried to copy
the install-sh script into those directories. The installation went
further but that didn’t resolve the problem.

Has anyone been able to install RT-3.8.0 under Solaris? Any suggestions
are very appreciated.

Last time I did installs on Solaris, quite a while back, I installed the
companian cd and then made sure its install path came first in my PATH var.
Something like:
export PATH=/opt/sfw/bin:$PATH

Hope this helps you and maybe also Philip,

Joop

Hi Joop,

Thank you very much for the tip. I thought it may have something to do
with the incompatibility with Soalris make (/usr/ccs/bin/make). The
companion CD would install the GNU make. With the latest version of
Solaris 10, most GNU packages have been installed in “/usr/sfw/bin”.

I downloaded GNU make package from Sunfreeware and re-ran make install.
Surprisingly it discovered a Fast CGI module being outdated. This
wasn’t discovered by Solaris make (strange…)

At the end of this. The same problem still persists. I copied the
install-sh script to several directories and this is what I got:

All dependencies have been found.
./install-sh -c -m 0755 -o root -g apache -d /opt/rt3/etc
./install-sh -c -m 0440 -o root -g apache etc/RT_Config.pm
/opt/rt3/etc/RT_Config.pm
[ -f /opt/rt3/etc/RT_SiteConfig.pm ] || ./install-sh -c -m 0640 -o root
-g apache etc/RT_SiteConfig.pm /opt/rt3/etc/RT_SiteConfig.pm
Installed configuration. About to install RT in /opt/rt3
./install-sh -c -m 0755 -d /opt/rt3/var/log
./install-sh -c -m 0770 -d /opt/rt3/var/mason_data
./install-sh -c -m 0770 -d /opt/rt3/var/mason_data/cache
./install-sh -c -m 0770 -d /opt/rt3/var/mason_data/etc
./install-sh -c -m 0770 -d /opt/rt3/var/mason_data/obj
./install-sh -c -m 0770 -d /opt/rt3/var/session_data
./install-sh -c -m 0755 -d /opt/rt3/share/html
./install-sh -c -m 0755 -d /opt/rt3/local/html
./install-sh -c -m 0755 -d /opt/rt3/local/etc
./install-sh -c -m 0755 -d /opt/rt3/local/lib
./install-sh -c -m 0755 -d /opt/rt3/local/plugins
./install-sh -c -m 0755 -d /opt/rt3/local/po
[ -d /opt/rt3/lib ] || ./install-sh -c -m 0755 -d /opt/rt3/lib
cd lib && find . -type d -name .svn -prune -o -type d -exec ./install-sh
-c -m 0755 -d /opt/rt3/lib/{} ;
cd lib && find . -type d -name .svn -prune -o -type f -exec ./install-sh
-c -m 0644 {} /opt/rt3/lib/{} ;
./install-sh -c -m 0755 -d /opt/rt3/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
/opt/rt3/etc/
./install-sh -c -m 0755 -d /opt/rt3/bin
cd bin && ./install-sh -c -o root -g apache -m 0755 webmux.pl
rt-mailgate rt rt-crontool standalone_httpd mason_handler.scgi
mason_handler.fcgi mason_handler.svc /opt/rt3/bin/
./install-sh -c -m 0755 -d /opt/rt3/sbin
cd sbin && ./install-sh -c -o root -g apache -m 0755 rt-dump-database
rt-setup-database rt-email-digest rt-email-dashboards
rt-email-group-admin rt-server rt-test-dependencies rt-clean-sessions
rt-shredder /opt/rt3/sbin/
[ -d /opt/rt3/share/html ] || ./install-sh -c -m 0755 -d /opt/rt3/share/html
cd share/html && find . -type d -name .svn -prune -o -type d -exec
./install-sh -c -m 0755 -d /opt/rt3/share/html/{} ;
cd share/html && find . -type d -name .svn -prune -o -type f -exec
./install-sh -c -m 0644 {} /opt/rt3/share/html/{} ;
cd local/html && find . -type d -name .svn -prune -o -type d -exec
./install-sh -c -m 0755 -d /opt/rt3/local/html/{} ;
/bin/sh: local/html: does not exist
make: [local-install] Error 1 (ignored)
cd local/html && find . -type d -name .svn -prune -o -type f -exec
./install-sh -c -m 0644 {} /opt/rt3/local/html/{} ;
/bin/sh: local/html: does not exist
make: [local-install] Error 1 (ignored)
cd local/po && find . -type d -name .svn -prune -o -type d -exec
./install-sh -c -m 0755 -d /opt/rt3/local/po/{} ;
/bin/sh: local/po: does not exist
make: [local-install] Error 1 (ignored)
cd local/po && find . -type d -name .svn -prune -o -type f -exec
./install-sh -c -m 0644 {} /opt/rt3/local/po/{} ;
/bin/sh: local/po: does not exist
make: [local-install] Error 1 (ignored)
cd local/etc && find . -type d -name .svn -prune -o -type d -exec
./install-sh -c -m 0755 -d /opt/rt3/local/etc/{} ;
/bin/sh: local/etc: does not exist
make: [local-install] Error 1 (ignored)
cd local/etc && find . -type d -name .svn -prune -o -type f -exec
./install-sh -c -m 0644 {} /opt/rt3/local/etc/{} ;
/bin/sh: local/etc: does not exist
make: [local-install] Error 1 (ignored)

RT 3.0.0 - RT 3.0.2 would accidentally create a file instead of a dir

[ -f /opt/rt3/share/doc ] && rm /opt/rt3/share/doc
make: [doc-install] Error 1 (ignored)
[ -d /opt/rt3/share/doc ] || ./install-sh -c -m 0755 -d /opt/rt3/share/doc
./install-sh -c -m 0644 ./README /opt/rt3/share/doc/

Make the libraries readable

chmod 0755 /opt/rt3
chown -R root /opt/rt3/lib
chgrp -R bin /opt/rt3/lib
chmod -R u+rwX,go-w,go+rX /opt/rt3/lib
chmod 0755 /opt/rt3/bin
chmod 0755 /opt/rt3/bin
chmod 0755 /opt/rt3/etc
cd /opt/rt3/etc && chmod 0400 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
chmod: WARNING: can’t access acl.Pg
chmod: WARNING: can’t access acl.Oracle
chmod: WARNING: can’t access acl.mysql
chmod: WARNING: can’t access acl.Sybase
chmod: WARNING: can’t access schema.Informix
chmod: WARNING: can’t access schema.Pg
chmod: WARNING: can’t access schema.Oracle
chmod: WARNING: can’t access schema.mysql
chmod: WARNING: can’t access schema.mysql-4.1
chmod: WARNING: can’t access schema.Sybase
chmod: WARNING: can’t access schema.SQLite
chmod: WARNING: can’t access initialdata
make: *** [fixperms] Error 12

I will see what else I can find.

Thanks again,

Alan

Joop wrote:

Did you verify the contents of /opt/rt3/etc? The script output indicates
that the schema and acl files in that directory don’t exist, which means
the preceding operation failed:

./install-sh -c -m 0755 -d /opt/rt3/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
/opt/rt3/etc/

James Moseley

Indeed those files don’t exist. I will have to dig further…

[/opt/rt3/etc]$ ls -l
total 72
-r-------- 1 root root 90 Jul 16 09:26 acl.Informix
-r–r----- 1 root apache 34202 Jul 16 09:33 RT_Config.pm
-rw-r----- 1 root apache 632 Jul 16 08:45 RT_SiteConfig.pm

Thanks,

Alan

jmoseley@corp.xanadoo.com wrote: