public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Current src trunk (and snapshot) does not install...
@ 2006-06-05 12:23 Christian Joensson
  2006-06-05 12:25 ` Daniel Jacobowitz
  0 siblings, 1 reply; 9+ messages in thread
From: Christian Joensson @ 2006-06-05 12:23 UTC (permalink / raw)
  To: binutils

When trying to install, I get failures like this:

/bin/sh: ../../../src/bfd/mkinstalldirs: No such file or directory

makgin a symbolic link to the src dir's mkinstalldirs makes this go away...

n.b., this is just a single example, it repeats itself

/bin/sh: ../../../src/opcodes/mkinstalldirs: No such file or directory

is the next one...


-- 
Cheers,

/ChJ

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

* Re: Current src trunk (and snapshot) does not install...
  2006-06-05 12:23 Current src trunk (and snapshot) does not install Christian Joensson
@ 2006-06-05 12:25 ` Daniel Jacobowitz
  2006-06-05 12:51   ` Christian Joensson
  0 siblings, 1 reply; 9+ messages in thread
From: Daniel Jacobowitz @ 2006-06-05 12:25 UTC (permalink / raw)
  To: Christian Joensson; +Cc: binutils

On Mon, Jun 05, 2006 at 11:30:01AM +0200, Christian Joensson wrote:
> When trying to install, I get failures like this:
> 
> /bin/sh: ../../../src/bfd/mkinstalldirs: No such file or directory
> 
> makgin a symbolic link to the src dir's mkinstalldirs makes this go away...
> 
> n.b., this is just a single example, it repeats itself
> 
> /bin/sh: ../../../src/opcodes/mkinstalldirs: No such file or directory
> 
> is the next one...

Configure command and a little bit of context from the build log,
please?

-- 
Daniel Jacobowitz
CodeSourcery

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

* Re: Current src trunk (and snapshot) does not install...
  2006-06-05 12:25 ` Daniel Jacobowitz
@ 2006-06-05 12:51   ` Christian Joensson
  2006-06-05 13:39     ` Christian Joensson
  2006-06-05 13:51     ` Daniel Jacobowitz
  0 siblings, 2 replies; 9+ messages in thread
From: Christian Joensson @ 2006-06-05 12:51 UTC (permalink / raw)
  To: binutils

On 6/5/06, Daniel Jacobowitz <drow@false.org> wrote:
> On Mon, Jun 05, 2006 at 11:30:01AM +0200, Christian Joensson wrote:
> > When trying to install, I get failures like this:
> >
> > /bin/sh: ../../../src/bfd/mkinstalldirs: No such file or directory
> >
> > makgin a symbolic link to the src dir's mkinstalldirs makes this go away...
> >
> > n.b., this is just a single example, it repeats itself
> >
> > /bin/sh: ../../../src/opcodes/mkinstalldirs: No such file or directory
> >
> > is the next one...
>
> Configure command and a little bit of context from the build log,
> please?

well, configure was done the same way I have been for ages:

CC="gcc -m32" CXX="g++ -m32" ../src/configure sparc-linux \
        --enable-__cxa_atexit --prefix=/usr/local/binutils \
        --enable-shared \
        --enable-64-bit-bfd

and the build log, nothing strange shows up there...

-- 
Cheers,

/ChJ

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

* Re: Current src trunk (and snapshot) does not install...
  2006-06-05 12:51   ` Christian Joensson
@ 2006-06-05 13:39     ` Christian Joensson
  2006-06-05 14:37       ` Christian Joensson
  2006-06-05 13:51     ` Daniel Jacobowitz
  1 sibling, 1 reply; 9+ messages in thread
From: Christian Joensson @ 2006-06-05 13:39 UTC (permalink / raw)
  To: binutils

On 6/5/06, Christian Joensson <christian.joensson@gmail.com> wrote:
> On 6/5/06, Daniel Jacobowitz <drow@false.org> wrote:
> > On Mon, Jun 05, 2006 at 11:30:01AM +0200, Christian Joensson wrote:
> > > When trying to install, I get failures like this:
> > >
> > > /bin/sh: ../../../src/bfd/mkinstalldirs: No such file or directory
> > >
> > > makgin a symbolic link to the src dir's mkinstalldirs makes this go away...
> > >
> > > n.b., this is just a single example, it repeats itself
> > >
> > > /bin/sh: ../../../src/opcodes/mkinstalldirs: No such file or directory
> > >
> > > is the next one...
> >
> > Configure command and a little bit of context from the build log,
> > please?
>
> well, configure was done the same way I have been for ages:
>
> CC="gcc -m32" CXX="g++ -m32" ../src/configure sparc-linux \
>         --enable-__cxa_atexit --prefix=/usr/local/binutils \
>         --enable-shared \
>         --enable-64-bit-bfd
>
> and the build log, nothing strange shows up there...

hmm, come to think of it, it might be related to relative vs. absolute
usage of the configure script... i'll try a configure/build/install
using an absolute use of the configure script...

-- 
Cheers,

/ChJ

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

* Re: Current src trunk (and snapshot) does not install...
  2006-06-05 12:51   ` Christian Joensson
  2006-06-05 13:39     ` Christian Joensson
@ 2006-06-05 13:51     ` Daniel Jacobowitz
  2006-06-05 14:17       ` Daniel Jacobowitz
  1 sibling, 1 reply; 9+ messages in thread
From: Daniel Jacobowitz @ 2006-06-05 13:51 UTC (permalink / raw)
  To: binutils

On Mon, Jun 05, 2006 at 02:35:20PM +0200, Christian Joensson wrote:
> 
> well, configure was done the same way I have been for ages:
> 
> CC="gcc -m32" CXX="g++ -m32" ../src/configure sparc-linux \
>        --enable-__cxa_atexit --prefix=/usr/local/binutils \
>        --enable-shared \
>        --enable-64-bit-bfd
> 
> and the build log, nothing strange shows up there...

The point was for you to tell me where mkinstalldirs was being run
from!

Meanwhile, Thiemo reported this to me on IRC too: the answer is,
bfd/po/, so something's wrong with $(MKINSTALLDIRS) in there.  We're
looking at it.

-- 
Daniel Jacobowitz
CodeSourcery

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

* Re: Current src trunk (and snapshot) does not install...
  2006-06-05 13:51     ` Daniel Jacobowitz
@ 2006-06-05 14:17       ` Daniel Jacobowitz
  0 siblings, 0 replies; 9+ messages in thread
From: Daniel Jacobowitz @ 2006-06-05 14:17 UTC (permalink / raw)
  To: binutils

On Mon, Jun 05, 2006 at 09:39:42AM -0400, Daniel Jacobowitz wrote:
> Meanwhile, Thiemo reported this to me on IRC too: the answer is,
> bfd/po/, so something's wrong with $(MKINSTALLDIRS) in there.  We're
> looking at it.

This (committed) should fix it.  The new AM_MKINSTALLDIRS uses
$(top_builddir).

-- 
Daniel Jacobowitz
CodeSourcery

Index: bfd/ChangeLog
2006-06-05  Daniel Jacobowitz  <dan@codesourcery.com>

	* po/Make-in (top_builddir): Define.

Index: binutils/ChangeLog
2006-06-05  Daniel Jacobowitz  <dan@codesourcery.com>

	* po/Make-in (top_builddir): Define.

Index: gas/ChangeLog
2006-06-05  Daniel Jacobowitz  <dan@codesourcery.com>

	* po/Make-in (top_builddir): Define.

Index: gprof/ChangeLog
2006-06-05  Daniel Jacobowitz  <dan@codesourcery.com>

	* po/Make-in (top_builddir): Define.

Index: ld/ChangeLog
2006-06-05  Daniel Jacobowitz  <dan@codesourcery.com>

	* po/Make-in (top_builddir): Define.

Index: opcodes/ChangeLog
2006-06-05  Daniel Jacobowitz  <dan@codesourcery.com>

	* po/Make-in (top_builddir): Define.

Index: bfd/po/Make-in
===================================================================
RCS file: /cvs/src/src/bfd/po/Make-in,v
retrieving revision 1.8
diff -u -p -r1.8 Make-in
--- bfd/po/Make-in	6 Apr 2006 21:49:26 -0000	1.8
+++ bfd/po/Make-in	5 Jun 2006 13:55:36 -0000
@@ -16,6 +16,7 @@ SHELL = /bin/sh
 srcdir = @srcdir@
 top_srcdir = @top_srcdir@
 VPATH = @srcdir@
+top_builddir = @top_builddir@
 
 prefix = @prefix@
 exec_prefix = @exec_prefix@
Index: binutils/po/Make-in
===================================================================
RCS file: /cvs/src/src/binutils/po/Make-in,v
retrieving revision 1.5
diff -u -p -r1.5 Make-in
--- binutils/po/Make-in	6 Apr 2006 21:49:30 -0000	1.5
+++ binutils/po/Make-in	5 Jun 2006 13:55:36 -0000
@@ -16,6 +16,7 @@ SHELL = /bin/sh
 srcdir = @srcdir@
 top_srcdir = @top_srcdir@
 VPATH = @srcdir@
+top_builddir = @top_builddir@
 
 prefix = @prefix@
 exec_prefix = @exec_prefix@
Index: gas/po/Make-in
===================================================================
RCS file: /cvs/src/src/gas/po/Make-in,v
retrieving revision 1.5
diff -u -p -r1.5 Make-in
--- gas/po/Make-in	6 Apr 2006 21:49:33 -0000	1.5
+++ gas/po/Make-in	5 Jun 2006 13:55:36 -0000
@@ -16,6 +16,7 @@ SHELL = /bin/sh
 srcdir = @srcdir@
 top_srcdir = @top_srcdir@
 VPATH = @srcdir@
+top_builddir = @top_builddir@
 
 prefix = @prefix@
 exec_prefix = @exec_prefix@
Index: gprof/po/Make-in
===================================================================
RCS file: /cvs/src/src/gprof/po/Make-in,v
retrieving revision 1.7
diff -u -p -r1.7 Make-in
--- gprof/po/Make-in	6 Apr 2006 21:49:33 -0000	1.7
+++ gprof/po/Make-in	5 Jun 2006 13:55:37 -0000
@@ -16,6 +16,7 @@ SHELL = /bin/sh
 srcdir = @srcdir@
 top_srcdir = @top_srcdir@
 VPATH = @srcdir@
+top_builddir = @top_builddir@
 
 prefix = @prefix@
 exec_prefix = @exec_prefix@
Index: ld/po/Make-in
===================================================================
RCS file: /cvs/src/src/ld/po/Make-in,v
retrieving revision 1.5
diff -u -p -r1.5 Make-in
--- ld/po/Make-in	6 Apr 2006 21:49:34 -0000	1.5
+++ ld/po/Make-in	5 Jun 2006 13:55:38 -0000
@@ -16,6 +16,7 @@ SHELL = /bin/sh
 srcdir = @srcdir@
 top_srcdir = @top_srcdir@
 VPATH = @srcdir@
+top_builddir = @top_builddir@
 
 prefix = @prefix@
 exec_prefix = @exec_prefix@
Index: opcodes/po/Make-in
===================================================================
RCS file: /cvs/src/src/opcodes/po/Make-in,v
retrieving revision 1.5
diff -u -p -r1.5 Make-in
--- opcodes/po/Make-in	6 Apr 2006 21:49:35 -0000	1.5
+++ opcodes/po/Make-in	5 Jun 2006 13:55:40 -0000
@@ -16,6 +16,7 @@ SHELL = /bin/sh
 srcdir = @srcdir@
 top_srcdir = @top_srcdir@
 VPATH = @srcdir@
+top_builddir = @top_builddir@
 
 prefix = @prefix@
 exec_prefix = @exec_prefix@

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

* Re: Current src trunk (and snapshot) does not install...
  2006-06-05 13:39     ` Christian Joensson
@ 2006-06-05 14:37       ` Christian Joensson
  2006-06-05 15:05         ` Thiemo Seufer
  0 siblings, 1 reply; 9+ messages in thread
From: Christian Joensson @ 2006-06-05 14:37 UTC (permalink / raw)
  To: binutils

On 6/5/06, Christian Joensson <christian.joensson@gmail.com> wrote:
> On 6/5/06, Christian Joensson <christian.joensson@gmail.com> wrote:
> > On 6/5/06, Daniel Jacobowitz <drow@false.org> wrote:
> > > On Mon, Jun 05, 2006 at 11:30:01AM +0200, Christian Joensson wrote:
> > > > When trying to install, I get failures like this:
> > > >
> > > > /bin/sh: ../../../src/bfd/mkinstalldirs: No such file or directory
> > > >
> > > > makgin a symbolic link to the src dir's mkinstalldirs makes this go away...
> > > >
> > > > n.b., this is just a single example, it repeats itself
> > > >
> > > > /bin/sh: ../../../src/opcodes/mkinstalldirs: No such file or directory
> > > >
> > > > is the next one...
> > >
> > > Configure command and a little bit of context from the build log,
> > > please?
> >
> > well, configure was done the same way I have been for ages:
> >
> > CC="gcc -m32" CXX="g++ -m32" ../src/configure sparc-linux \
> >         --enable-__cxa_atexit --prefix=/usr/local/binutils \
> >         --enable-shared \
> >         --enable-64-bit-bfd
> >
> > and the build log, nothing strange shows up there...
>
> hmm, come to think of it, it might be related to relative vs. absolute
> usage of the configure script... i'll try a configure/build/install
> using an absolute use of the configure script...

well, the problem *is* related to using a relative path to the
configure script. when I use an absolute path, it works...

-- 
Cheers,

/ChJ

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

* Re: Current src trunk (and snapshot) does not install...
  2006-06-05 14:37       ` Christian Joensson
@ 2006-06-05 15:05         ` Thiemo Seufer
  2006-06-05 20:40           ` Christian Joensson
  0 siblings, 1 reply; 9+ messages in thread
From: Thiemo Seufer @ 2006-06-05 15:05 UTC (permalink / raw)
  To: Christian Joensson; +Cc: binutils

Christian Joensson wrote:
[snip]
> >hmm, come to think of it, it might be related to relative vs. absolute
> >usage of the configure script... i'll try a configure/build/install
> >using an absolute use of the configure script...
> 
> well, the problem *is* related to using a relative path to the
> configure script. when I use an absolute path, it works...

FWIW, it works for me again with Daniel's latest patches.


Thiemo

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

* Re: Current src trunk (and snapshot) does not install...
  2006-06-05 15:05         ` Thiemo Seufer
@ 2006-06-05 20:40           ` Christian Joensson
  0 siblings, 0 replies; 9+ messages in thread
From: Christian Joensson @ 2006-06-05 20:40 UTC (permalink / raw)
  To: Thiemo Seufer; +Cc: binutils

On 6/5/06, Thiemo Seufer <ths@networkno.de> wrote:
> Christian Joensson wrote:
> [snip]
> > >hmm, come to think of it, it might be related to relative vs. absolute
> > >usage of the configure script... i'll try a configure/build/install
> > >using an absolute use of the configure script...
> >
> > well, the problem *is* related to using a relative path to the
> > configure script. when I use an absolute path, it works...
>
> FWIW, it works for me again with Daniel's latest patches.

well, I can confirm that too, so original problem now corrected, thanks!

-- 
Cheers,

/ChJ

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

end of thread, other threads:[~2006-06-05 17:36 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-05 12:23 Current src trunk (and snapshot) does not install Christian Joensson
2006-06-05 12:25 ` Daniel Jacobowitz
2006-06-05 12:51   ` Christian Joensson
2006-06-05 13:39     ` Christian Joensson
2006-06-05 14:37       ` Christian Joensson
2006-06-05 15:05         ` Thiemo Seufer
2006-06-05 20:40           ` Christian Joensson
2006-06-05 13:51     ` Daniel Jacobowitz
2006-06-05 14:17       ` Daniel Jacobowitz

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