public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* Problem building 3.4.3 on solaris 8
@ 2005-02-15 23:30 Warren L Dodge
  2005-02-15 23:45 ` Andrew Pinski
  0 siblings, 1 reply; 4+ messages in thread
From: Warren L Dodge @ 2005-02-15 23:30 UTC (permalink / raw)
  To: gcc-bugs


I am trying to build gcc-3.4.3 on solaris 8. I get to the make install point
and then there is a problem. It appears the INSTALL variable is not getting
set right for the install step in the various directories.

I have the source in ..../gcc-3.4.3 and the build dir is ..../gcc-3.4.3_sun5.8

Here is the first error. Notice the the gcc src tree is one level higher then
the install path is specifying.

make install
/bin/sh ../gcc-3.4.3/mkinstalldirs /proj/wdtprojects/wdt_tmp/gnu_sun5.8/gcc-3.4.3 /proj/wdtprojects/wdt_tmp/gnu_sun5.8/gcc-3.4.3
make[1]: Entering directory `/proj/wdtold/warrend/gnusrc_new/000030-gcc-3.4.3/gcc-3.4.3_wdt_tmp_sun5.8/gcc'
if [ -f specs.ready ] ; then \
        true; \
else \
        echo timestamp > specs.ready; \
fi
mkdir -p /proj/wdtprojects/wdt_tmp/gnu_sun5.8/gcc-3.4.3/bin
if [ -f gnat1 ] ; \
 then \
  if [ -f gnatbind-cross ] ; \
  then \
    rm -f /proj/wdtprojects/wdt_tmp/gnu_sun5.8/gcc-3.4.3/bin/sparc-sun-solaris2.8-gnatbind; \
    ../gcc-3.4.3/install-sh -c gnatbind-cross /proj/wdtprojects/wdt_tmp/gnu_sun5.8/gcc-3.4.3/bin/sparc-sun-solaris2.8-gnatbind; \
    if [ -d /proj/wdtprojects/wdt_tmp/gnu_sun5.8/gcc-3.4.3/sparc-sun-solaris2.8/bin/. ] ; then \
      rm -f /proj/wdtprojects/wdt_tmp/gnu_sun5.8/gcc-3.4.3/sparc-sun-solaris2.8/bin/gnatbind; \
      ../gcc-3.4.3/install-sh -c gnatbind-cross /proj/wdtprojects/wdt_tmp/gnu_sun5.8/gcc-3.4.3/sparc-sun-solaris2.8/bin/gnatbind; \
    fi; \
  else \
    rm -f /proj/wdtprojects/wdt_tmp/gnu_sun5.8/gcc-3.4.3/bin/gnatbind; \
    ../gcc-3.4.3/install-sh -c gnatbind /proj/wdtprojects/wdt_tmp/gnu_sun5.8/gcc-3.4.3/bin/gnatbind; \
  fi ; \
fi
/bin/sh: ../gcc-3.4.3/install-sh: not found
make[1]: [ada.install-common] Error 1 (ignored)



Looking at the Makefile in ..../gcc-3.4.3_sun5.8/gcc it has 

INSTALL = ../../gcc-3.4.3/gcc/../install-sh -c

which is correct. So I assume that the INSTALL variable is being overwritten
from the main Makefile.

If you need more information let me know. 

I'll mention that on Linux the install works fine as they are using
/usr/bin/install for the install. I did not have install in my path when
building gcc on solaris 8 so I assume it tried to make do with the script bug
that code isn't quite right.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Problem building 3.4.3 on solaris 8
  2005-02-15 23:30 Problem building 3.4.3 on solaris 8 Warren L Dodge
@ 2005-02-15 23:45 ` Andrew Pinski
  0 siblings, 0 replies; 4+ messages in thread
From: Andrew Pinski @ 2005-02-15 23:45 UTC (permalink / raw)
  To: Warren L Dodge; +Cc: gcc-bugs

This is PR 13993 which only effects if you configure with a relative 
patch and
only 3.4.x, it is fixed on the mainline already.

-- Pinski


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Problem building 3.4.3 on solaris 8
  2005-02-15 23:20 Warren L Dodge
@ 2005-02-16  2:01 ` Eric Botcazou
  0 siblings, 0 replies; 4+ messages in thread
From: Eric Botcazou @ 2005-02-16  2:01 UTC (permalink / raw)
  To: Warren L Dodge; +Cc: gcc-bugs, bug-gcc

> I am trying to build gcc-3.4.3 on solaris 8. I get to the make install
> point and then there is a problem. It appears the INSTALL variable is not
> getting set right for the install step in the various directories.
>
> I have the source in ..../gcc-3.4.3 and the build dir is
> ..../gcc-3.4.3_sun5.8

Use an absolute path to configure, not a relative one.  See the 
Solaris-specific release notes

-- 
Eric Botcazou


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Problem building 3.4.3 on solaris 8
@ 2005-02-15 23:20 Warren L Dodge
  2005-02-16  2:01 ` Eric Botcazou
  0 siblings, 1 reply; 4+ messages in thread
From: Warren L Dodge @ 2005-02-15 23:20 UTC (permalink / raw)
  To: bug-gcc



I am trying to build gcc-3.4.3 on solaris 8. I get to the make install point
and then there is a problem. It appears the INSTALL variable is not getting
set right for the install step in the various directories.

I have the source in ..../gcc-3.4.3 and the build dir is ..../gcc-3.4.3_sun5.8

Here is the first error. Notice the the gcc src tree is one level higher then
the install path is specifying.

make install
/bin/sh ../gcc-3.4.3/mkinstalldirs /proj/wdtprojects/wdt_tmp/gnu_sun5.8/gcc-3.4.3 /proj/wdtprojects/wdt_tmp/gnu_sun5.8/gcc-3.4.3
make[1]: Entering directory `/proj/wdtold/warrend/gnusrc_new/000030-gcc-3.4.3/gcc-3.4.3_wdt_tmp_sun5.8/gcc'
if [ -f specs.ready ] ; then \
        true; \
else \
        echo timestamp > specs.ready; \
fi
mkdir -p /proj/wdtprojects/wdt_tmp/gnu_sun5.8/gcc-3.4.3/bin
if [ -f gnat1 ] ; \
 then \
  if [ -f gnatbind-cross ] ; \
  then \
    rm -f /proj/wdtprojects/wdt_tmp/gnu_sun5.8/gcc-3.4.3/bin/sparc-sun-solaris2.8-gnatbind; \
    ../gcc-3.4.3/install-sh -c gnatbind-cross /proj/wdtprojects/wdt_tmp/gnu_sun5.8/gcc-3.4.3/bin/sparc-sun-solaris2.8-gnatbind; \
    if [ -d /proj/wdtprojects/wdt_tmp/gnu_sun5.8/gcc-3.4.3/sparc-sun-solaris2.8/bin/. ] ; then \
      rm -f /proj/wdtprojects/wdt_tmp/gnu_sun5.8/gcc-3.4.3/sparc-sun-solaris2.8/bin/gnatbind; \
      ../gcc-3.4.3/install-sh -c gnatbind-cross /proj/wdtprojects/wdt_tmp/gnu_sun5.8/gcc-3.4.3/sparc-sun-solaris2.8/bin/gnatbind; \
    fi; \
  else \
    rm -f /proj/wdtprojects/wdt_tmp/gnu_sun5.8/gcc-3.4.3/bin/gnatbind; \
    ../gcc-3.4.3/install-sh -c gnatbind /proj/wdtprojects/wdt_tmp/gnu_sun5.8/gcc-3.4.3/bin/gnatbind; \
  fi ; \
fi
/bin/sh: ../gcc-3.4.3/install-sh: not found
make[1]: [ada.install-common] Error 1 (ignored)



Looking at the Makefile in ..../gcc-3.4.3_sun5.8/gcc it has 

INSTALL = ../../gcc-3.4.3/gcc/../install-sh -c

which is correct. So I assume that the INSTALL variable is being overwritten
from the main Makefile.

If you need more information let me know. 


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-02-15 21:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-15 23:30 Problem building 3.4.3 on solaris 8 Warren L Dodge
2005-02-15 23:45 ` Andrew Pinski
  -- strict thread matches above, loose matches on Subject: below --
2005-02-15 23:20 Warren L Dodge
2005-02-16  2:01 ` Eric Botcazou

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).