Re: Installation errors - HP-UNIX

From: Waylon Collins (Waylon.Collins AT unknown)
Date: Fri Oct 06 2000 - 15:53:10 MDT


Mary,

I set the PATH environment, and the FC environment variable, to locate, and
use exclusively, f90 (which is the name of the compiler). As a result, the
compiling procedure uses, and only looks for, f90. Thanks. However, although
the number of errors has been reduced significantly with your help, the
attached critical error still occurs. The README file talks about the R1MACH,
but only in the context of ./Configure -v not working, but it did. Any
ideas?

Waylon

Mary Haley wrote:

> > Decided against using PC Linux since NCAR Graphics supports GNU, not PG,
> > compilers. I am using HP-UNIX to build NCAR graphics from source code. I
> > followed the README instructions, however I still have errors during the
> >
> > "make Everything >& make-output &" procedure. Attached is a sampling of
> > the errors. I set the $NCAG/config/system_file to choose f90 as the
> > fortran compiler, yet there are problems using it. Also, the procedure
> > tries to build the software using f77, even though I chose f90.
> > .
> > .
> > .
> > Making ./common/src/fontcap
> > f90 -O2 -c cfaamn.f
> > Make: Cannot load f90. Stop.
> > *** Error exit code 1
>
> This error message indicates to me that "f90" is either not the name
> of your Fortran 90 compiler, or you don't have your PATH environment
> variable set up correctly to find it. You need to find out what the
> correct name is, and then rerun "./Configure" and specify the correct
> name.
>
> To make sure that it uses f90 to compile everything, try setting the
> FC environment variable to whatever the name of your f90 compiler is.
> For example:
>
> setenv FC f90
>
> --Mary


                                                                                                                                                     
        f90 -O2 -c i1mach.f
i1mach.f
   external function I1MACH

870 Lines Compiled
        f90 -O2 -c r1mach.f
r1mach.f
   external function R1MACH

      DATA SMALL / X'00800000' /
                    ^
Error 24 at (393:r1mach.f) : syntax error

      DATA LARGE / X'7F7FFFFF' /
                    ^
Error 24 at (394:r1mach.f) : syntax error

      DATA RIGHT / X'33800000' /
                    ^
Error 24 at (395:r1mach.f) : syntax error

      DATA DIVER / X'34000000' /
                    ^
Error 24 at (396:r1mach.f) : syntax error

      DATA LOG10 / X'3E9A209B' /
                    ^
Error 24 at (397:r1mach.f) : syntax error

5 Errors
f90: Errors detected.
*** Error exit code 1

Stop.
Making ./common/src/bin
Making ./common/src/bin/ncargpath
        cc -Aa -O -I../../../.././include -I/usr/include/Motif1.2 -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -DSYSV -D_HPUX_SOURCE -DNeedFuncProto -c ncargpath.c
Make: Don't know how to make ../../../.././common/src/libncarg_c/libncarg_c.a. Stop.



This archive was generated by hypermail 2b29 : Tue Oct 10 2000 - 09:54:15 MDT