[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gEDA-user: Re: [Mingw-users] Re: make: strip command can't find file
OK, I have to apologize for sending the last incomplete mail. It is 1:30 am
and I hit Send instead of Save. Here's the complete email.....
I did some document and web searching for problem of mingw's make
being unable to find a file in making icarus verilog. The cygwin manual
talks about mounts points, but I'm really having doubts as to whether
this is such a problem. The first attachment to this email describes
the original problem, and the 2nd attachment describes further attempts
after some responses. In the 2nd attachment, I provide, a DOS path,
exactly as suggested in the response to the first email, but mingw's
make still encounters the same kind of error messages. Neither
mingw's FAQ nor cygwin's FAQ says anything about this, and a
search for "PATH" on cygwin's mailing list archives merely turns up
stuff about the environment variable. I do recall a case where
an application accepted dos filepaths but not cygwin filepaths (it
was again icarus verilog, compiled without mingw), but this seems
like a different problem.
I did a google search on -win32, but it seems that this is something
associated with cygwin's make, not mingw's make (which is what
I'm using here). A "make -help" reveals nothing about a -win32
option.
Could you (Earnie, or anyone) confirm whether this is in fact
a mount problem related cygwin path style, or whether my
suspicions are right in that the cause is something else? Either
way, I would really appreciate a pointer to more specific location
of material about this, if it is something that has been addressed
in the past. But if you feel charitable (time-wise) and don't mind
clarifying or explaining what the problem and solution is, or just
commenting on your hypothesis, I'd be extremely grateful.
Thanks.
Fred
--------------------------------------------------------------------------
Fred Ma
Department of Electronics
Carleton University, Mackenzie Building
1125 Colonel By Drive
Ottawa, Ontario
Canada K1S 5B6
fma@doe.carleton.ca
==========================================================================
Earnie Boyd wrote:
> "Shing-Fat (Fred) Ma" wrote:
>
> > Hi, Earnie,
> >
> > Thanks for commenting on the mount point. But neither I nor the Makefile
> > actually specifies the full path of "strip", the make file defines STRIP as "strip".
> > The /cygdrive/c/ming/bin/strip is the answer from bash when I type in
> > "type strip". Doesn't that mean bash is in fact able to correctly resolve
> > "/cygdrive/c" and is able to find "strip"? I seem to be able to use /cygdrive/c
> > in other contexts.
> >
>
> That's not what I meant. I mean that /cygdrive/c/ming/bin/strip.exe doesn't understand the path given it. It can't find the
> file /usr/local/bin/ivl.exe because c:/usr/local/bin/ivl.exe doesn't exist in the win32 world. You can't mix Cygwin and
> Non-Cygwin programs due to the Non-Cygwin programs not understanding the Cygwin pathing mechanisms. Please search the mail
> list at Cygwin.com for more information.
>
> >
> > Anyway, I gave it a try, starting with "configure --prefix=c:/cygwin/usr/local",
> > but got similar errors:
> >
>
> I doubt this will work either but you could try with make -win32; see the documentation at Cygwin.com.
>
> --
> Earnie.
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>From - Fri Nov 9 01:16:41 2001
X-Mozilla-Status: 0001
X-Mozilla-Status2: 00000000
Message-ID: <3BE66850.9261D3F7@doe.carleton.ca>
Date: Mon, 05 Nov 2001 05:22:08 -0500
From: "Shing-Fat (Fred) Ma" <fma@doe.carleton.ca>
Organization: Dept. of Electronics, Carleton University
X-Mailer: Mozilla 4.77 [en] (X11; U; SunOS 5.8 sun4u)
X-Accept-Language: en
MIME-Version: 1.0
To: mingw-users@lists.sourceforge.net
Subject: Re: make: strip command can't find file
References: <3BE666FD.A5CC7F71@doe.carleton.ca>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Oops, sorry, forgot to mention my host system is Dell Inspiron 8000 running
WinME. The PentiumIII runs at 500~600 MHz. Thanks for any suggestions
on the error below.
Fred
--------------------------------------------------------------------------
Fred Ma
Department of Electronics
Carleton University, Mackenzie Building
1125 Colonel By Drive
Ottawa, Ontario
Canada K1S 5B6
fma@doe.carleton.ca
==========================================================================
"Shing-Fat (Fred) Ma" wrote:
> Hello,
>
> I'm installing icarus verilog, and I'm running into a problem with the Makefile.
> I've searched on the web for the gnu make manual to learn about how it
> works, and everything seems OK with the Makefile.
>
> The ending of the makefile output is:
>
> c:\mingw\bin\make.exe[1]: Entering directory `C:/cygwin/home/unknown/INSTALLS/verilog-0.5/tgt-null'
> c:\mingw\bin\make.exe[1]: Nothing to be done for `all'.
> c:\mingw\bin\make.exe[1]: Leaving directory `C:/cygwin/home/unknown/INSTALLS/verilog-0.5/tgt-null'
> ./mkinstalldirs /usr/local/bin /usr/local/include /usr/local/lib/ivl
> /usr/bin/install -c ./ivl.exe /usr/local/lib/ivl/ivl.exe
> process_begin: CreateProcess((null), /usr/bin/install -c ./ivl.exe /usr/local/lib/ivl/ivl.exe, ...) failed.
> make (e=2): The system cannot find the file specified.
> c:\mingw\bin\make.exe: *** [/usr/local/lib/ivl/ivl.exe] Error 2
>
> Here, "unknown" is just the default user name (with superuser powers). The
> mingw/bin directory precedes that of cygwin, this has been tested. The
> problem with the above is the file-not-found error following the failure
> message from the /usr/bin/install attempt. I have no idea why it is failing,
> as the command works fine from the cygwin bash command line. Furthermore,
> even though /usr/local/lib/ivl/ivl.exe exists after issuing the /usr/bin/install from the
> command line, the following "strip" command also complains that it cannot
> find the file, which I specify with its full path /usr/local/lib/ivl/ivl.exe . A "type strip"
> shows it is the mingw strip: /cygdrive/c/mingw/bin/strip .
>
> I'm downloaded mingw1.1 and unpacked it to c:\mingw. Thanks for any
> suggestions.on the above errors.
>
> Fred
>
> --------------------------------------------------------------------------
> Fred Ma
> Department of Electronics
> Carleton University, Mackenzie Building
> 1125 Colonel By Drive
> Ottawa, Ontario
> Canada K1S 5B6
> fma@doe.carleton.ca
> ==========================================================================
>From - Fri Nov 9 01:16:52 2001
X-Mozilla-Status: 0001
X-Mozilla-Status2: 00000000
Message-ID: <3BE703AC.50A9C867@doe.carleton.ca>
Date: Mon, 05 Nov 2001 16:25:00 -0500
From: "Shing-Fat (Fred) Ma" <fma@doe.carleton.ca>
Organization: Dept. of Electronics, Carleton University
X-Mailer: Mozilla 4.77 [en] (X11; U; SunOS 5.8 sun4u)
X-Accept-Language: en
MIME-Version: 1.0
To: MU List <MinGW-Users@SF.Net>
CC: mingw-users@lists.sourceforge.net,
Earnie Boyd <earnie_boyd@yahoo.com>
Subject: Re: [Mingw-users] Re: make: strip command can't find file
References: <3BE666FD.A5CC7F71@doe.carleton.ca> <3BE66850.9261D3F7@doe.carleton.ca> <3BE67EFA.6AF49C12@yahoo.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Hi, Earnie,
Sorry if you're receiving this a 2nd time, my netscape has been
crashing alot today. I waited a while to see if my first email
got through.
Thanks for commenting on the mount point. But neither I nor the Makefile
actually specifies the full path of "strip", the make file defines STRIP as "strip".
The /cygdrive/c/ming/bin/strip is the answer from bash when I type in
"type strip". Doesn't that mean bash is in fact able to correctly resolve
"/cygdrive/c" and is able to find "strip"? I seem to be able to use /cygdrive/c
in other contexts.
Anyway, I gave it a try, starting with "configure --prefix=c:/cygwin/usr/local",
but got similar errors:
c:\mingw\bin\make.exe[1]: Entering directory `C:/cygwin/home/unknown/INSTALLS/verilog-0.5/tgt-null'
c:\mingw\bin\make.exe[1]: Nothing to be done for `all'.
c:\mingw\bin\make.exe[1]: Leaving directory `C:/cygwin/home/unknown/INSTALLS/verilog-0.5/tgt-null'
./mkinstalldirs c:/cygwin/usr/local/bin c:/cygwin/usr/local/include c:/cygwin/usr/local/lib/ivl
/usr/bin/install -c ./ivl.exe c:/cygwin/usr/local/lib/ivl/ivl.exe
process_begin: CreateProcess((null), /usr/bin/install -c ./ivl.exe c:/cygwin/usr/local/lib/ivl/ivl.exe, ...) failed.
make (e=2): The system cannot find the file specified.
c:\mingw\bin\make.exe: *** [c:/cygwin/usr/local/lib/ivl/ivl.exe] Error 2
As before, I can certainly do "ls c:/cygwin/usr/local/lib/ivl", but ivl.exe has
not been copied.
Thanks in advance for any clarification, or any other suggestions on how
to address this.
Fred
--
--------------------------------------------------------------------------
Fred Ma
Department of Electronics
Carleton University, Mackenzie Building
1125 Colonel By Drive
Ottawa, Ontario
Canada K1S 5B6
fma@doe.carleton.ca
==========================================================================
Earnie Boyd wrote:
> "Shing-Fat (Fred) Ma" wrote:
> >
> > > find the file, which I specify with its full path /usr/local/lib/ivl/ivl.exe . A "type strip"
> > > shows it is the mingw strip: /cygdrive/c/mingw/bin/strip .
> > >
>
> This version of strip is Cygwin mount point ignorant. Assuming that
> your Cygwin is located physically at c:\cygwin the file path that this
> version of strip needs is c:/cygwin/usr/local/lib/ivl/ivl.exe. This is
> true of all non-Cygwin programs and is not specific to MinGW.
>
> --
> Earnie.
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com