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

Re: 20051114: problem installing UDUNITS version 1.12.4



Sebastien,

>Date: Mon, 14 Nov 2005 13:34:12 -0800
>From: Sebastien Biraud <address@hidden>
>Organization: Lawrence Berkeley National Laboratory
>To: Steve Emmerson <address@hidden>
>Subject: Re: 20051114: problem installing UDUNITS version 1.12.4

The above message contained the following:

> Thanks for the "-DpgiFortran" option.
> I did run make after the configure. Attached is the output of the make.
> 
> Thanks,
> Sebastien
[snip]

> making `all' in directory /home/sbiraud/tmp/udunits-1.12.4/src/lib
> =20
> make[1]: Entering directory `/home/sbiraud/tmp/udunits-1.12.4/src/lib'
> gcc -c -O -I../port/misc -I../port/cfortran -DUT_DEFAULT_PATH=3D'"/home/s=
> biraud/tmp/udunits-1.12.4/etc/udunits.dat"'  utlib.c
> In file included from utlib.c:29:
> =2E./port/cfortran/cfortran.h:132:3: #error "cfortran.h:  Can't find your=
>  environment among:    - MIPS cc and f77 2.0. (e.g. Silicon Graphics, DEC=
> stations, ...)         - IBM AIX XL C and FORTRAN Compiler/6000 Version 0=
> 1.01.0000.0000         - VAX   VMS CC 3.1 and FORTRAN 5.4.               =
>                        - Alpha VMS DEC C 1.3 and DEC FORTRAN 6.0.        =
>                        - Alpha OSF DEC C and DEC Fortran for OSF/1 AXP Ve=
> rsion 1.2              - Apollo DomainOS 10.2 (sys5.3) with f77 10.7 and =
> cc 6.7.                - CRAY                                            =
>                        - NEC SX-4 SUPER-UX                               =
>                        - CONVEX                                          =
>                        - Sun                                             =
>                        - PowerStation Fortran with Visual C++            =
>                        - HP9000s300/s700/s800 Latest test with: HP-UX A.0=
> 8.07 A 9000/730        - LynxOS: cc or gcc with f2c.                     =
>                        - VAXUltrix: vcc,cc or gcc with f2c. gcc or cc wit=
> h f77.                 -            f77 with vcc works; but missing link =
> magic for f77 I/O.     -            NO fort. None of gcc, cc or vcc gener=
> ate required names.    - f2c    : Use #define    f2cFortran, or cc -Df2cF=
> ortran                 - NAG f90: Use #define NAGf90Fortran, or cc -DNAGf=
> 90Fortran              - Absoft UNIX F77: Use #define AbsoftUNIXFortran o=
> r cc -DAbsoftUNIXFortran     - Absoft Pro Fortran: Use #define AbsoftProF=
> ortran     - Portland Group Fortran: Use #define pgiFortran"
> make[1]: *** [utlib.o] Error 1
> make[1]: Leaving directory `/home/sbiraud/tmp/udunits-1.12.4/src/lib'
> make: *** [lib/all] Error 1

It looks like the "-DpgiFortran" didn't make it into the build
procedure.  Your previous email contained

    FC=pgf90 F90=pgf90 CC=gcc Cxx=g++ CFLAGS=-O CPPLAGS='-Dpgifortran'
    ./configure

The environment variable should be CPPFLAGS rather than CPPLAGS.

Please try the following:

    1.  Go to the top-level source-directory.

    2.  Execute the command "make distclean".

    3.  Execute the commands

            CC=gcc CFLAGS=-O CPPFLAGS=-Dpgifortran \
                ./configure >configure.log 2>&1 &&
            make >make.log 2>&1 &&
            make test >test.log 2>&1 &&
            make install >install.log 2>&1 &&
            echo OK

If a command fails, then send me its log file and the log files of the
previous commands.

Regards,
Steve Emmerson