public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* Problems with "make install"
@ 2000-03-19  4:27 Eli Zaretskii
  2000-03-24  0:30 ` Andrew Cagney
  2000-04-01  0:00 ` Eli Zaretskii
  0 siblings, 2 replies; 4+ messages in thread
From: Eli Zaretskii @ 2000-03-19  4:27 UTC (permalink / raw)
  To: gdb

I'm testing the "make install" targets, and I see several problems
which look like bugs.

1) gdb/Makefile doesn't seem to run mkinstalldirs to create some of
the directories, such as ${prefix}/bin and ${prefix}/man.  Similarly,
gdb/doc/Makefile doesn't create ${prefix}/info and ${prefix}/html.
Why is that?

2) Why doesn't "make install" install the Info docs?  For that matter,
why doesn't "make" doesn't "make info"?  One needs to say "make info"
and "make install-info" to get them, which is different from all the
other GNU project I've seen.

3) The top-level Makefile.in says this:

  INSTALL = $(SHELL) $$s/install-sh -c

This unconditionally forces Make to use the install-sh script for
installation, including in all the subdirectories.

Why is this necessary?  Is it possible to replace this with the usual
Autoconf magic that finds the install program at configure time?  (All
the subdirectories already do that, but the results of those tests are
overridden by the above.)

My problem with this is that install-sh is truncated to "install-" on
8+3 filesystems, and Make then doesn't think it's necessary to run the
commands for targets like install-recursive because it thinks that
install-recursive is a file which already exists.  So the DJGPP
configuration script renames install-sh to a different name, which
then fails because of the above.

Using the normal install program would solve all that nuisance.

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

* Re: Problems with "make install"
  2000-03-19  4:27 Problems with "make install" Eli Zaretskii
@ 2000-03-24  0:30 ` Andrew Cagney
  2000-04-01  0:00   ` Andrew Cagney
  2000-04-01  0:00 ` Eli Zaretskii
  1 sibling, 1 reply; 4+ messages in thread
From: Andrew Cagney @ 2000-03-24  0:30 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: gdb

Eli Zaretskii wrote:
> 
> I'm testing the "make install" targets, and I see several problems
> which look like bugs.
> 
> 1) gdb/Makefile doesn't seem to run mkinstalldirs to create some of
> the directories, such as ${prefix}/bin and ${prefix}/man.  Similarly,
> gdb/doc/Makefile doesn't create ${prefix}/info and ${prefix}/html.
> Why is that?

I'd assume that they are missing.

> 2) Why doesn't "make install" install the Info docs?  For that matter,
> why doesn't "make" doesn't "make info"?  One needs to say "make info"
> and "make install-info" to get them, which is different from all the
> other GNU project I've seen.

For this one, its been that way as long as I can remember.  It stops the
dependency on ``makeinfo'' which some installations may not have.

> 3) The top-level Makefile.in says this:
> 
>   INSTALL = $(SHELL) $$s/install-sh -c

(The one that annoys me is CFLAGS :-)
I don't have an easy solution. Sorry.

	Andrew

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

* Problems with "make install"
  2000-03-19  4:27 Problems with "make install" Eli Zaretskii
  2000-03-24  0:30 ` Andrew Cagney
@ 2000-04-01  0:00 ` Eli Zaretskii
  1 sibling, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2000-04-01  0:00 UTC (permalink / raw)
  To: gdb

I'm testing the "make install" targets, and I see several problems
which look like bugs.

1) gdb/Makefile doesn't seem to run mkinstalldirs to create some of
the directories, such as ${prefix}/bin and ${prefix}/man.  Similarly,
gdb/doc/Makefile doesn't create ${prefix}/info and ${prefix}/html.
Why is that?

2) Why doesn't "make install" install the Info docs?  For that matter,
why doesn't "make" doesn't "make info"?  One needs to say "make info"
and "make install-info" to get them, which is different from all the
other GNU project I've seen.

3) The top-level Makefile.in says this:

  INSTALL = $(SHELL) $$s/install-sh -c

This unconditionally forces Make to use the install-sh script for
installation, including in all the subdirectories.

Why is this necessary?  Is it possible to replace this with the usual
Autoconf magic that finds the install program at configure time?  (All
the subdirectories already do that, but the results of those tests are
overridden by the above.)

My problem with this is that install-sh is truncated to "install-" on
8+3 filesystems, and Make then doesn't think it's necessary to run the
commands for targets like install-recursive because it thinks that
install-recursive is a file which already exists.  So the DJGPP
configuration script renames install-sh to a different name, which
then fails because of the above.

Using the normal install program would solve all that nuisance.

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

* Re: Problems with "make install"
  2000-03-24  0:30 ` Andrew Cagney
@ 2000-04-01  0:00   ` Andrew Cagney
  0 siblings, 0 replies; 4+ messages in thread
From: Andrew Cagney @ 2000-04-01  0:00 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: gdb

Eli Zaretskii wrote:
> 
> I'm testing the "make install" targets, and I see several problems
> which look like bugs.
> 
> 1) gdb/Makefile doesn't seem to run mkinstalldirs to create some of
> the directories, such as ${prefix}/bin and ${prefix}/man.  Similarly,
> gdb/doc/Makefile doesn't create ${prefix}/info and ${prefix}/html.
> Why is that?

I'd assume that they are missing.

> 2) Why doesn't "make install" install the Info docs?  For that matter,
> why doesn't "make" doesn't "make info"?  One needs to say "make info"
> and "make install-info" to get them, which is different from all the
> other GNU project I've seen.

For this one, its been that way as long as I can remember.  It stops the
dependency on ``makeinfo'' which some installations may not have.

> 3) The top-level Makefile.in says this:
> 
>   INSTALL = $(SHELL) $$s/install-sh -c

(The one that annoys me is CFLAGS :-)
I don't have an easy solution. Sorry.

	Andrew

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

end of thread, other threads:[~2000-04-01  0:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-03-19  4:27 Problems with "make install" Eli Zaretskii
2000-03-24  0:30 ` Andrew Cagney
2000-04-01  0:00   ` Andrew Cagney
2000-04-01  0:00 ` Eli Zaretskii

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).