Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Michael Chastain <mec.gnu@mindspring.com>
To: Mark_Helzer@adp.com, gdb@sources.redhat.com
Subject: Re: Install error on digital unix v4.0
Date: Thu, 09 Sep 2004 18:11:00 -0000	[thread overview]
Message-ID: <41409CE0.nailB0H1FURQG@mindspring.com> (raw)
In-Reply-To: <86F706952883A445B8B6D8ACF27C2B76E93717@nexus.plaza.ds.adp.com>

"Mark Helzer" <Mark_Helzer@adp.com> wrote:
> if test ! -f standards.info; then cd .; fi;  if test -f standards.info;
> then  fo
> r i in standards.info*; do  ./install-sh -c -m 644 $i
> /usr/local/info/$i;  done;
>   fi
> sh: ./install-sh: not found
> *** Exit 1
> Stop.
> *** Exit 1
> Stop.

On my system, native i686-pc-linux-gnu with red hat 8.0,
this part of install.log looks like:

  if test ! -f standards.info; then cd /berman/migchain/source/gdb-6.2.1/etc; fi; \
  if test -f standards.info; then \
    for i in standards.info*; do \
      /usr/bin/install -c -m 644 $i /berman/migchain/install/target/native/gdb-6.2.1/info/$i; \
    done; \
  fi

Look at this part of the beginning of my configure.log:

  creating cache ./config.cache
  checking host system type... i686-pc-linux-gnu
  checking target system type... i686-pc-linux-gnu
  checking build system type... i686-pc-linux-gnu
  checking for a BSD compatible install... /usr/bin/install -c

And here is another configure.log excerpt from gdb 6.2
on native hppa2.0w-hp-hpux11.00:

  creating cache ./config.cache
  checking host system type... hppa2.0w-hp-hpux11.00
  checking target system type... hppa2.0w-hp-hpux11.00
  checking build system type... hppa2.0w-hp-hpux11.00
  checking for a BSD compatible install... /home/mec/source/gdb-6.2/install-sh -c

Can you check the beginning of your configure.log?  I bet that it has a
value for "BSD compatible install" with has a relative path in it,
like "./install-sh".  And then later, at "make install" time,
that non-absolute path does not work.

Two things to try:

(1) Use a separate build directory from the source directory.
    And use an absolute path for running the configure script.

    mkdir /foo/bar/build
    cd /foo/bar/build
    /foo/bar/gdb-6.2/configure --prefix=/whatever
    make
    make install

(2) Or, try setting the INSTALL environment variable to an absolute path:

    INSTALL=/foo/bar/gdb-6.2/install-sh
    export INSTALL

With either method, check the "BSD compatible install" line at the top 
of configure.log (your log from the "configure" command) and make sure
that it's got an absolute path.

I've built gdb 6.0 on native alphaev56-dec-osf4.0g using method (1)
using gnu make 3.79.1, gcc 3.3.4, and the vendor-supplied assembler and
linker.  But gdb 6.1, gdb 6.1.1, and gdb 6.2 don't build for me because
of PR gdb/1626, the ncurses library problem.

Hope this helps,

Michael Chastain


  reply	other threads:[~2004-09-09 18:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-09 17:25 Mark Helzer
2004-09-09 18:11 ` Michael Chastain [this message]
2004-09-09 18:15 ` Dave Korn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=41409CE0.nailB0H1FURQG@mindspring.com \
    --to=mec.gnu@mindspring.com \
    --cc=Mark_Helzer@adp.com \
    --cc=gdb@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox