Re: [netcdfgroup] problem during ./configuration

Hi Ted,

Thanks for your message. I went back to config.log and got this:

 276 PGF90-S-0034-Syntax error at or near end of line (conftest.F: 3)
 277   0 inform,   0 warnings,   1 severes, 0 fatal for main
 278 configure:4765: $? = 2
 279 configure: failed program was:
 280 |       program main
 281 | #ifndef __GNUC__
 282 |        choke me
 283 | #endif
 284 |
 285 |       end

 357 configure:5582: pgCC -c  -DNDEBUG -DpgiFortran -D_LARGEFILE_SOURCE
conftest.cpp >&5
 358 "conftest.cpp", line 17: error: identifier "choke" is undefined
 359          choke me
 360          ^
 361
 362 "conftest.cpp", line 17: warning: variable "me" was declared but never
 363           referenced
 364          choke me
 365                ^
 366
 367 1 error detected in the compilation of "conftest.cpp".

 713 configure:9380: pgCC -E -DNDEBUG -DpgiFortran -D_LARGEFILE_SOURCE
conftest.cpp
 714 "conftest.cpp", line 23: error: could not open source file
"ac_nonexistent.h"
 715   #include <ac_nonexistent.h>
 716                              ^
 717
 718 1 error detected in the compilation of "conftest.cpp".
 719 configure:9386: $? = 2
 720 configure: failed program was:

 748 "conftest.cpp", line 23: error: could not open source file
"ac_nonexistent.h"
 749   #include <ac_nonexistent.h>
 750                              ^
 751
 752 1 error detected in the compilation of "conftest.cpp".
 753 configure:9491: $? = 2
 754 configure: failed program was:
 755 | /* confdefs.h.  */

1050 configure:22807: error: Could not compile conftest.f

1350 configure: exit 1

But I just download the whole thing...

Hongyan
On Thu, May 27, 2010 at 12:13 PM, Ted Mansell <Ted.Mansell@xxxxxxxx> wrote:

> Have you checked in the config.log output to see what the full error is?
>  There is some issue with the fortran compiler, which could be a number of
> things.
>
> -- Ted
>
>
> On May 27, 2010, at 11:09 AM, H.Dang wrote:
>
>  Hello,
>>
>> I met a problem when ./configure --prefix=...
>>
>> checking for /usr/bin/nm... /usr/bin/nm -B
>> checking nm flags...
>> checking for C-equivalent to Fortran routine "SUB"...
>> pgf90 9.0-4 64-bit target on x86-64 Linux -tp nehalem-64
>> Copyright 1989-2000, The Portland Group, Inc.  All Rights Reserved.
>> Copyright 2000-2009, STMicroelectronics, Inc.  All Rights Reserved.
>> configure: error: Could not compile conftest.f
>>
>> The setting in my ~/.bashrc is:
>>
>>  18  export BIN=Linux2_x86pg
>>  19
>>  20 #configuration from
>> http://www.pgroup.com/resources/netcdf/netcdf362_pgi80.htm
>>  21  export CC=pgcc
>>  22  export CFLAGS="-O2 -Msignextend -V"
>>  23  export F77=pgf90
>>  24  export FC=pgf90
>>  25  export F90=pgf90
>>  26  export FFLAGS="-02 -w -V"
>>  27 # export CXX=pgcpp
>>  28  export CXX=pgCC
>>  29  export CPPFLAGS="-DNDEBUG -DpgiFortran -D_LARGEFILE_SOURCE"
>>
>> Can anybody please tell me what's wrong with it? Thank you!
>>
>> --
>> Cordially,
>> Hongyan
>> 鸿雁
>> _______________________________________________
>> netcdfgroup mailing list
>> netcdfgroup@xxxxxxxxxxxxxxxx
>> For list information or to unsubscribe,  visit:
>> http://www.unidata.ucar.edu/mailing_lists/
>>
>
>


-- 
Cordially,
Hongyan
鸿雁
  • 2010 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: