This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Insight built correctly on sparc solaris 2.8


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]