Subject: Can't install gcc3-c-3.3.3 on Solaris 9!
To: None <>
From: John D. Baker <>
List: tech-pkg
Date: 03/03/2004 13:44:31
Seeing that lang/gcc3 was now updated for gcc 3.3.3, I set about to update
my system on Solaris9/sparc.  gcc3-c-3.3.3 built just fine (using
gcc3-c-3.3.2) but when I went to install it, the procedure eventually came
to a halt claiming:

cd /usr/pkg/gcc3/lib/gcc-lib/sparc-sun-solaris2/3.3.3/include && /usr/bin/rm -f fixed && /usr/bin/rmdir v7 v9
/usr/ucb/install -d -o root -g root -m 755 /usr/pkg/gcc3/mk
/usr/ucb/install -c -o root -g root -m 444 /usr/pkgsrc/lang/gcc3-c/work/ /usr/pkg/gcc3/mk/
/usr/bin/ln -f /usr/pkg/gcc3/bin/gcc /usr/pkg/gcc3/bin/cc
/usr/bin/cp -f /usr/pkgsrc/lang/gcc3-c/PLIST /usr/pkgsrc/lang/gcc3-c/work/PLIST_DYNAMIC
/usr/bin/find /usr/pkg/gcc3 \( -type f -o -type l \) -print              | /usr/bin/sort | /usr/pkg/bin/nbsed -e "s,/usr/pkg/,,g"                        >> /usr/pkgsrc/lang/gcc3-c/work/PLIST_DYNAMIC
/usr/bin/find /usr/pkg/gcc3 -type d -print                               | /usr/bin/sort -r | /usr/pkg/bin/nbsed -e "s,/usr/pkg/,@dirrm ,g"      >> /usr/pkgsrc/lang/gcc3-c/work/PLIST_DYNAMIC
/usr/bin/env: No such file or directory
*** Error code 1

bmake: stopped in /usr/pkgsrc/lang/gcc3-c
*** Error code 1


Needless to say, /usr/bin/env definitely does exist.  I can't imagine why
the installation procedure can't find what it's explicitly trying to run.
Did it do some funky chroot thing and change it's reference frame?

Help!  I'm either going to have to use the older gcc-3.3 installation,
or re-bootstrap with the sunfreeware gcc...

John D. Baker, KN5UKS                    NetBSD     Darwin/MacOS X
jdbaker(at)mylinuxisp(dot)com                 OpenBSD            FreeBSD
BSD -- It just sits there and _works_!