[RegCNET] Errors in compiling the RegCM4.3.5.6 at "PreProc/Ch_EMISSIONS/interpolation"
Graziano Giuliani
ggiulian at ictp.it
Mon Jul 8 10:06:30 CEST 2013
On 07/08/2013 05:12 AM, Huanghe Gu wrote:
> Dear all,
>
> Sorry to bother you. I have a problem like this when compiling the RegCM4.3.5.6:
[...]
Huanghe, the problem is those "programs" are actually shell scripts, and the
automake you have (judging from the 4.8.0 in the gcc version number) is not
allowing the trick we have made to copy scripts as program executables. I will
try to fix this in the new release. As of now you can create "fake" C programs:
#include <stdio.h>
int main(int argc, char *argv[])
{
fprintf(stderr, "This program is a placeholder.\n");
fprintf(stderr, "Use the script %s.sh in the build directory.\n",argv[0]);
return -1;
}
to get over with the compile, and then copy the shell script yourself in the bin
directory.
Graziano.
--
Graziano Giuliani - Earth System Physics Section
The Abdus Salam International Centre for Theoretical Physics
Strada Costiera, 11 - I - 34151 Trieste Italy
More information about the RegCNET
mailing list