[Shake-dev] problems when installing

Bruce Worden cbworden at caltech.edu
Wed Nov 17 02:24:46 UTC 2010


No problem. It's good to know it works with 4.5.5. I have it working  
of 4.5.3. If any of the other users on this list have the latest  
update working with 4.5.0 or 4.5.2, let me know. (Or, obviously, let  
me know if you run into trouble with those versions.)

Bruce

On Nov 16, 2010, at 6:11 PM, 王士成 wrote:

>
>
> Hi,
> Sorry about replying so late,I`ve updated my GMT version to 4.5.5  
> and reinstalled SM3.5,right now it works very well.
> Thanks again,
> WSC
>
> At 2010-11-17 04:14:14,"Bruce Worden" <cbworden at caltech.edu> wrote:
> Okay, ignore my previous email. I've just put back a new version of  
> sm_nearneighbor.c that should fix the problem. Use 'svn update' to  
> get it, and recompile with 'make'. Leave your GMT version in include/ 
> macros as '4.5'.
>
> Let me know if you have any problems.
>
> Bruce
>
> On Nov 15, 2010, at 9:01 PM, 王士成 wrote:
>
>> Hi ,
>> I reinstalled my SM3.5 when I got the newest codes (version 285)  
>> just like before : goto  "/install" and do a "make",then edit the "/ 
>> include/macros" ,goto "$shake_home" ,and do " make all".However, I  
>> met problems this time after "make all" in the console,the  
>> following were some of the hints gave to me.It seemes that sth  
>> wrong with my GMT,but i used to install GMT version 4.5.2 and  
>> NETCDF 3.6.3,and i never met this problem.what`s wrong?
>>
>> make[2]: 正在进入目录 `/opt/shakemap/src/contour'
>> /usr/bin/cc -O -I . -I /opt/gmt/include -I /opt/netcdf/include -c  
>> sm_nearneighbor45.c -o sm_nearneighbor.o
>> sm_nearneighbor45.c: In function ‘main’:
>> sm_nearneighbor45.c:189: error: expected ‘)’ before ‘GMT_LL’
>> sm_nearneighbor45.c:189: warning: spurious trailing ‘%’ in format
>> sm_nearneighbor45.c:245: warning: passing argument 3 of  
>> ‘GMT_check_lattice’ from incompatible pointer type
>> /opt/gmt/include/gmt_init.h:74: note: expected ‘BOOLEAN *’ but  
>> argument is of type ‘GMT_LONG *’
>> sm_nearneighbor45.c:245: warning: passing argument 4 of  
>> ‘GMT_check_lattice’ from incompatible pointer type
>> /opt/gmt/include/gmt_init.h:74: note: expected ‘BOOLEAN *’ but  
>> argument is of type ‘GMT_LONG *’
>> sm_nearneighbor45.c:429: warning: passing argument 4 of  
>> ‘GMT_y_out_of_bounds’ from incompatible pointer type
>> /opt/gmt/include/gmt_boundcond.h:54: note: expected ‘BOOLEAN *’  
>> but argument is of type ‘GMT_LONG *’
>> make[2]: *** [sm_nearneighbor.o] 错误 1
>> make[2]:正在离开目录 `/opt/shakemap/src/contour'
>>
>> P.S.: OS:Ubuntu 10.04
>> GMT version:4.5.2
>> NETCDF :3.6.3
>>
>> Thanks,
>> WSC
>>
>>
>>
>> 网易163/126邮箱百分百兼容iphone ipad邮件收发  
>> _______________________________________________
>> Shake-dev mailing list
>> Shake-dev at geohazards.usgs.gov
>> https://geohazards.usgs.gov/mailman/listinfo/shake-dev
>
>
>
> 网易163/126邮箱百分百兼容iphone ipad邮件收发
>
> 网易163/126邮箱百分百兼容iphone ipad邮件收发  
> _______________________________________________
> Shake-dev mailing list
> Shake-dev at geohazards.usgs.gov
> https://geohazards.usgs.gov/mailman/listinfo/shake-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://geohazards.usgs.gov/pipermail/shake-dev/attachments/20101116/7c776bc1/attachment-0001.html>


More information about the Shake-dev mailing list