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

20020104: GEMPAK5.6e installation problem



James,
 don't make any modifications to the build configuration.

The problem looks like your Gemenviron is still sourced to your old running 
GEMPAKversion,
and not the new GEMPAK 5.6.e directory tree, eg:

>Current working directory /home/ldm/5.6e/gempak/source/gemlib/vf

but your includes are not that tree:

-I/unidata/ldm/5.6/gempak/include


your should edit the Gemenviron file in the 5.6.e directory and
make sure NAWIPS is defined to the /home/ldm/5.6e directory.
Then, source that Gemenviron. Make sure that $NAWIPS and $GEMPAK are set
to the 5.6.e build directories.
Then, run a complete "make distclean" from $NAWIPS to remove all previous
build information, including the library files in $GEMLIB.

Then you can restart the build.

Steve Chiswell
Unidata User Support


>Hi (Steve).
>
>It's me again. I'm installing GEMPAK5.6e from source this
>time. I'd like to be able to make modifications to some
>lines/maps in Ntrans/Nsat/Nsharp. So, that's why I'm going
>to the source distribution.
>
>While compiling the following error shows up in the make.out
>file (everything's fine up to this point)--
>
>------------------------------------------------------------------------------
> -
>-n SunOS - making in
>/home/ldm/5.6e/gempak/source/gemlib/vf
>cc -DUNDERSCORE -DSunOS -I/unidata/ldm/5.6/gempak/include -I/usr/dt/include -I
> /usr/openwin/include -c vfampm.c
>cc -DUNDERSCORE -DSunOS -I/unidata/ldm/5.6/gempak/include -I/usr/dt/include -I
> /usr/openwin/include -c vfarea.c
>"vfarea.c", line 36: warning: Prototype mismatch in arg 4 for function vfarea:
>        function : old style declaration pointer to int
>        prototype: pointer to char
>"vfarea.c", line 36: warning: parameter mismatch: 5 declared, 4 defined
>cc -DUNDERSCORE -DSunOS -I/unidata/ldm/5.6/gempak/include -I/usr/dt/include -I
> /usr/openwin/include -c vfavcd.c
>cc -DUNDERSCORE -DSunOS -I/unidata/ldm/5.6/gempak/include -I/usr/dt/include -I
> /usr/openwin/include -c vfcnsaw.c
>cc -DUNDERSCORE -DSunOS -I/unidata/ldm/5.6/gempak/include -I/usr/dt/include -I
> /usr/openwin/include -c vfcnsel.c
>cc -DUNDERSCORE -DSunOS -I/unidata/ldm/5.6/gempak/include -I/usr/dt/include -I
> /usr/openwin/include -c vfctim.c
>cc -DUNDERSCORE -DSunOS -I/unidata/ldm/5.6/gempak/include -I/usr/dt/include -I
> /usr/openwin/include -c vfeftm.c
>"vfeftm.c", line 112: warning: improper pointer/integer combination: arg #4
>"vfeftm.c", line 112: warning: improper pointer/integer combination: arg #6
>"vfeftm.c", line 112: warning: improper pointer/integer combination: arg #7
>"vfeftm.c", line 112: warning: argument #8 is incompatible with prototype:
>        prototype: pointer to char : "/unidata/ldm/5.6/gempak/include/proto_vf
> .h", line 74
>        argument : pointer to int
>"vfeftm.c", line 112: prototype mismatch: 8 args passed, 9 expected
>cc: acomp failed for vfeftm.c
>*** Error code 2
>make: Fatal error: Command failed for target `/unidata/ldm/5.6/lib/sol/gemlib.
> a(vfeftm.o)'
>Current working directory /home/ldm/5.6e/gempak/source/gemlib/vf
>*** Error code 1
>make: Fatal error: Command failed for target `all'
>Current working directory /home/ldm/5.6e/gempak/source/gemlib
>*** Error code 1
>make: Fatal error: Command failed for target `all'
>Current working directory /home/ldm/5.6e/gempak/source
>*** Error code 1
>make: Fatal error: Command failed for target `all'
>Current working directory /home/ldm/5.6e/gempak
>*** Error code 1
>make: Fatal error: Command failed for target `all
>------------------------------------------------------------------------------
> -
>
>Our Dept. programmer suggested changing the line
>"CC = cc"  to "CC = gcc" in the Makeinc.common file.
>That didn't work (same error either way).
>
>The OS is Solaris2.6 for our SUN Ultra1.
>
>Thanks in advance.
>
>James
>
>--------------------------------------
>James Murakami
>Staff Meteorologist/Student Affairs
>Department of Atmospheric Sciences
>University of California, Los Angeles
>405 Hilgard Ave.
>Los Angeles, CA  90095-1565
>
>
>   e-mail:  address@hidden
>telephone:  310-825-2418
>      Fax:  310-206-5219
>---------------------------------------
>