This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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: Problems upgrading from 2.95.3-5 to 3.X on cygwin


Okay, On a whim, I decided to upgrade to GCC 3.0.3 on my box.  Following
David Billinghurst's instructions, everything went fine until 'make
install', where it failed with the following error:

make[1]: Entering directory `/home/james/gcc-build/fastjar'
make[2]: Entering directory `/home/james/gcc-build/fastjar'
/bin/sh ../../gcc-3.0.3/fastjar/mkinstalldirs /usr/local/bin
  /bin/sh /home/james/gcc-3.0.3/install-sh -c  jar /usr/local/bin/jar
chmod: changing permissions of `/usr/local/bin/#inst.328557#': No such file
or d
irectory
make[2]: *** [install-binPROGRAMS] Error 1
make[2]: Leaving directory `/home/james/gcc-build/fastjar'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/james/gcc-build/fastjar'
make: *** [install-fastjar] Error 2

james@JAMES ~/gcc-build
$

After doing a little investigating, I found out that it's trying to chmod
`/usr/local/bin/#inst.328557#' instead of
`/usr/local/bin/#inst.328557#.exe'.  Any idea what might be causing this?
Thanks in advance.

James Potts
(james@verge-rpg.com)

----- Original Message -----
From: "Billinghurst, David (CRTS)" <David.Billinghurst@riotinto.com>
To: "Mack Lobell" <macklobell@hotmail.com>
Cc: <cygwin@cygwin.com>; <gcc@gcc.gnu.org>
Sent: Friday, February 01, 2002 4:57 PM
Subject: RE: Problems upgrading from 2.95.3-5 to 3.X on cygwin


> Mack,
>
> A couple of things to try:
>
> Unpack the gcc source tree using cygwin tar and gzip/bzip2.  Some windows
utilities are "smart" enough to convert \n to \r\n
>
> Try using binary mounts for the source and build trees.
>
> Use the configure options I posted earlier.
>
> -----Original Message-----
> From: Neil Booth [mailto:neil@daikokuya.demon.co.uk]
> Sent: Saturday, 2 February 2002 9:05
> To: Mack Lobell
> Cc: cygwin@cygwin.com; gcc@gcc.gnu.org
> Subject: Re: Problems upgrading from 2.95.3-5 to 3.X on cygwin
>
>
> I suggest you remove all '\r' characters from i386.md, so that the
> newlines consist of '\n' only.  That will likely solve your problem.
>
> You needn't bother with insn-flags.h; that looks to be only a warning
> and once you get stage1 built of 3.0, it won't have problems with
> '\r' (but the .md file still might; I'm not sure about that).
>
> Neil.
>
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
>
>
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
>


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