public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* Re: Insight built correctly on sparc solaris 2.8
  2002-07-24  9:22 Insight built correctly on sparc solaris 2.8 Bruce Korb
@ 2002-07-24  9:03 ` Bruce Korb
  2002-07-24  9:25   ` Keith Seitz
  0 siblings, 1 reply; 8+ messages in thread
From: Bruce Korb @ 2002-07-24  9:03 UTC (permalink / raw)
  To: insight


More problems

Bruce Korb wrote:
> [...]
> Installing library files to /u/local/share/tcl8.3
> Installing library http2.3 directory
> cp: cannot access ../../../tcl/unix/../library/http2.3/*.tcl
> chmod: WARNING: can't access /u/local/share/tcl8.3/http2.3/#inst.8575#
> mv: cannot access /u/local/share/tcl8.3/http2.3/#inst.8575#
> Installing library http1.0 directory
> Installing library opt0.4 directory
> [...]

> /u/local/bin/ginstall: cannot create regular file \
> `/u/local/share/redhat/gui/../../../libgui/library/pkgIndex.tcl': \
> No such file or directory
> *** Error code 1

``mkdir -p /u/local/libgui/library'' fixed the latter problem.
The install still needs fixing, though....
So, I worked my through to another problem:

> ( cd /u/local/lib ; true libiberty.an )
> mv -f /u/local/lib/libiberty.an /u/local/lib/libiberty.a
> /bin/sh /u/bkorb/tools/gdb/insight-5.2.1/install-sh \
> -c -m 644 libmmalloc.a /u/local/lib/libmmalloc.an
> true /u/local/lib/libmmalloc.an
> mv -f /u/local/lib/libmmalloc.an /u/local/lib/libmmalloc.a
> make: Fatal error in reader: Makefile, line 265: \
> Macro assignment on dependency line
> Current working directory /u/bkorb/tools/gdb/insight-5.2.1/=b/readline
> *** Error code 1
> make: Fatal error: Command failed for target `install-readline'

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

* Insight built correctly on sparc solaris 2.8
@ 2002-07-24  9:22 Bruce Korb
  2002-07-24  9:03 ` Bruce Korb
  0 siblings, 1 reply; 8+ messages in thread
From: Bruce Korb @ 2002-07-24  9:22 UTC (permalink / raw)
  To: insight


But this doesn't look good:

Log of "make install" with the prefix having been set to "/u/local":

[...]
Installing library files to /u/local/share/tcl8.3
Installing library http2.3 directory
cp: cannot access ../../../tcl/unix/../library/http2.3/*.tcl
chmod: WARNING: can't access /u/local/share/tcl8.3/http2.3/#inst.8575#
mv: cannot access /u/local/share/tcl8.3/http2.3/#inst.8575#
Installing library http1.0 directory
Installing library opt0.4 directory
[...]
mkdir /u/local/share/redhat
mkdir /u/local/share/redhat/gui
 /u/local/bin/ginstall -c -m 644 ../../../libgui/library/tclIndex /u/local/share/redhat/gui/tclIndex
 /u/local/bin/ginstall -c -m 644 ../../../libgui/library/pkgIndex.tcl /u/local/share/redhat/gui/../../../libgui/library/pkgIndex.tcl
/u/local/bin/ginstall: cannot create regular file `/u/local/share/redhat/gui/../../../libgui/library/pkgIndex.tcl': No such file or
directory
*** Error code 1
make: Fatal error: Command failed for target `install-guiDATA'
Current working directory /u/bkorb/tools/gdb/insight-5.2.1/=b/libgui/library
*** Error code 1
make: Fatal error: Command failed for target `install-am'
Current working directory /u/bkorb/tools/gdb/insight-5.2.1/=b/libgui/library
*** Error code 1
make: Fatal error: Command failed for target `install-recursive'
Current working directory /u/bkorb/tools/gdb/insight-5.2.1/=b/libgui
*** Error code 1
make: Fatal error: Command failed for target `install-libgui'

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

* Re: Insight built correctly on sparc solaris 2.8
  2002-07-24  9:03 ` Bruce Korb
@ 2002-07-24  9:25   ` Keith Seitz
  2002-07-24  9:46     ` Bruce Korb
  0 siblings, 1 reply; 8+ messages in thread
From: Keith Seitz @ 2002-07-24  9:25 UTC (permalink / raw)
  To: Bruce Korb; +Cc: insight

On Wed, 24 Jul 2002, Bruce Korb wrote:

> > /u/local/bin/ginstall: cannot create regular file \
> > `/u/local/share/redhat/gui/../../../libgui/library/pkgIndex.tcl': \
> > No such file or directory
> > *** Error code 1
>
> ``mkdir -p /u/local/libgui/library'' fixed the latter problem.
> The install still needs fixing, though....

Hmmm... That's odd. It appears to be wanting to install into
/u/local/libgui/library. It shouldn't. It's all supposed to go into
/u/local/share/redhat/gui. That's what it does on my system (RH7.2).

How did you build this? Can you send the output of "head config.status"?

> > make: Fatal error in reader: Makefile, line 265: \
> > Macro assignment on dependency line
> > Current working directory /u/bkorb/tools/gdb/insight-5.2.1/=b/readline
> > *** Error code 1
> > make: Fatal error: Command failed for target `install-readline'

Two things: what version of make are you using? gnu make? Otherwise,
you can ask about readline problems on gdb@sources.redhat.com. Elena
Zannoni is/was our readline maintainer. What is line 265 of Makefile?

Keith


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

* Re: Insight built correctly on sparc solaris 2.8
  2002-07-24  9:25   ` Keith Seitz
@ 2002-07-24  9:46     ` Bruce Korb
  2002-07-24 15:54       ` Tom Tromey
  0 siblings, 1 reply; 8+ messages in thread
From: Bruce Korb @ 2002-07-24  9:46 UTC (permalink / raw)
  To: Keith Seitz; +Cc: insight

Keith Seitz wrote:

Does your silence mean that this "warning" is not important?

> Log of "make install" with the prefix having been set to "/u/local":
> 
> [...]
> Installing library files to /u/local/share/tcl8.3
> Installing library http2.3 directory
> cp: cannot access ../../../tcl/unix/../library/http2.3/*.tcl
> chmod: WARNING: can't access /u/local/share/tcl8.3/http2.3/#inst.8575#
> mv: cannot access /u/local/share/tcl8.3/http2.3/#inst.8575#
> Installing library http1.0 directory
> Installing library opt0.4 directory

> On Wed, 24 Jul 2002, Bruce Korb wrote:
> 
> > > /u/local/bin/ginstall: cannot create regular file \
> > > `/u/local/share/redhat/gui/../../../libgui/library/pkgIndex.tcl': \
> > > No such file or directory
> > > *** Error code 1
> >
> > ``mkdir -p /u/local/libgui/library'' fixed the latter problem.
> > The install still needs fixing, though....
> 
> Hmmm... That's odd. It appears to be wanting to install into
> /u/local/libgui/library. It shouldn't. It's all supposed to go into
> /u/local/share/redhat/gui. That's what it does on my system (RH7.2).

> $ sh ./config.guess
> sparc-sun-solaris2.8

> How did you build this?

  bunzip -c insight*bz2 | tar -xvf -
  cd insight-5.2.1
  mkdir =b
  cd =b
  CC=`whence cc` CFLAGS=-xO4 ../configure --prefix=/u/local
  gmake
  #  eyeball output
  gmake install

> Can you send the output of "head config.status"?

> $ cat config.status
> #!/bin/sh
> # This file was generated automatically by configure.  Do not edit.
> # This directory was configured as follows:
> ../configure --host=sparc-sun-solaris2.8 --prefix=/u/local --norecursion 
> # using "mh-frag"

Of course, I really only supplied the --prefix option.

> > > make: Fatal error in reader: Makefile, line 265: \
> > > Macro assignment on dependency line
> > > Current working directory /u/bkorb/tools/gdb/insight-5.2.1/=b/readline
> > > *** Error code 1
> > > make: Fatal error: Command failed for target `install-readline'
> 
> Two things: what version of make are you using? gnu make? Otherwise,
> you can ask about readline problems on gdb@sources.redhat.com. Elena
> Zannoni is/was our readline maintainer. What is line 265 of Makefile?

I should have typed, "gmake" and typed plain "make" instead for this
particular problem.  Later typing "gmake" got me through the issue.

So, I did not use:
> $ gmake -v
> GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.

However, automake is supposed to create generic makes.
The offensive line was, approximately:

  mumble.o : ${BUILD_DIR}/grumble.c

and Sun's make does not like "${BUILD_DIR}".
It seems you expect gcc, too:

> cc: Warning: illegal option -fwritable-strings

If so, "configure.in" should make an explicit demand.
If not, this option has to be configured.

Bruce Korb <full.name at veritas com>
URL: http://autogen.sf.net

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

* Re: Insight built correctly on sparc solaris 2.8
  2002-07-24  9:46     ` Bruce Korb
@ 2002-07-24 15:54       ` Tom Tromey
  2002-07-25  6:45         ` Bruce Korb
  0 siblings, 1 reply; 8+ messages in thread
From: Tom Tromey @ 2002-07-24 15:54 UTC (permalink / raw)
  To: Bruce Korb; +Cc: Keith Seitz, insight

>>>>> "Bruce" == Bruce Korb <bkorb@veritas.com> writes:

Bruce> However, automake is supposed to create generic makes.
Bruce> The offensive line was, approximately:
Bruce>   mumble.o : ${BUILD_DIR}/grumble.c
Bruce> and Sun's make does not like "${BUILD_DIR}".

Did automake really generate this line?
I'd be surprised.  Our coding standard is to use $(...), not ${...}
What directory is this in?

Tom

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

* Re: Insight built correctly on sparc solaris 2.8
  2002-07-24 15:54       ` Tom Tromey
@ 2002-07-25  6:45         ` Bruce Korb
  2002-07-25  7:37           ` Andrew Cagney
  0 siblings, 1 reply; 8+ messages in thread
From: Bruce Korb @ 2002-07-25  6:45 UTC (permalink / raw)
  To: tromey; +Cc: Keith Seitz, insight

Tom Tromey wrote:
> 
> >>>>> "Bruce" == Bruce Korb <bkorb@veritas.com> writes:
> 
> Bruce> However, automake is supposed to create generic makes.
> Bruce> The offensive line was, approximately:
> Bruce>   mumble.o : ${BUILD_DIR}/grumble.c
> Bruce> and Sun's make does not like "${BUILD_DIR}".
> 
> Did automake really generate this line?
> I'd be surprised.  Our coding standard is to use $(...), not ${...}
> What directory is this in?

Readline.  It looks like everywhere "config.h" appears as a 
compile dependency _in_that_Makefile_, it appears as
${BUILD_DIR}/config.h.  I do not know how the dependency
was actually generated, because it is in the
distributed "Makefile.in" file.

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

* Re: Insight built correctly on sparc solaris 2.8
  2002-07-25  6:45         ` Bruce Korb
@ 2002-07-25  7:37           ` Andrew Cagney
  2002-07-25 20:46             ` Bruce Korb
  0 siblings, 1 reply; 8+ messages in thread
From: Andrew Cagney @ 2002-07-25  7:37 UTC (permalink / raw)
  To: Bruce Korb; +Cc: tromey, Keith Seitz, insight

> Tom Tromey wrote:
> 
>> 
> 
>> >>>>> "Bruce" == Bruce Korb <bkorb@veritas.com> writes:
> 
>> 
>> Bruce> However, automake is supposed to create generic makes.
>> Bruce> The offensive line was, approximately:
>> Bruce>   mumble.o : ${BUILD_DIR}/grumble.c
>> Bruce> and Sun's make does not like "${BUILD_DIR}".
>> 
>> Did automake really generate this line?
>> I'd be surprised.  Our coding standard is to use $(...), not ${...}
>> What directory is this in?
> 
> 
> Readline.  It looks like everywhere "config.h" appears as a 
> compile dependency _in_that_Makefile_, it appears as
> ${BUILD_DIR}/config.h.  I do not know how the dependency
> was actually generated, because it is in the
> distributed "Makefile.in" file.

This looks like, in part, a problem in the readline library that GDB 
imports into the src CVS repository.   Can I suggest creating a bug 
report in:
http://sources.redhat.com/gdb/bugs/
so that the GDB group can track the need to ensure this is fixed in the 
next readline import (if not earlier).

Can I also encourage you to persue this problem with the up-stream 
readline -- it might even already be fixed.

Andrew


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

* Re: Insight built correctly on sparc solaris 2.8
  2002-07-25  7:37           ` Andrew Cagney
@ 2002-07-25 20:46             ` Bruce Korb
  0 siblings, 0 replies; 8+ messages in thread
From: Bruce Korb @ 2002-07-25 20:46 UTC (permalink / raw)
  To: Andrew Cagney, Bruce Korb; +Cc: tromey, Keith Seitz, insight

On Thursday 25 July 2002 07:37 am, Andrew Cagney wrote:

> This looks like, in part, a problem in the readline library that GDB
> imports into the src CVS repository.   Can I suggest creating a bug
> report in:
> http://sources.redhat.com/gdb/bugs/
> so that the GDB group can track the need to ensure this is fixed in the
> next readline import (if not earlier).

Done.  You should just tweak the distributed Makefile.in, pending
the next readline drop.

= =

Bruce Korb <first initial + last name at gnu dot org>
AG URL: http://autogen.sourceforge.net

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

end of thread, other threads:[~2002-07-26  3:46 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-24  9:22 Insight built correctly on sparc solaris 2.8 Bruce Korb
2002-07-24  9:03 ` Bruce Korb
2002-07-24  9:25   ` Keith Seitz
2002-07-24  9:46     ` Bruce Korb
2002-07-24 15:54       ` Tom Tromey
2002-07-25  6:45         ` Bruce Korb
2002-07-25  7:37           ` Andrew Cagney
2002-07-25 20:46             ` Bruce Korb

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