This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/16279] New: Can't install 3.4.1 RC1 on Solaris 8


Configured gcc-core-3.4.1-20040625 with:

  ../configure --prefix=$HOME/local/gcc-3.4.1-20040625

Included in the configure output is this line:

  checking for a BSD compatible install... ../gcc-3.4.1-20040625/install-sh -c

Bootstrapped with 'gmake bootstrap-lean', which proceeded without incident. In
particular, install-sh is successfully located as each subdirectory is built.
For instance:

  Configuring in gcc
  configure: creating cache ./config.cache
  checking build system type... sparc-sun-solaris2.8
  [...]
  checking for a BSD compatible install...
../../gcc-3.4.1-20040625/gcc/../install -sh -c
  [...]

However, 'gmake install' fails, because install-sh is referenced as though the
cwd is the top of the build directory, when in fact the cwd is one level down,
in the gcc subdirectory:

  /bin/sh ../gcc-3.4.1-20040625/mkinstalldirs      
/u/meberdt/local/gcc-3.4.1-20040625 /u/meberdt/local/gcc-3.4.1-20040625
  mkdir /u/meberdt/local/gcc-3.4.1-20040625
  gmake[1]: Entering directory `/u/meberdt/gcc/Build/gcc'
  if [ -f specs.ready ] ; then \
        true; \
  else \
        echo timestamp > specs.ready; \
  fi
  /bin/sh ../../gcc-3.4.1-20040625/gcc/mkinstalldirs
/u/meberdt/local/gcc-3.4.1-20040625/lib/gcc/sparc-sun-solaris2.8/3.4.1
  mkdir -p -- /u/meberdt/local/gcc-3.4.1-20040625/lib/gcc/sparc-sun-solaris2.8/3.4.1
  /bin/sh ../../gcc-3.4.1-20040625/gcc/mkinstalldirs
/u/meberdt/local/gcc-3.4.1-20040625/libexec/gcc/sparc-sun-solaris2.8/3.4.1
  mkdir -p --
/u/meberdt/local/gcc-3.4.1-20040625/libexec/gcc/sparc-sun-solaris2.8/3.4.1
  /bin/sh ../../gcc-3.4.1-20040625/gcc/mkinstalldirs
/u/meberdt/local/gcc-3.4.1-20040625/bin
  mkdir -p -- /u/meberdt/local/gcc-3.4.1-20040625/bin
  /bin/sh ../../gcc-3.4.1-20040625/gcc/mkinstalldirs
/u/meberdt/local/gcc-3.4.1-20040625/include
  mkdir -p -- /u/meberdt/local/gcc-3.4.1-20040625/include
  /bin/sh ../../gcc-3.4.1-20040625/gcc/mkinstalldirs
/u/meberdt/local/gcc-3.4.1-20040625/info
  mkdir -p -- /u/meberdt/local/gcc-3.4.1-20040625/info
  /bin/sh ../../gcc-3.4.1-20040625/gcc/mkinstalldirs
/u/meberdt/local/gcc-3.4.1-20040625/lib
  /bin/sh ../../gcc-3.4.1-20040625/gcc/mkinstalldirs
/u/meberdt/local/gcc-3.4.1-20040625/man/man1
  mkdir -p -- /u/meberdt/local/gcc-3.4.1-20040625/man/man1
  /bin/sh ../../gcc-3.4.1-20040625/gcc/mkinstalldirs
/u/meberdt/local/gcc-3.4.1-20040625/man/man7
  mkdir -p -- /u/meberdt/local/gcc-3.4.1-20040625/man/man7
  for file in cc1 ; do \
    if [ -f $file ] ; then \
      rm -f
/u/meberdt/local/gcc-3.4.1-20040625/libexec/gcc/sparc-sun-solaris2.8/3.4.1/$file; \
      ../gcc-3.4.1-20040625/install-sh -c $file
/u/meberdt/local/gcc-3.4.1-20040625/libexec/gcc/sparc-sun-solaris2.8/3.4.1/$file; \
    else true; \
    fi; \
  done
  /bin/sh: ../gcc-3.4.1-20040625/install-sh: not found
  gmake[1]: *** [install-common] Error 1
  gmake[1]: Leaving directory `/u/meberdt/gcc/Build/gcc'
  gmake: *** [install-gcc] Error 2

-- 
           Summary: Can't install 3.4.1 RC1 on Solaris 8
           Product: gcc
           Version: 3.4.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: meberdt at office dot xerox dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: same
  GCC host triplet: sparc-sun-solaris2.8
GCC target triplet: same


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16279


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]