makefile:32: error

Discussion on computers, ROMS installation and compiling

Moderators: arango, robertson

Post Reply
Message
Author
ming
Posts: 5
Joined: Wed Nov 28, 2012 5:27 pm
Location: University of Tasmania

makefile:32: error

#1 Unread post by ming »

Hi there,

I am a beginner. I am having some difficulty on installing ROMS. I am installing it through cygwin on windows 7 but I cannot 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.

I think that I have installed the GNU make vs 3.82 when I installed cygwin.

Thank you very much.


Kind Regards,

Ming

User avatar
m.hadfield
Posts: 521
Joined: Tue Jul 01, 2003 4:12 am
Location: NIWA

Re: makefile:32: error

#2 Unread post by m.hadfield »

With my up-to-date installation of Cygwin, The make version is 3.82.90. The version-testing code in the make file is not very clever: it doesn't find "3.82.90" in the list of acceptable make versions, so it aborts. In fact, this version has no problems in building ROMS.

Suggested solutions: either change the version-testing code so that it accepts "3.82.90" or delete it entirely.

ming
Posts: 5
Joined: Wed Nov 28, 2012 5:27 pm
Location: University of Tasmania

Re: makefile:32: error

#3 Unread post by ming »

Hi Mark,

Thank you for replying to me. How do I either change the version-testing code so that it accepts "3.82.90" or delete it entirely? Where can I find the version-testing code?


Kind Regards,

Ming

ming
Posts: 5
Joined: Wed Nov 28, 2012 5:27 pm
Location: University of Tasmania

Re: makefile:32: error

#4 Unread post by ming »

Hi Mark,

I found it myself. roms > trunk > makefile

Open makefile file

Find NEED_VERSION := 3.80 3.81 3.82

Chane it to NEED_VERSION := 3.80 3.81 3.82 3.82.90

Save the file

It works. Thanks.


Kind Regards,

Ming

Post Reply