[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20020924: GEMPAK installation



Kwan-yin,

Since you do not have the SUN Workshop F77 libraries on
your system, you will need to download the X86 system
libraries from the download site in order to install the binary
distribution. These are obtained from the link: 

System shared libraries for Solaris X86 (x86_system_libs.tar.gz) 

There is a readme file included in the tarfile....basically,
place the shared libraries somewhere on your system (can be
in $GEMLIB if you want), and then set your LD_LIBRARY_PATH
to add that directory to your library search path (you can 
do that in your Gemenviron script if you want).

Steve Chiswell



>From: "Kwan-yin Kong" <address@hidden>
>Organization: UCAR/Unidata
>Keywords: 200209242126.g8OLQc114029

>To GEMPAK support:
>
>       Hello.  I am Kwan-yin Kong at the City College of 
>New York.  I was one of the participants at the Unidata 
>GEMPAK workshop back in July.  In the past week, I have 
>been attempting to install the latest version of GEMPAK 
>(5.6H) onto a X86 machine running Solaris 8.  This machine 
>is a new one so no previous versions of GEMPAK have ever 
>been installed.  At present, I need some help to get 
>through the installation problems I've encountered so far.
>
>       My first installation attempt was to download and 
>unpack the X86 version of the binary distribution into 
>directory /usr/gempak.  I changed the variable $NAWIPS in 
>'Gemenviron' to reflect the correct root directory.  Then 
>I ran 'source Gemenviron' without any error messages 
>displayed.  But when I tried to run 'sfmap', I got an 
>error message saying that it could not find or run some 
>files/library.  (Sorry, I did not save that error 
>message.)
>
>       Next, I decided to try building GEMPAK from source 
>instead.  So I deleted the entire gempak directory tree, 
>then downloaded the X86 source distribution.  Since I only 
>have gcc and g77 but not f77 in the machine, I changed the 
>variable $FC to g77, and $CC to gcc in 
>'config/Makeinc.common'.  Then I executed make all and 
>encountered the following errors. 
>----------------------------------------------------------- 
>gcc -DUNDERSCORE -DX86 -I/usr/gempak/gempak/include 
>-I/usr/dt/include -I/usr/openwin/include -O  -I../include 
>-DDEBUG_PRINT=0  -DFNOC_KLUDGE=0  -DIGNORE_NESTING=1 
>   -DMEMORY_DEBUG=0  -DTRACE_PRINT=0 -c  cater.c
>gcc -DUNDERSCORE -DX86 -I/usr/gempak/gempak/include 
>-I/usr/dt/include -I/usr/openwin/include -O  -I../include 
>-DDEBUG_PRINT=0  -DFNOC_KLUDGE=0  -DIGNORE_NESTING=1 
>   -DMEMORY_DEBUG=0  -DTRACE_PRINT=0 -c  message_read.c
>gcc -DUNDERSCORE -DX86 -I/usr/gempak/gempak/include 
>-I/usr/dt/include -I/usr/openwin/include -O  -I../include 
>-DDEBUG_PRINT=0  -DFNOC_KLUDGE=0  -DIGNORE_NESTING=1 
>   -DMEMORY_DEBUG=0  -DTRACE_PRINT=0 -c  mess_write.c
>g77 -I/usr/gempak/gempak/include 
>-I/usr/gempak/gempak/include/X86   -o cater cater.o 
>message_read.o mess_write.o 
>/usr/gempak/lib/x86/libmel_bufr.a gcc -DUNDERSCORE -DX86 
>-I/usr/gempak/gempak/include -I/usr/dt/include 
>-I/usr/openwin/include -O  -I../include 
>-DDEBUG_PRINT=0  -DFNOC_KLUDGE=0  -DIGNORE_NESTING=1 
>   -DMEMORY_DEBUG=0  -DTRACE_PRINT=0 -c  de_cater.c
>gcc -DUNDERSCORE -DX86 -I/usr/gempak/gempak/include 
>-I/usr/dt/include -I/usr/openwin/include -O  -I../include 
>-DDEBUG_PRINT=0  -DFNOC_KLUDGE=0  -DIGNORE_NESTING=1 
>   -DMEMORY_DEBUG=0  -DTRACE_PRINT=0 -c  find_length.c
>gcc -DUNDERSCORE -DX86 -I/usr/gempak/gempak/include 
>-I/usr/dt/include -I/usr/openwin/include -O  -I../include 
>-DDEBUG_PRINT=0  -DFNOC_KLUDGE=0  -DIGNORE_NESTING=1 
>   -DMEMORY_DEBUG=0  -DTRACE_PRINT=0 -c  make_name.c
>gcc -DUNDERSCORE -DX86 -I/usr/gempak/gempak/include 
>-I/usr/dt/include -I/usr/openwin/include -O  -I../include 
>-DDEBUG_PRINT=0  -DFNOC_KLUDGE=0  -DIGNORE_NESTING=1 
>   -DMEMORY_DEBUG=0  -DTRACE_PRINT=0 -c  write_msg.c
>g77 -I/usr/gempak/gempak/include 
>-I/usr/gempak/gempak/include/X86   -o de_cater de_cater.o 
>find_length.o make_name.o write_msg.o 
>/usr/gempak/lib/x86/libmel_bufr.a
>gcc -DUNDERSCORE -DX86 -I/usr/gempak/gempak/include 
>-I/usr/dt/include -I/usr/openwin/include -O  -I../include 
>-DDEBUG_PRINT=0  -DFNOC_KLUDGE=0  -DIGNORE_NESTING=1 
>   -DMEMORY_DEBUG=0  -DTRACE_PRINT=0 -c  bufr_dump.c
>g77 -I/usr/gempak/gempak/include 
>-I/usr/gempak/gempak/include/X86   -o bufr_dump 
>bufr_dump.o /usr/gempak/lib/x86/libmel_bufr.a
>gcc -DUNDERSCORE -DX86 -I/usr/gempak/gempak/include 
>-I/usr/dt/include -I/usr/openwin/include -O  -I../include 
>-DDEBUG_PRINT=0  -DFNOC_KLUDGE=0  -DIGNORE_NESTING=1 
>   -DMEMORY_DEBUG=0  -DTRACE_PRINT=0 -c  dataset_dmp.c
>g77 -I/usr/gempak/gempak/include 
>-I/usr/gempak/gempak/include/X86   -o dataset_dmp 
>dataset_dmp.o /usr/gempak/lib/x86/libmel_bufr.a
>Making all in /usr/gempak/gempak/source/appl
>-n making in /usr/gempak/gempak/source/appl/access
>g77 -I/usr/gempak/gempak/include 
>-I/usr/gempak/gempak/include/X86 -c gendp.f
>g77 -I/usr/gempak/gempak/include 
>-I/usr/gempak/gempak/include/X86 -c ginitp.f
>In file included from GEMPRM.PRM:25,
>                   from ginitp.f:35:
>MCHPRM.PRM: In subroutine `ginitp':
>MCHPRM.PRM:26: 
>             PARAMETER       ( CHNULL = CHAR (0) )
>                                        ^
>Invalid declaration of or reference to symbol `char' at 
>(^) [initially seen at (^)]
>MCHPRM.PRM:68: 
>             PARAMETER       ( IGBSIZ = 
>(128*(1+INT((IGBSZM-1)/128))))
>                                                ^
>Invalid declaration of or reference to symbol `int' at (^) 
>[initially seen at (^)]
>MCHPRM.PRM:68: 
>             PARAMETER       ( IGBSIZ = 
>(128*(1+INT((IGBSZM-1)/128))))
>                                        ^
>Expression at (^) has incorrect data type or rank for its 
>context
>MCHPRM.PRM:75: 
>             PARAMETER       ( IGDSIZ = 
>(128*(1+INT((IGDSZM-1)/128))))
>                                        ^
>Expression at (^) has incorrect data type or rank for its 
>context
>*** Error code 1
>make: Fatal error: Command failed for target 
>`/usr/gempak/lib/x86/appl.a(ginitp.o)'
>Current working directory 
>/usr/gempak/gempak/source/appl/access
>*** Error code 1
>make: Fatal error: Command failed for target `all'
>Current working directory /usr/gempak/gempak/source/appl
>*** Error code 1
>make: Fatal error: Command failed for target `all'
>Current working directory /usr/gempak/gempak/source
>*** Error code 1
>make: Fatal error: Command failed for target `all'
>Current working directory /usr/gempak/gempak
>*** Error code 1
>make: Fatal error: Command failed for target `all'
>
>-------------- END of error message -------------------
>
>I have also attached the entire 'make.out' file for your 
>reference.
>
>Thank you for your inputs.
>
>Kwan-yin Kong
>City College of New York
>