public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Danny Smith <dannysmith@clear.net.nz>
To: Chris Sutcliffe <ironhead@walled.net>, binutils@sources.redhat.com
Subject: Re: Problems with installing bfd
Date: Thu, 20 Jan 2005 07:33:00 -0000	[thread overview]
Message-ID: <001f01c4fec2$0fedf4e0$0e6d65da@DANNY> (raw)
In-Reply-To: <3405.64.231.207.189.1106179919.squirrel@webmail.walled.net>

Chris Sutcliffe wrote:
> I've compiled bfd using MinGW (using the Bourne shell in MSYS).  I
> configured it with:
> 
> './configure --prefix=/mingw --disable-nls'
> 
> and 'make' ran and exited cleanly.  However, on 'make install' I get the
> following error:
> 
> $ make install
> Making install in doc
> make[1]: Entering directory `/mingw/src/bfd/doc'
> restore=: && backupdir=".am$$" && \
> am__cwd=`pwd` && cd . && \
> rm -rf $backupdir && mkdir $backupdir && \
> for f in bfd.info bfd.info-[0-9] bfd.info-[0-9][0-9] bfd.i[0-9]
> bfd.i[0-9][0-9]; do \
>   if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
> done; \
> cd "$am__cwd"; \
> if /bin/sh /mingw/src/missing --run makeinfo   -I . \
>  -o bfd.info bfd.texinfo; \
> then \
>   rc=0; \
>   cd .; \
> else \
>   rc=$?; \
>   cd . && \
>   $restore $backupdir/* `echo "./bfd.info" | sed 's|[^/]*$||'`; \
> fi; \
> rm -rf $backupdir; exit $rc
>  section mapping'.ss reference to nonexistent node `mmo
>  a New Hash Table Type'.ference to nonexistent node `Deriving
> makeinfo: Removing output file `bfd.info' due to errors; use --force to
> preserve.
> make[1]: *** [bfd.info] Error 1
> make[1]: Leaving directory `/mingw/src/bfd/doc'
> make: *** [install-recursive] Error 1
> 
> Is there something I missed?
> 
Some versions of the makeinfo that ships with msys are buggy.  Does this help?

Index: src/bfd/doc/chew.c
===================================================================
RCS file: /cvs/src/src/bfd/doc/chew.c,v
retrieving revision 1.12
diff -c -3 -p -r1.12 chew.c
*** src/bfd/doc/chew.c 29 Jun 2003 10:06:40 -0000 1.12
--- src/bfd/doc/chew.c 18 Jan 2005 08:57:57 -0000
*************** Foundation, Inc., 59 Temple Place - Suit
*** 91,96 ****
--- 91,102 ----
  #define DEF_SIZE 5000
  #define STACK 50
  
+ #ifdef __MINGW32__
+ /* Prevent \r\n line endings -- they trip a bug in Msys makeinfo.  */
+ #include <fcntl.h>
+ unsigned int _CRT_fmode = _O_BINARY;
+ #endif
+ 
  int internal_wanted;
  int internal_mode;
  

 
> Thanx!
> 
> Chris

      reply	other threads:[~2005-01-20  7:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-20  0:12 Chris Sutcliffe
2005-01-20  7:33 ` Danny Smith [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='001f01c4fec2$0fedf4e0$0e6d65da@DANNY' \
    --to=dannysmith@clear.net.nz \
    --cc=binutils@sources.redhat.com \
    --cc=dannysmith@users.sourceforge.net \
    --cc=ironhead@walled.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).