public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Error from compilation of FORTRAN program
@ 2010-04-13 15:47 DougHua
  2010-04-13 16:54 ` Angelo Graziosi
  2010-04-13 22:23 ` Angelo Graziosi
  0 siblings, 2 replies; 7+ messages in thread
From: DougHua @ 2010-04-13 15:47 UTC (permalink / raw)
  To: cygwin


Hi all:

I am new to use Cygwin and hope any of you to help me with compilation of
FORTRAN under Cygwin.

I installed Cygwin to my Windows XP and need to compile a FORTRAN program
that is usually compiled in UNIX. When I typed command "make" by following
the instruction Readme file associated with the program, Cygwin gives the
following message:
"MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
Fatal: 'AATSR.o' does not exist - don't know how to make it"

I have no idea how I can compile the program and upload the Makefile of the
program here so that some body can look into it and determine if I need to
change something inside? THank you in advance for your time and help!

Doug

P.S. the FORTRAN program was downloaded from 
ftp://kratmos.gsfc.nasa.gov/pub/eric/6S/6SV1.1/
It is used for atmospheric correction of satellite imagery.


http://old.nabble.com/file/p28232141/Makefile Makefile 
-- 
View this message in context: http://old.nabble.com/Error-from-compilation-of-FORTRAN-program-tp28232141p28232141.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: Error from compilation of FORTRAN program
@ 2010-04-13 16:54 ` Angelo Graziosi
  2010-04-13 22:08   ` DougHua
  0 siblings, 1 reply; 7+ messages in thread
From: Angelo Graziosi @ 2010-04-13 16:54 UTC (permalink / raw)
  To: Cygwin

DougHua wrote:
[...]
> When I typed command "make" by following
> the instruction Readme file associated with the program, Cygwin gives the
> following message:
> "MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
> Fatal: 'AATSR.o' does not exist - don't know how to make it"

Almost surely, you have a Borland compiler installed and its utilities 
(MAKE etc.) are 'seen' before Cygwin! So, you should verify your system 
configuration and setup (PATH etc.)

For the sake of completeness, on Cygwin your application builds fine and 
produces the same result of Examples directory.

Please, if you replay "do NOT quote raw email addresses" 
(PCYMTNQREAIYR[*]) :-)

Thanks,
Angelo.

---
[*] http://cygwin.com/acronyms

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: Error from compilation of FORTRAN program
  2010-04-13 16:54 ` Angelo Graziosi
@ 2010-04-13 22:08   ` DougHua
  0 siblings, 0 replies; 7+ messages in thread
From: DougHua @ 2010-04-13 22:08 UTC (permalink / raw)
  To: cygwin


Thank you for your reply, Angelo!

I will try this on a computer without BCB installed.

I still don't know how to verify my system configuration and setup (PATH
etc.). 
Could you please give me more hints? Thx again!



Angelo Graziosi-2 wrote:
> 
> Almost surely, you have a Borland compiler installed and its utilities 
> (MAKE etc.) are 'seen' before Cygwin! So, you should verify your system 
> configuration and setup (PATH etc.)
> 
> For the sake of completeness, on Cygwin your application builds fine and 
> produces the same result of Examples directory.
> 
> Please, if you replay "do NOT quote raw email addresses" 
> (PCYMTNQREAIYR[*]) :-)
> 
> Thanks,
> Angelo.
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/Error-from-compilation-of-FORTRAN-program-tp28232141p28236190.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: Error from compilation of FORTRAN program
@ 2010-04-13 22:23 ` Angelo Graziosi
  2010-04-14 21:18   ` DougHua
  0 siblings, 1 reply; 7+ messages in thread
From: Angelo Graziosi @ 2010-04-13 22:23 UTC (permalink / raw)
  To: Cygwin

DougHua wrote:
> I still don't know how to verify my system configuration and setup (PATH
> etc.).
> Could you please give me more hints?

For example,

$ echo $PATH

should show something like this:

/usr/local/bin:/usr/bin:/bin:/cygdrive/c/WINDOWS/system32:[...]

i.e., Cygwin directories should be searched before Windows ones.

Obviously, you should verify if 'g77' Cygwin package is installed.

