* Install error on digital unix v4.0
@ 2004-09-09 17:25 Mark Helzer
2004-09-09 18:11 ` Michael Chastain
2004-09-09 18:15 ` Dave Korn
0 siblings, 2 replies; 3+ messages in thread
From: Mark Helzer @ 2004-09-09 17:25 UTC (permalink / raw)
To: gdb
After compiling using gcc, I get the following error during "make
install"
./../install-sh -c -m 644 ./../include/dis-asm.h
/usr/local/include/dis-asm.h
for f in standards.info configure.info; do if test -f ./`echo $f | sed
-e 's/.i
nfo$/.texi/'`; then if make "MAKEINFO=/adp/local/src/gdb-6.2/missing
makeinfo -
-split-size=5000000" $f; then true; else exit 1; fi; fi; done
`standards.info' is up to date.
`configure.info' is up to date.
/bin/sh ./../mkinstalldirs /usr/local/info
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.
Mark Helzer
ADP Dealer Services
2525 S.W 1st Portland, OR.
(503) 402-3481
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Install error on digital unix v4.0
2004-09-09 17:25 Install error on digital unix v4.0 Mark Helzer
@ 2004-09-09 18:11 ` Michael Chastain
2004-09-09 18:15 ` Dave Korn
1 sibling, 0 replies; 3+ messages in thread
From: Michael Chastain @ 2004-09-09 18:11 UTC (permalink / raw)
To: Mark_Helzer, gdb
"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
^ permalink raw reply [flat|nested] 3+ messages in thread* RE: Install error on digital unix v4.0
2004-09-09 17:25 Install error on digital unix v4.0 Mark Helzer
2004-09-09 18:11 ` Michael Chastain
@ 2004-09-09 18:15 ` Dave Korn
1 sibling, 0 replies; 3+ messages in thread
From: Dave Korn @ 2004-09-09 18:15 UTC (permalink / raw)
To: 'Mark Helzer', gdb
> -----Original Message-----
> From: gdb-owner On Behalf Of Mark Helzer
> Sent: 09 September 2004 18:26
> To: gdb
> Subject: Install error on digital unix v4.0
>
> After compiling using gcc, I get the following error during "make
> install"
> sh: ./install-sh: not found
These days, the very first thing that anybody should do when faced with a
new and confusing error message is STFW...
http://www.google.com/search?hl=en&ie=UTF-8&q=sh%3A+.%2Finstall-sh%3A+not+fo
und
... since 9 times out of 10, someone else will have had the same problem and
found a solution to it.
In this case, the problem seems to be b0rkage in the top-level makefiles
that don't set the path to install-sh properly. You can apparently specify
an override via an environment variable on the configure command line: and
since there is an install.sh in the gdb source distro, you might be able to
workaround the bug like this:
env INSTALL=/path/to/gdb/sources/gdb-6.2/install.sh configure <your config
options go here>
although another workaround that google search suggested would be just to cd
into the gdb subdir of your build dir and run the make install there.
cheers,
DaveK
--
Can't think of a witty .sigline today....
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-09-09 18:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-09 17:25 Install error on digital unix v4.0 Mark Helzer
2004-09-09 18:11 ` Michael Chastain
2004-09-09 18:15 ` Dave Korn
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox