* Problems with installing bfd
@ 2005-01-20 0:12 Chris Sutcliffe
2005-01-20 7:33 ` Danny Smith
0 siblings, 1 reply; 2+ messages in thread
From: Chris Sutcliffe @ 2005-01-20 0:12 UTC (permalink / raw)
To: binutils
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?
Thanx!
Chris
--
ironhead@walled.net
http://emergedesktop.org
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Problems with installing bfd
2005-01-20 0:12 Problems with installing bfd Chris Sutcliffe
@ 2005-01-20 7:33 ` Danny Smith
0 siblings, 0 replies; 2+ messages in thread
From: Danny Smith @ 2005-01-20 7:33 UTC (permalink / raw)
To: Chris Sutcliffe, binutils
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-01-20 7:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-20 0:12 Problems with installing bfd Chris Sutcliffe
2005-01-20 7:33 ` Danny Smith
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).