Angelo

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: Error from compilation of FORTRAN program
  2010-04-13 22:23 ` Angelo Graziosi
@ 2010-04-14 21:18   ` DougHua
  2012-04-25 14:22     ` krayon
  0 siblings, 1 reply; 7+ messages in thread
From: DougHua @ 2010-04-14 21:18 UTC (permalink / raw)
  To: cygwin


Angelo,

I successfully passed the first step "make" by following your instruction:
changing path so that cygwin can be seen first and installing g77 compiler.
But I met another problem in the second step "make install". I got the error
message below:
"$ make install
make[1]: Entering directory `/cygdrive/c/6s/ledapsSrc/src/lndpm'
cp lndpm /cygdrive/c/6s/ledapsSrc/src/bin
cp: cannot stat `lndpm': No such file or directory
make[1]: *** [install] Error 1
....
"

Could you please help me with solving this one?

Thx again!

Doug



Angelo Graziosi-2 wrote:
> 
> DougHua wrote:
>> I still don't know how to verify my system configuration and setup (PATH
>> etc.).
>> Could you please give me more hints?
> 
> For example,
> 
> $ echo $PATH
> 
> should show something like this:
> 
> /usr/local/bin:/usr/bin:/bin:/cygdrive/c/WINDOWS/system32:[...]
> 
> i.e., Cygwin directories should be searched before Windows ones.
> 
> Obviously, you should verify if 'g77' Cygwin package is installed.
> 
> Angelo
> 

-- 
View this message in context: http://old.nabble.com/Error-from-compilation-of-FORTRAN-program-tp28232141p28248380.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: Error from compilation of FORTRAN program
  2010-04-14 21:18   ` DougHua
@ 2012-04-25 14:22     ` krayon
  0 siblings, 0 replies; 7+ messages in thread
From: krayon @ 2012-04-25 14:22 UTC (permalink / raw)
  To: cygwin


Hi Doug,
I came across this message string while searching for some errors I received
trying to compile LEDAPS on cygwin. I was very excited to see someone else
was doing the same thing! I was wondering if you were successful and if you
could let me know how you did it.
Your help is much appreciated. 
Thanks!
Karyn


DougHua wrote:
> 
> Angelo,
> 
> I successfully passed the first step "make" by following your instruction:
> changing path so that cygwin can be seen first and installing g77
> compiler.
> But I met another problem in the second step "make install". I got the
> error message below:
> "$ make install
> make[1]: Entering directory `/cygdrive/c/6s/ledapsSrc/src/lndpm'
> cp lndpm /cygdrive/c/6s/ledapsSrc/src/bin
> cp: cannot stat `lndpm': No such file or directory
> make[1]: *** [install] Error 1
> ....
> "
> 
> Could you please help me with solving this one?
> 
> Thx again!
> 
> Doug
> 
> 
> 
> Angelo Graziosi-2 wrote:
>> 
>> DougHua wrote:
>>> I still don't know how to verify my system configuration and setup (PATH
>>> etc.).
>>> Could you please give me more hints?
>> 
>> For example,
>> 
>> $ echo $PATH
>> 
>> should show something like this:
>> 
>> /usr/local/bin:/usr/bin:/bin:/cygdrive/c/WINDOWS/system32:[...]
>> 
>> i.e., Cygwin directories should be searched before Windows ones.
>> 
>> Obviously, you should verify if 'g77' Cygwin package is installed.
>> 
>> Angelo
>> 
> 
> 

-- 
View this message in context: http://old.nabble.com/Error-from-compilation-of-FORTRAN-program-tp28232141p33746630.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: Error from compilation of FORTRAN program
@ 2010-04-14 22:14 Angelo Graziosi
  0 siblings, 0 replies; 7+ messages in thread
From: Angelo Graziosi @ 2010-04-14 22:14 UTC (permalink / raw)
  To: Cygwin

DougHua wrote:
> But I met another problem in the second step "make install".

Why do you want 'make install'? The Makefile (and the sources) you cited 
in [*] does not have an 'install' target. Indeed it produces only a 
single binary (sixsV1.1), which you can copy/move where you like! or you 
can just use it as suggested by readme.txt:

./sixsV1.1 <input_file_name >output_file_name

This is all.

I think you are confusing with some other sources/Makefile(s) not 
related to what you cite here [*].

-A.

---
[*] http://cygwin.com/ml/cygwin/2010-04/msg00579.html

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

end of thread, other threads:[~2012-04-25 14:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-13 15:47 Error from compilation of FORTRAN program DougHua
2010-04-13 16:54 ` Angelo Graziosi
2010-04-13 22:08   ` DougHua
2010-04-13 22:23 ` Angelo Graziosi
2010-04-14 21:18   ` DougHua
2012-04-25 14:22     ` krayon
2010-04-14 22:14 Angelo Graziosi

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