3.8 install in Solaris 10 x86

“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?

PK
Dr Philip Kime

“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?

Can you copy/paste the make install output and send it to
rt-bugs@bestpractical.com ?

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?)

Rainer

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

cd etc && ./install-sh

That’s the issue. I’m a little surprised a solaris system doesn’t have
an ‘install’ command.

cd etc && ./install-sh

That’s the issue. I’m a little surprised a solaris system doesn’t
have an ‘install’ command.

It does:

-bash-3.00# which install
/usr/sbin/install

Dr Philip Kime

On 2008-07-15 at 15:37, Jesse Vincent ( jesse@bestpractical.com ) said:

cd etc && ./install-sh

That’s the issue. I’m a little surprised a solaris system doesn’t have
an ‘install’ command.

Typical. Usually if you install the companion cd, it will be in
/opt/sfw/bin/install.

‘install’ is part of the GNU coreutils, so it’s not surprising in the
least.

–andy

cd etc && ./install-sh

That’s the issue. I’m a little surprised a solaris system doesn’t
have an ‘install’ command.

It does:

-bash-3.00# which install
/usr/sbin/install

Does configure pick it up? (is sbin in your path?)

cd etc && ./install-sh

That’s the issue. I’m a little surprised a solaris system doesn’t
have an ‘install’ command.

It does:

-bash-3.00# which install
/usr/sbin/install

Does configure pick it up? (is sbin in your path?)

Yep:

-bash-3.00# echo $PATH
/usr/sbin:/usr/bin:/usr/ccs/bin:/opt/sfw/bin:/usr/sfw/bin:/usr/local/
mysql/bin:/usr/local/bin:/opt/SUNWspro/bin:/opt/csw/bin

Something changed in the install procedure since I installed 3.6.x and
3.7? These had no problems installing.

PK

Dr Philip Kime

Does configure pick it up? (is sbin in your path?)

Yep:

-bash-3.00# echo $PATH
/usr/sbin:/usr/bin:/usr/ccs/bin:/opt/sfw/bin:/usr/sfw/bin:/usr/local/
mysql/bin:/usr/local/bin:/opt/SUNWspro/bin:/opt/csw/bin

Can you post the configure-generated config.* files?

Something changed in the install procedure since I installed 3.6.x
and 3.7? These had no problems installing.

They may have had no problems for you, but had lots of problems :wink:

Does configure pick it up? (is sbin in your path?)

Yep:

-bash-3.00# echo $PATH
/usr/sbin:/usr/bin:/usr/ccs/bin:/opt/sfw/bin:/usr/sfw/bin:/usr/
local/mysql/bin:/usr/local/bin:/opt/SUNWspro/bin:/opt/csw/bin

Can you post the configure-generated config.* files?

Something changed in the install procedure since I installed 3.6.x
and 3.7? These had no problems installing.

They may have had no problems for you, but had lots of problems :wink:

Hey, I never said they had no problems, otherwise I wouldn’t be
installing 3.8 :slight_smile:

config.* files attached in a zip.

rt.zip (14 KB)