Customizing the build script
-
- Posts: 4
- Joined: Thu Jun 09, 2011 2:10 pm
- Location: Faculdade de Ciências, Universidade de Lisboa
Customizing the build script
Hi!
I´m trying to start modelling with ROMS but I'm having some difficulty on installing it. Once I work with windows 7, I'm installing it via cygwin but I can't create the executable oceanS. When I try to execute the build.bash that is what happens:
$ ./build.bash
makefile:32: *** This makefile requires one of GNU make version 3.80 3.81 3.82.. Stop.
makefile:32: *** This makefile requires one of GNU make version 3.80 3.81 3.82.. Stop.
However, I'm sure that I've installed the GNU make vs 3.82 when I installed cygwin. I also check the bin folder inside cygwin directory and the package "make" was there.
Does anyone have any idea of what I'm doing wrong? I can't understand because I have already done the roms instalation in my personal computer (wich is also a W7) and I didin't have any problem.
Thank you
Ivana
I´m trying to start modelling with ROMS but I'm having some difficulty on installing it. Once I work with windows 7, I'm installing it via cygwin but I can't create the executable oceanS. When I try to execute the build.bash that is what happens:
$ ./build.bash
makefile:32: *** This makefile requires one of GNU make version 3.80 3.81 3.82.. Stop.
makefile:32: *** This makefile requires one of GNU make version 3.80 3.81 3.82.. Stop.
However, I'm sure that I've installed the GNU make vs 3.82 when I installed cygwin. I also check the bin folder inside cygwin directory and the package "make" was there.
Does anyone have any idea of what I'm doing wrong? I can't understand because I have already done the roms instalation in my personal computer (wich is also a W7) and I didin't have any problem.
Thank you
Ivana
Re: Customizing the build script
You can try things like:
and
to see what you have. What do you get?
Code: Select all
delta.arsc.edu 495% which make
/usr/bin/make
Code: Select all
delta.arsc.edu 496% make --version
GNU Make 3.81
-
- Posts: 4
- Joined: Thu Jun 09, 2011 2:10 pm
- Location: Faculdade de Ciências, Universidade de Lisboa
Re: Customizing the build script
I've downloaded gnu make vs. 3.81 and the buil.bash run perfectly!
Thank you very much Kate.
IB
Thank you very much Kate.
IB
Re: Customizing the build script
Hi there,
I am a beginner. I have the same problem. I am not sure how to solve this problem. Could you please explain it step by step? Thank you very much.
I am a beginner. I have the same problem. I am not sure how to solve this problem. Could you please explain it step by step? Thank you very much.
Re: Customizing the build script
What happens when you try:
I believe it should work with 3.82 as well - are you seeing 3.82 there?
Code: Select all
pacman6 288% which make
/usr/bin/make
pacman6 289% make --version
GNU Make 3.81
- m.hadfield
- Posts: 521
- Joined: Tue Jul 01, 2003 4:12 am
- Location: NIWA
Re: Customizing the build script
Hi ming
I have replied on the other thread relating to this issue.
Mark
I have replied on the other thread relating to this issue.
Mark
Re: Customizing the build script
Hi Kate and Mark,
Thank you very much for replying to me.
Kate, I have tried and got the following messages.
$ which make
/usr/bin/make
$ make --version
GNU Make 3.82.90
Built for i686-pc-cygwin
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Mark, I will find your post on the other thread.
Kind Regards,
Ming
Thank you very much for replying to me.
Kate, I have tried and got the following messages.
$ which make
/usr/bin/make
$ make --version
GNU Make 3.82.90
Built for i686-pc-cygwin
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Mark, I will find your post on the other thread.
Kind Regards,
Ming
Re: Customizing the build script
Hi
I do have a make 4.0
and doesnt work, so should i change it to older version?
Thanks
I do have a make 4.0
and doesnt work, so should i change it to older version?
Thanks
Re: Customizing the build script
How does it not work? Does your makefile have this line near the top?
Code: Select all
NEED_VERSION := 3.80 3.81 3.82 3.82.90 4.0
Re: Customizing the build script
Dear Kate
I added the version 4.0 the makefile and i got a new different error
cd Build_plt; -c /align /G7 /MD /Ox areafill.f90 /object:areafill.o
/bin/sh: -c: command not found
make: *** [Build_plt/areafill.o] Error 127
Any idea
Thanks
I added the version 4.0 the makefile and i got a new different error
cd Build_plt; -c /align /G7 /MD /Ox areafill.f90 /object:areafill.o
/bin/sh: -c: command not found
make: *** [Build_plt/areafill.o] Error 127
Any idea
Thanks
Re: Customizing the build script
I found the problem, which was in the compiler.
Then a new error
/usr/bin/cpp -P -traditional -DCYGWIN -DX86_64 -DGFORTRAN -DNCARG520 -Drmdocinc -IInclude -IUtility Drivers/cnt.F > Build_plt/cnt.f90
Bin/cpp_clean Build_plt/cnt.f90
cd Build_plt; /usr/bin/gfortran -c -frepack-arrays -O3 -ffast-math cnt.f90
/usr/bin/gfortran -frepack-arrays -O3 -ffast-math Build_plt/cnt.o Build_plt/cpmpxy2d.o Build_plt/mapeod.o Build_plt/stumsl.o Build_plt/stumxy.o Build_plt/vvumxy.o -o /cygdrive/c/Users/bani/home/bin/cnt Build_plt/libUTIL.a -L/usr/local/lib -lnetcdf
/usr/lib/gcc/x86_64-pc-cygwin/4.8.2/../../../../x86_64-pc-cygwin/bin/ld: cannot open output file /cygdrive/c/Users/bani/home/bin/cnt.exe: No such file or directory
collect2: error: ld returned 1 exit status
make: *** [/cygdrive/c/Users/bani/home/bin/cnt] Error 1
Then a new error
/usr/bin/cpp -P -traditional -DCYGWIN -DX86_64 -DGFORTRAN -DNCARG520 -Drmdocinc -IInclude -IUtility Drivers/cnt.F > Build_plt/cnt.f90
Bin/cpp_clean Build_plt/cnt.f90
cd Build_plt; /usr/bin/gfortran -c -frepack-arrays -O3 -ffast-math cnt.f90
/usr/bin/gfortran -frepack-arrays -O3 -ffast-math Build_plt/cnt.o Build_plt/cpmpxy2d.o Build_plt/mapeod.o Build_plt/stumsl.o Build_plt/stumxy.o Build_plt/vvumxy.o -o /cygdrive/c/Users/bani/home/bin/cnt Build_plt/libUTIL.a -L/usr/local/lib -lnetcdf
/usr/lib/gcc/x86_64-pc-cygwin/4.8.2/../../../../x86_64-pc-cygwin/bin/ld: cannot open output file /cygdrive/c/Users/bani/home/bin/cnt.exe: No such file or directory
collect2: error: ld returned 1 exit status
make: *** [/cygdrive/c/Users/bani/home/bin/cnt] Error 1