IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Shell et commandes GNU Discussion :

alias non pris en compte ?


Sujet :

Shell et commandes GNU

Vue hybride

Message précédent Message précédent   Message suivant Message suivant
  1. #1
    Membre du Club
    Profil pro
    Inscrit en
    Avril 2009
    Messages
    6
    Détails du profil
    Informations personnelles :
    Localisation : Canada

    Informations forums :
    Inscription : Avril 2009
    Messages : 6
    Par défaut alias non pris en compte ?
    Bonjour a tous.

    J'ai un petit problème d'alias j'ai l'impression.

    Je bosse sous SUZE. J'essaye de me servir d'autoconf et je galère pas mal. Mon gros soucis actuellement, c'est que j'ai créé un alias "g77 -> /usr/bin/gfortan"

    L'alias est bien pris en compte puisqu'il me le sort dans la liste des alias, et il y a bien gfortran à l'emplacement indiqué.

    Cependant quand je lance mon "./configure" voila ce que j'obtiens :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    ./configure
    checking whether to enable maintainer-specific portions of Makefiles... no
    checking build system type... i686-pc-linux-gnu
    checking host system type... i686-pc-linux-gnu
    checking target system type... i686-pc-linux-gnu
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking whether we are using MPI... no
    TARGET i686-pc-linux-gnu
    COMPILERS i686-pc-linux-gnu
    checking for cc... cc
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables...
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether cc accepts -g... yes
    checking for cc option to accept ANSI C... none needed
    checking for style of include used by make... GNU
    checking dependency style of cc... gcc3
    checking for CC... no
    checking for cxx... no
    checking for xlC... no
    checking for c++... c++
    checking whether we are using the GNU C++ compiler... yes
    checking whether c++ accepts -g... yes
    checking dependency style of c++... gcc3
    checking how to run the C++ preprocessor... c++ -E
    checking for f77... no
    checking for g77... no
    checking for f90... no
    checking for xlf90... no
    checking for ifort... no
    checking whether we are using the GNU Fortran 77 compiler... no
    checking whether  accepts -g... no
    checking for ranlib... ranlib
    checking the C++ compiler vendor... gnu
    checking for C++ flags... -g -O2
    checking for F77 flags...
    checking for extra C++ compiler flags... none
    checking for extra preprocessor flags... none
    checking for extra linker flags... none
    checking for extra library flags... none
    checking for special archiver command... none
    checking for egrep... grep -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking iostream usability... yes
    checking iostream presence... yes
    checking for iostream... yes
    checking iomanip usability... yes
    checking iomanip presence... yes
    checking for iomanip... yes
    checking cmath usability... yes
    checking cmath presence... yes
    checking for cmath... yes
    checking cstdlib usability... yes
    checking cstdlib presence... yes
    checking for cstdlib... yes
    checking whether "using std::ostream" is okay... yes
    checking whether "using namespace std" is required... yes
    checking for library containing pow... none required
    checking for library containing sqrt... none required
    checking how to get verbose linking output from ... configure: WARNING: compilation failed
     
    checking for Fortran libraries of ...
    checking for dummy main to link with Fortran libraries... none
    checking for Fortran name-mangling scheme... configure: error: cannot compile a simple Fortran program
    See `config.log' for more details.
    Et voila ce que me donne le config.log :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    224
    225
    226
    227
    228
    229
    230
    231
    232
    233
    234
    235
    236
    237
    238
    239
    240
    241
    242
    243
    244
    245
    246
    247
    248
    249
    250
    251
    252
    253
    254
    255
    256
    257
    258
    259
    260
    261
    262
    263
    264
    265
    266
    267
    268
    269
    270
    271
    272
    273
    274
    275
    276
    277
    278
    279
    280
    281
    282
    283
    284
    285
    286
    287
    288
    289
    290
    291
    292
    293
    294
    295
    296
    297
    298
    299
    300
    301
    302
    303
    304
    305
    306
    307
    308
    309
    310
    311
    312
    313
    314
    315
    316
    317
    318
    319
    320
    321
    322
    323
    324
    325
    326
    327
    328
    329
    330
    331
    332
    333
    334
    335
    336
    337
    338
    339
    340
    341
    342
    343
    344
    345
    346
    347
    348
    349
    350
    351
    352
    353
    354
    355
    356
    357
    358
    359
    360
    361
    362
    363
    364
    365
    366
    367
    368
    369
    370
    371
    372
    373
    374
    375
    376
    377
    378
    379
    380
    381
    382
    383
    384
    385
    386
    387
    388
    389
    390
    391
    392
    393
    394
    395
    396
    397
    398
    399
    400
    401
    402
    403
    404
    405
    406
    407
    408
    409
    410
    411
    412
    413
    414
    415
    416
    417
    418
    419
    420
    421
    422
    423
    424
    425
    426
    427
    428
    429
    430
    431
    432
    433
    434
    435
    436
    437
    438
    439
    440
    441
    442
    443
    444
    445
    446
    447
    448
    449
    450
    451
    452
    453
    454
    455
    456
    457
    458
    459
    460
    461
    462
    463
    464
    465
    466
    467
    468
    469
    470
    471
    472
    473
    474
    475
    476
    477
    478
    479
    480
    481
    482
    483
    484
    485
    486
    487
    488
    489
    490
    491
    492
    493
    494
    495
    496
    497
    498
    499
    500
    501
    502
    503
    504
    505
    506
    507
    508
    509
    510
    511
    512
    513
    514
    515
    516
    517
    518
    519
    520
    521
    522
    523
    524
    525
    526
    527
    528
    529
    530
    531
    532
    533
    534
    535
    536
    537
    538
    539
    540
    541
    542
    543
    544
    545
    546
    547
    548
    549
    550
    551
    552
    553
    554
    555
    556
    557
    558
    559
    560
    561
    562
    563
    564
    565
    566
    567
    568
    569
    570
    571
    572
    573
    574
    575
    576
    577
    578
    579
    580
    581
    582
    583
    584
    585
    586
    587
    588
    589
    590
    591
    592
    593
    594
    595
    596
    597
    598
    599
    600
    601
    602
    603
    604
    605
    606
    607
    608
    609
    610
    611
    612
    613
    614
    615
    616
    617
    618
    619
    620
    621
    622
    623
    624
    625
    626
    627
    628
    629
    630
    631
    632
    633
    634
    635
    636
    637
    638
    639
    640
    641
    642
    643
    644
    645
    646
    647
    648
    649
    650
    651
    652
    653
    654
    655
    656
    657
    658
    659
    660
    661
    662
    663
    664
    665
    666
    667
    668
    669
    670
    671
    672
    673
    674
    675
    676
    677
    678
    679
    680
    681
    682
    683
    684
    685
    686
    687
    688
    689
    690
    691
    692
    693
    694
    695
    696
    697
    698
    699
    700
    701
    702
    703
    704
    705
    706
    707
    708
    709
    710
    711
    712
    713
    714
    715
    716
    717
    718
    719
    720
    721
    722
    723
    724
    725
    726
    727
    728
    729
    730
    731
    732
    733
    734
    735
    736
    737
    738
    739
    740
    741
    742
    743
    744
    745
    746
    747
    748
    749
    750
    751
    752
    753
    754
    755
    756
    757
    758
    759
    760
    761
    762
    763
    764
    765
    766
    767
    768
    769
    770
    771
    772
    773
    774
    775
    776
    777
    778
    779
    780
    781
    782
    783
    784
    785
    786
    787
    788
    789
    790
    791
    792
    793
    794
    795
    796
    797
    798
    799
    800
    801
    802
    803
    804
    805
    806
    807
    808
    809
    810
    811
    812
    813
    814
    815
    816
    817
    818
    819
    820
    821
    822
     
    configure:1412: checking whether to enable maintainer-specific portions of Makefiles
    configure:1421: result: no
    configure:1445: checking build system type
    configure:1463: result: i686-pc-linux-gnu
    configure:1471: checking host system type
    configure:1485: result: i686-pc-linux-gnu
    configure:1493: checking target system type
    configure:1507: result: i686-pc-linux-gnu
    configure:1539: checking for a BSD-compatible install
    configure:1594: result: /usr/bin/install -c
    configure:1605: checking whether build environment is sane
    configure:1648: result: yes
    configure:1713: checking for gawk
    configure:1729: found /usr/bin/gawk
    configure:1739: result: gawk
    configure:1749: checking whether make sets $(MAKE)
    configure:1769: result: yes
    configure:2224: checking whether we are using MPI
    configure:2226: result: no
    configure:2472: checking for cc
    configure:2488: found /usr/bin/cc
    configure:2498: result: cc
    configure:2519: checking for C compiler version
    configure:2522: cc --version </dev/null >&5
     
    configure:2525: $? = 0
    configure:2527: cc -v </dev/null >&5
     
    configure:2530: $? = 0
    configure:2532: cc -V </dev/null >&5
    cc: '-V' option must have argument
    configure:2535: $? = 1
    configure:2558: checking for C compiler default output file name
    configure:2561: cc    conftest.c  >&5
    configure:2564: $? = 0
    configure:2610: result: a.out
    configure:2615: checking whether the C compiler works
    configure:2621: ./a.out
    configure:2624: $? = 0
    configure:2641: result: yes
    configure:2648: checking whether we are cross compiling
    configure:2650: result: no
    configure:2653: checking for suffix of executables
    configure:2655: cc -o conftest    conftest.c  >&5
    configure:2658: $? = 0
    configure:2683: result: 
    configure:2689: checking for suffix of object files
    configure:2710: cc -c   conftest.c >&5
    configure:2713: $? = 0
    configure:2735: result: o
    configure:2739: checking whether we are using the GNU C compiler
    configure:2763: cc -c   conftest.c >&5
    configure:2769: $? = 0
    configure:2773: test -z 
    			 || test ! -s conftest.err
    configure:2776: $? = 0
    configure:2779: test -s conftest.o
    configure:2782: $? = 0
    configure:2795: result: yes
    configure:2801: checking whether cc accepts -g
    configure:2822: cc -c -g  conftest.c >&5
    configure:2828: $? = 0
    configure:2832: test -z 
    			 || test ! -s conftest.err
    configure:2835: $? = 0
    configure:2838: test -s conftest.o
    configure:2841: $? = 0
    configure:2852: result: yes
    configure:2869: checking for cc option to accept ANSI C
    configure:2939: cc  -c -g -O2  conftest.c >&5
    configure:2945: $? = 0
    configure:2949: test -z 
    			 || test ! -s conftest.err
    configure:2952: $? = 0
    configure:2955: test -s conftest.o
    configure:2958: $? = 0
    configure:2976: result: none needed
    configure:2994: cc -c -g -O2  conftest.c >&5
    conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'me'
    configure:3000: $? = 1
    configure: failed program was:
    | #ifndef __cplusplus
    |   choke me
    | #endif
    configure:3144: checking for style of include used by make
    configure:3172: result: GNU
    configure:3200: checking dependency style of cc
    configure:3290: result: gcc3
    configure:3359: checking for CC
    configure:3388: result: no
    configure:3359: checking for cxx
    configure:3388: result: no
    configure:3359: checking for xlC
    configure:3388: result: no
    configure:3359: checking for c++
    configure:3375: found /usr/bin/c++
    configure:3385: result: c++
    configure:3401: checking for C++ compiler version
    configure:3404: c++ --version </dev/null >&5
     
    configure:3407: $? = 0
    configure:3409: c++ -v </dev/null >&5
     
    configure:3412: $? = 0
    configure:3414: c++ -V </dev/null >&5
    c++: '-V' option must have argument
    configure:3417: $? = 1
    configure:3420: checking whether we are using the GNU C++ compiler
    configure:3444: c++ -c   conftest.cc >&5
    configure:3450: $? = 0
    configure:3454: test -z 
    			 || test ! -s conftest.err
    configure:3457: $? = 0
    configure:3460: test -s conftest.o
    configure:3463: $? = 0
    configure:3476: result: yes
    configure:3482: checking whether c++ accepts -g
    configure:3503: c++ -c -g  conftest.cc >&5
    configure:3509: $? = 0
    configure:3513: test -z 
    			 || test ! -s conftest.err
    configure:3516: $? = 0
    configure:3519: test -s conftest.o
    configure:3522: $? = 0
    configure:3533: result: yes
    configure:3575: c++ -c -g -O2  conftest.cc >&5
    configure:3581: $? = 0
    configure:3585: test -z 
    			 || test ! -s conftest.err
    configure:3588: $? = 0
    configure:3591: test -s conftest.o
    configure:3594: $? = 0
    configure:3620: c++ -c -g -O2  conftest.cc >&5
    conftest.cc: In function 'int main()':
    conftest.cc:15: error: 'exit' was not declared in this scope
    configure:3626: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */
    | 
    | #define PACKAGE_NAME "appspack"
    | #define PACKAGE_TARNAME "appspack"
    | #define PACKAGE_VERSION "5.0.1"
    | #define PACKAGE_STRING "appspack 5.0.1"
    | #define PACKAGE_BUGREPORT "appspack-developers@software.sandia.gov"
    | #define PACKAGE "appspack"
    | #define VERSION "5.0.1"
    | /* end confdefs.h.  */
    | 
    | int
    | main ()
    | {
    | exit (42);
    |   ;
    |   return 0;
    | }
    configure:3575: c++ -c -g -O2  conftest.cc >&5
    conftest.cc:11: error: 'void std::exit(int)' should have been declared inside 'std'
    configure:3581: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */
    | 
    | #define PACKAGE_NAME "appspack"
    | #define PACKAGE_TARNAME "appspack"
    | #define PACKAGE_VERSION "5.0.1"
    | #define PACKAGE_STRING "appspack 5.0.1"
    | #define PACKAGE_BUGREPORT "appspack-developers@software.sandia.gov"
    | #define PACKAGE "appspack"
    | #define VERSION "5.0.1"
    | /* end confdefs.h.  */
    | extern "C" void std::exit (int) throw (); using std::exit;
    | #include <stdlib.h>
    | int
    | main ()
    | {
    | exit (42);
    |   ;
    |   return 0;
    | }
    configure:3575: c++ -c -g -O2  conftest.cc >&5
    conftest.cc:11: error: 'void std::exit(int)' should have been declared inside 'std'
    In file included from conftest.cc:12:
    /usr/include/stdlib.h:531: error: declaration of 'void std::exit(int) throw ()' throws different exceptions
    conftest.cc:11: error: from previous declaration 'void std::exit(int)'
    configure:3581: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */
    | 
    | #define PACKAGE_NAME "appspack"
    | #define PACKAGE_TARNAME "appspack"
    | #define PACKAGE_VERSION "5.0.1"
    | #define PACKAGE_STRING "appspack 5.0.1"
    | #define PACKAGE_BUGREPORT "appspack-developers@software.sandia.gov"
    | #define PACKAGE "appspack"
    | #define VERSION "5.0.1"
    | /* end confdefs.h.  */
    | extern "C" void std::exit (int); using std::exit;
    | #include <stdlib.h>
    | int
    | main ()
    | {
    | exit (42);
    |   ;
    |   return 0;
    | }
    configure:3575: c++ -c -g -O2  conftest.cc >&5
    configure:3581: $? = 0
    configure:3585: test -z 
    			 || test ! -s conftest.err
    configure:3588: $? = 0
    configure:3591: test -s conftest.o
    configure:3594: $? = 0
    configure:3620: c++ -c -g -O2  conftest.cc >&5
    configure:3626: $? = 0
    configure:3630: test -z 
    			 || test ! -s conftest.err
    configure:3633: $? = 0
    configure:3636: test -s conftest.o
    configure:3639: $? = 0
    configure:3664: checking dependency style of c++
    configure:3754: result: gcc3
    configure:3777: checking how to run the C++ preprocessor
    configure:3808: c++ -E  conftest.cc
    configure:3814: $? = 0
    configure:3846: c++ -E  conftest.cc
    conftest.cc:14:28: error: ac_nonexistent.h: No such file or directory
    configure:3852: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */
    | 
    | #define PACKAGE_NAME "appspack"
    | #define PACKAGE_TARNAME "appspack"
    | #define PACKAGE_VERSION "5.0.1"
    | #define PACKAGE_STRING "appspack 5.0.1"
    | #define PACKAGE_BUGREPORT "appspack-developers@software.sandia.gov"
    | #define PACKAGE "appspack"
    | #define VERSION "5.0.1"
    | #ifdef __cplusplus
    | extern "C" void exit (int) throw ();
    | #endif
    | /* end confdefs.h.  */
    | #include <ac_nonexistent.h>
    configure:3891: result: c++ -E
    configure:3915: c++ -E  conftest.cc
    configure:3921: $? = 0
    configure:3953: c++ -E  conftest.cc
    conftest.cc:14:28: error: ac_nonexistent.h: No such file or directory
    configure:3959: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */
    | 
    | #define PACKAGE_NAME "appspack"
    | #define PACKAGE_TARNAME "appspack"
    | #define PACKAGE_VERSION "5.0.1"
    | #define PACKAGE_STRING "appspack 5.0.1"
    | #define PACKAGE_BUGREPORT "appspack-developers@software.sandia.gov"
    | #define PACKAGE "appspack"
    | #define VERSION "5.0.1"
    | #ifdef __cplusplus
    | extern "C" void exit (int) throw ();
    | #endif
    | /* end confdefs.h.  */
    | #include <ac_nonexistent.h>
    configure:4053: checking for f77
    configure:4082: result: no
    configure:4053: checking for g77
    configure:4082: result: no
    configure:4053: checking for f90
    configure:4082: result: no
    configure:4053: checking for xlf90
    configure:4082: result: no
    configure:4053: checking for ifort
    configure:4082: result: no
    configure:4094: checking for Fortran 77 compiler version
    configure:4097:  --version </dev/null >&5
    ./configure: line 4098: --version: command not found
    configure:4100: $? = 127
    configure:4102:  -v </dev/null >&5
    ./configure: line 4103: -v: command not found
    configure:4105: $? = 127
    configure:4107:  -V </dev/null >&5
    ./configure: line 4108: -V: command not found
    configure:4110: $? = 127
    configure:4118: checking whether we are using the GNU Fortran 77 compiler
    configure:4132:  -c  conftest.F >&5
    ./configure: line 4133: -c: command not found
    configure:4138: $? = 127
    configure: failed program was:
    |       program main
    | #ifndef __GNUC__
    |        choke me
    | #endif
    | 
    |       end
    configure:4164: result: no
    configure:4170: checking whether  accepts -g
    configure:4182:  -c -g conftest.f >&5
    ./configure: line 4183: -c: command not found
    configure:4188: $? = 127
    configure: failed program was:
    |       program main
    | 
    |       end
    configure:4213: result: no
    configure:4279: checking for ranlib
    configure:4295: found /usr/bin/ranlib
    configure:4306: result: ranlib
    configure:4322: checking the C++ compiler vendor
    configure:4343: c++ -c -g -O2  conftest.cc >&5
    configure:4349: $? = 0
    configure:4353: test -z 
    			 || test ! -s conftest.err
    configure:4356: $? = 0
    configure:4359: test -s conftest.o
    configure:4362: $? = 0
    configure:4540: result: gnu
    configure:4610: checking for C++ flags
    configure:4624: result: -g -O2 
    configure:4635: checking for F77 flags
    configure:4649: result:  
    configure:4658: checking for extra C++ compiler flags
    configure:4661: result: none
    configure:4669: checking for extra preprocessor flags
    configure:4672: result: none
    configure:4680: checking for extra linker flags
    configure:4683: result: none
    configure:4691: checking for extra library flags
    configure:4694: result: none
    configure:4722: checking for special archiver command
    configure:4738: result: none
    configure:4868: checking for egrep
    configure:4878: result: grep -E
    configure:4883: checking for ANSI C header files
    configure:4908: c++ -c -g -O2   conftest.cc >&5
    configure:4914: $? = 0
    configure:4918: test -z 
    			 || test ! -s conftest.err
    configure:4921: $? = 0
    configure:4924: test -s conftest.o
    configure:4927: $? = 0
    configure:5016: c++ -o conftest -g -O2    conftest.cc  >&5
    configure:5019: $? = 0
    configure:5021: ./conftest
    configure:5024: $? = 0
    configure:5039: result: yes
    configure:5063: checking for sys/types.h
    configure:5079: c++ -c -g -O2   conftest.cc >&5
    configure:5085: $? = 0
    configure:5089: test -z 
    			 || test ! -s conftest.err
    configure:5092: $? = 0
    configure:5095: test -s conftest.o
    configure:5098: $? = 0
    configure:5109: result: yes
    configure:5063: checking for sys/stat.h
    configure:5079: c++ -c -g -O2   conftest.cc >&5
    configure:5085: $? = 0
    configure:5089: test -z 
    			 || test ! -s conftest.err
    configure:5092: $? = 0
    configure:5095: test -s conftest.o
    configure:5098: $? = 0
    configure:5109: result: yes
    configure:5063: checking for stdlib.h
    configure:5079: c++ -c -g -O2   conftest.cc >&5
    configure:5085: $? = 0
    configure:5089: test -z 
    			 || test ! -s conftest.err
    configure:5092: $? = 0
    configure:5095: test -s conftest.o
    configure:5098: $? = 0
    configure:5109: result: yes
    configure:5063: checking for string.h
    configure:5079: c++ -c -g -O2   conftest.cc >&5
    configure:5085: $? = 0
    configure:5089: test -z 
    			 || test ! -s conftest.err
    configure:5092: $? = 0
    configure:5095: test -s conftest.o
    configure:5098: $? = 0
    configure:5109: result: yes
    configure:5063: checking for memory.h
    configure:5079: c++ -c -g -O2   conftest.cc >&5
    configure:5085: $? = 0
    configure:5089: test -z 
    			 || test ! -s conftest.err
    configure:5092: $? = 0
    configure:5095: test -s conftest.o
    configure:5098: $? = 0
    configure:5109: result: yes
    configure:5063: checking for strings.h
    configure:5079: c++ -c -g -O2   conftest.cc >&5
    configure:5085: $? = 0
    configure:5089: test -z 
    			 || test ! -s conftest.err
    configure:5092: $? = 0
    configure:5095: test -s conftest.o
    configure:5098: $? = 0
    configure:5109: result: yes
    configure:5063: checking for inttypes.h
    configure:5079: c++ -c -g -O2   conftest.cc >&5
    configure:5085: $? = 0
    configure:5089: test -z 
    			 || test ! -s conftest.err
    configure:5092: $? = 0
    configure:5095: test -s conftest.o
    configure:5098: $? = 0
    configure:5109: result: yes
    configure:5063: checking for stdint.h
    configure:5079: c++ -c -g -O2   conftest.cc >&5
    configure:5085: $? = 0
    configure:5089: test -z 
    			 || test ! -s conftest.err
    configure:5092: $? = 0
    configure:5095: test -s conftest.o
    configure:5098: $? = 0
    configure:5109: result: yes
    configure:5063: checking for unistd.h
    configure:5079: c++ -c -g -O2   conftest.cc >&5
    configure:5085: $? = 0
    configure:5089: test -z 
    			 || test ! -s conftest.err
    configure:5092: $? = 0
    configure:5095: test -s conftest.o
    configure:5098: $? = 0
    configure:5109: result: yes
    configure:5136: checking iostream usability
    configure:5148: c++ -c -g -O2   conftest.cc >&5
    configure:5154: $? = 0
    configure:5158: test -z 
    			 || test ! -s conftest.err
    configure:5161: $? = 0
    configure:5164: test -s conftest.o
    configure:5167: $? = 0
    configure:5177: result: yes
    configure:5181: checking iostream presence
    configure:5191: c++ -E  conftest.cc
    configure:5197: $? = 0
    configure:5217: result: yes
    configure:5252: checking for iostream
    configure:5259: result: yes
    configure:5298: checking iomanip usability
    configure:5310: c++ -c -g -O2   conftest.cc >&5
    configure:5316: $? = 0
    configure:5320: test -z 
    			 || test ! -s conftest.err
    configure:5323: $? = 0
    configure:5326: test -s conftest.o
    configure:5329: $? = 0
    configure:5339: result: yes
    configure:5343: checking iomanip presence
    configure:5353: c++ -E  conftest.cc
    configure:5359: $? = 0
    configure:5379: result: yes
    configure:5414: checking for iomanip
    configure:5421: result: yes
    configure:5460: checking cmath usability
    configure:5472: c++ -c -g -O2   conftest.cc >&5
    configure:5478: $? = 0
    configure:5482: test -z 
    			 || test ! -s conftest.err
    configure:5485: $? = 0
    configure:5488: test -s conftest.o
    configure:5491: $? = 0
    configure:5501: result: yes
    configure:5505: checking cmath presence
    configure:5515: c++ -E  conftest.cc
    configure:5521: $? = 0
    configure:5541: result: yes
    configure:5576: checking for cmath
    configure:5583: result: yes
    configure:5622: checking cstdlib usability
    configure:5634: c++ -c -g -O2   conftest.cc >&5
    configure:5640: $? = 0
    configure:5644: test -z 
    			 || test ! -s conftest.err
    configure:5647: $? = 0
    configure:5650: test -s conftest.o
    configure:5653: $? = 0
    configure:5663: result: yes
    configure:5667: checking cstdlib presence
    configure:5677: c++ -E  conftest.cc
    configure:5683: $? = 0
    configure:5703: result: yes
    configure:5738: checking for cstdlib
    configure:5745: result: yes
    configure:5769: checking whether "using std::ostream" is okay
    configure:5795: c++ -c -g -O2   conftest.cc >&5
    configure:5801: $? = 0
    configure:5805: test -z 
    			 || test ! -s conftest.err
    configure:5808: $? = 0
    configure:5811: test -s conftest.o
    configure:5814: $? = 0
    configure:5816: result: yes
    configure:5845: checking whether "using namespace std" is required
    configure:5863: c++ -c -g -O2   conftest.cc >&5
    conftest.cc: In function 'int main()':
    conftest.cc:32: error: 'string' was not declared in this scope
    conftest.cc:32: error: expected `;' before 'a'
    configure:5869: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */
    | 
    | #define PACKAGE_NAME "appspack"
    | #define PACKAGE_TARNAME "appspack"
    | #define PACKAGE_VERSION "5.0.1"
    | #define PACKAGE_STRING "appspack 5.0.1"
    | #define PACKAGE_BUGREPORT "appspack-developers@software.sandia.gov"
    | #define PACKAGE "appspack"
    | #define VERSION "5.0.1"
    | #ifdef __cplusplus
    | extern "C" void exit (int) throw ();
    | #endif
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_IOSTREAM 1
    | #define HAVE_IOMANIP 1
    | #define HAVE_CMATH 1
    | #define HAVE_CSTDLIB 1
    | /* end confdefs.h.  */
    | #include<string>
    | int
    | main ()
    | {
    | string a;
    |   ;
    |   return 0;
    | }
    configure:5891: result: yes
    configure:5909: checking for library containing pow
    configure:5939: c++ -o conftest -g -O2    conftest.cc  >&5
    configure:5945: $? = 0
    configure:5949: test -z 
    			 || test ! -s conftest.err
    configure:5952: $? = 0
    configure:5955: test -s conftest
    configure:5958: $? = 0
    configure:6028: result: none required
    configure:6039: checking for library containing sqrt
    configure:6069: c++ -o conftest -g -O2    conftest.cc  >&5
    configure:6075: $? = 0
    configure:6079: test -z 
    			 || test ! -s conftest.err
    configure:6082: $? = 0
    configure:6085: test -s conftest
    configure:6088: $? = 0
    configure:6158: result: none required
    configure:6176: checking how to get verbose linking output from 
    configure:6187:  -c   conftest.f >&5
    ./configure: line 6188: -c: command not found
    configure:6193: $? = 127
    configure: failed program was:
    |       program main
    | 
    |       end
    configure:6272: WARNING: compilation failed
    configure:6278: result: 
    configure:6280: checking for Fortran libraries of 
    configure:6301:  -o conftest     conftest.f  >&5
    ./configure: line 6302: -o: command not found
    configure:6462: result: 
    configure:6481: checking for dummy main to link with Fortran libraries
    configure:6520: cc -o conftest -g -O2   conftest.c     >&5
    configure:6526: $? = 0
    configure:6530: test -z 
    			 || test ! -s conftest.err
    configure:6533: $? = 0
    configure:6536: test -s conftest
    configure:6539: $? = 0
    configure:6617: result: none
    configure:6654: checking for Fortran name-mangling scheme
    configure:6668:  -c   conftest.f >&5
    ./configure: line 6669: -c: command not found
    configure:6674: $? = 127
    configure: failed program was:
    |       subroutine foobar()
    |       return
    |       end
    |       subroutine foo_bar()
    |       return
    |       end
    configure:6882: error: cannot compile a simple Fortran program
    See `config.log' for more details.
     
    ## ---------------- ##
    ## Cache variables. ##
    ## ---------------- ##
     
    ac_cv_build=i686-pc-linux-gnu
    ac_cv_build_alias=i686-pc-linux-gnu
    ac_cv_c_compiler_gnu=yes
    ac_cv_cxx_compiler_gnu=yes
    ac_cv_cxx_compiler_vendor=gnu
    ac_cv_env_CC_set=
    ac_cv_env_CC_value=
    ac_cv_env_CFLAGS_set=
    ac_cv_env_CFLAGS_value=
    ac_cv_env_CPPFLAGS_set=
    ac_cv_env_CPPFLAGS_value=
    ac_cv_env_CXXCPP_set=
    ac_cv_env_CXXCPP_value=
    ac_cv_env_CXXFLAGS_set=
    ac_cv_env_CXXFLAGS_value=
    ac_cv_env_CXX_set=
    ac_cv_env_CXX_value=
    ac_cv_env_F77_set=
    ac_cv_env_F77_value=
    ac_cv_env_FFLAGS_set=
    ac_cv_env_FFLAGS_value=
    ac_cv_env_LDFLAGS_set=
    ac_cv_env_LDFLAGS_value=
    ac_cv_env_build_alias_set=
    ac_cv_env_build_alias_value=
    ac_cv_env_host_alias_set=
    ac_cv_env_host_alias_value=
    ac_cv_env_target_alias_set=
    ac_cv_env_target_alias_value=
    ac_cv_exeext=
    ac_cv_f77_compiler_gnu=no
    ac_cv_f77_dummy_main=none
    ac_cv_f77_libs=
    ac_cv_fortran_dummy_main=none
    ac_cv_header_cmath=yes
    ac_cv_header_cstdlib=yes
    ac_cv_header_inttypes_h=yes
    ac_cv_header_iomanip=yes
    ac_cv_header_iostream=yes
    ac_cv_header_memory_h=yes
    ac_cv_header_stdc=yes
    ac_cv_header_stdint_h=yes
    ac_cv_header_stdlib_h=yes
    ac_cv_header_string_h=yes
    ac_cv_header_strings_h=yes
    ac_cv_header_sys_stat_h=yes
    ac_cv_header_sys_types_h=yes
    ac_cv_header_unistd_h=yes
    ac_cv_host=i686-pc-linux-gnu
    ac_cv_host_alias=i686-pc-linux-gnu
    ac_cv_objext=o
    ac_cv_path_install='/usr/bin/install -c'
    ac_cv_prog_AWK=gawk
    ac_cv_prog_CXXCPP='c++ -E'
    ac_cv_prog_ac_ct_CC=cc
    ac_cv_prog_ac_ct_CXX=c++
    ac_cv_prog_ac_ct_RANLIB=ranlib
    ac_cv_prog_cc_g=yes
    ac_cv_prog_cc_stdc=
    ac_cv_prog_cxx_g=yes
    ac_cv_prog_egrep='grep -E'
    ac_cv_prog_f77_g=no
    ac_cv_prog_make_make_set=yes
    ac_cv_search_pow='none required'
    ac_cv_search_sqrt='none required'
    ac_cv_target=i686-pc-linux-gnu
    ac_cv_target_alias=i686-pc-linux-gnu
    am_cv_CC_dependencies_compiler_type=gcc3
    am_cv_CXX_dependencies_compiler_type=gcc3
     
    ## ----------------- ##
    ## Output variables. ##
    ## ----------------- ##
     
    ACLOCAL='${SHELL} /home/quentin/objectif/appspack/config/missing --run aclocal-1.9'
    ALTERNATE_AR=''
    AMDEPBACKSLASH='\'
    AMDEP_FALSE='#'
    AMDEP_TRUE=''
    AMTAR='${SHELL} /home/quentin/objectif/appspack/config/missing --run tar'
    AUTOCONF='${SHELL} /home/quentin/objectif/appspack/config/missing --run autoconf'
    AUTOHEADER='${SHELL} /home/quentin/objectif/appspack/config/missing --run autoheader'
    AUTOMAKE='${SHELL} /home/quentin/objectif/appspack/config/missing --run automake-1.9'
    AWK='gawk'
    BLAS_LIBS=''
    BUILD_CDDLIB_FALSE=''
    BUILD_CDDLIB_TRUE='#'
    BUILD_EXECUTABLES_FALSE='#'
    BUILD_EXECUTABLES_TRUE=''
    BUILD_MPI_FALSE=''
    BUILD_MPI_TRUE='#'
    BUILD_SERIAL_FALSE='#'
    BUILD_SERIAL_TRUE=''
    CC='cc'
    CCDEPMODE='depmode=gcc3'
    CFLAGS='-g -O2'
    CPPFLAGS=''
    CXX='c++'
    CXXCPP='c++ -E'
    CXXDEPMODE='depmode=gcc3'
    CXXFLAGS='-g -O2 '
    CXXREPOS=''
    CYGPATH_W='echo'
    DEFS=''
    DEPDIR='.deps'
    ECHO_C=''
    ECHO_N='-n'
    ECHO_T=''
    EGREP='grep -E'
    EXEEXT=''
    F77=''
    FFLAGS=' '
    FLIBS=''
    INSTALL_DATA='${INSTALL} -m 644'
    INSTALL_PROGRAM='${INSTALL}'
    INSTALL_SCRIPT='${INSTALL}'
    INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
    I_AM_SUBPACKAGE_FALSE=''
    I_AM_SUBPACKAGE_TRUE=''
    LAPACK_LIBS=''
    LDFLAGS=''
    LIBOBJS=''
    LIBS='  '
    LTLIBOBJS=''
    MAINT='#'
    MAINTAINER_MODE_FALSE=''
    MAINTAINER_MODE_TRUE='#'
    MAKEINFO='${SHELL} /home/quentin/objectif/appspack/config/missing --run makeinfo'
    MPI_CC_EXISTS=''
    MPI_CXX=''
    MPI_CXX_EXISTS=''
    MPI_F77_EXISTS=''
    OBJEXT='o'
    PACKAGE='appspack'
    PACKAGE_BUGREPORT='appspack-developers@software.sandia.gov'
    PACKAGE_NAME='appspack'
    PACKAGE_STRING='appspack 5.0.1'
    PACKAGE_TARNAME='appspack'
    PACKAGE_VERSION='5.0.1'
    PATH_SEPARATOR=':'
    RANLIB='ranlib'
    SET_MAKE=''
    SHELL='/bin/sh'
    STRIP=''
    USE_ALTERNATE_AR_FALSE=''
    USE_ALTERNATE_AR_TRUE='#'
    VERSION='5.0.1'
    ac_ct_CC='cc'
    ac_ct_CXX='c++'
    ac_ct_F77=''
    ac_ct_RANLIB='ranlib'
    ac_ct_STRIP=''
    am__fastdepCC_FALSE='#'
    am__fastdepCC_TRUE=''
    am__fastdepCXX_FALSE='#'
    am__fastdepCXX_TRUE=''
    am__include='include'
    am__leading_dot='.'
    am__quote=''
    am__tar='${AMTAR} chof - "$$tardir"'
    am__untar='${AMTAR} xf -'
    bindir='${exec_prefix}/bin'
    build='i686-pc-linux-gnu'
    build_alias=''
    build_cpu='i686'
    build_os='linux-gnu'
    build_vendor='pc'
    datadir='${prefix}/share'
    exec_prefix='NONE'
    host='i686-pc-linux-gnu'
    host_alias=''
    host_cpu='i686'
    host_os='linux-gnu'
    host_vendor='pc'
    includedir='${prefix}/include'
    infodir='${prefix}/info'
    install_sh='/home/quentin/objectif/appspack/config/install-sh'
    libdir='${exec_prefix}/lib'
    libexecdir='${exec_prefix}/libexec'
    localstatedir='${prefix}/var'
    mandir='${prefix}/man'
    mkdir_p='mkdir -p --'
    oldincludedir='/usr/include'
    prefix='NONE'
    program_transform_name='s,x,x,'
    sbindir='${exec_prefix}/sbin'
    sharedstatedir='${prefix}/com'
    sysconfdir='${prefix}/etc'
    target='i686-pc-linux-gnu'
    target_alias=''
    target_cpu='i686'
    target_os='linux-gnu'
    target_vendor='pc'
     
    ## ----------- ##
    ## confdefs.h. ##
    ## ----------- ##
     
    #define HAVE_CMATH 1
    #define HAVE_CSTDLIB 1
    #define HAVE_INTTYPES_H 1
    #define HAVE_IOMANIP 1
    #define HAVE_IOSTREAM 1
    #define HAVE_MEMORY_H 1
    #define HAVE_STDINT_H 1
    #define HAVE_STDLIB_H 1
    #define HAVE_STRINGS_H 1
    #define HAVE_STRING_H 1
    #define HAVE_SYS_STAT_H 1
    #define HAVE_SYS_TYPES_H 1
    #define HAVE_UNISTD_H 1
    #define PACKAGE "appspack"
    #define PACKAGE_BUGREPORT "appspack-developers@software.sandia.gov"
    #define PACKAGE_NAME "appspack"
    #define PACKAGE_STRING "appspack 5.0.1"
    #define PACKAGE_TARNAME "appspack"
    #define PACKAGE_VERSION "5.0.1"
    #define REQUIRE_USING_NAMESPACE_STD
    #define STDC_HEADERS 1
    #define VERSION "5.0.1"
    #endif
    #ifdef __cplusplus
    extern "C" void exit (int) throw ();
     
    configure: exit 1
    Je bloque la...

    Toute aide est la bienvenue !

    Merci d'avance

    PS : précision, dans mon .cshrc j'ai créé l'alias :
    alias g77 '/usr/bin/gfortran'

    pourtant quand je ferme le shell dans lequel j'ai créé l'alias (commande alias) il n'existe plus...

  2. #2
    Membre émérite
    Avatar de matrix788
    Profil pro
    Inscrit en
    Juin 2002
    Messages
    740
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Juin 2002
    Messages : 740
    Billets dans le blog
    2
    Par défaut
    salut,

    bien déjà il te manque le "=" : g77='/usr/bin/gfortran'

    ensuite comment utilises-tu cet alias ? car je pensais, aux dernières nouvelles, que les alias servaient pour des raccourcis commande, non pour déclarer des fichiers...


    faire g77="/usr/bin/gfortran", et donner en argument "$g77" dans ta commande n'est-il pas mieux ?

  3. #3
    Membre du Club
    Profil pro
    Inscrit en
    Avril 2009
    Messages
    6
    Détails du profil
    Informations personnelles :
    Localisation : Canada

    Informations forums :
    Inscription : Avril 2009
    Messages : 6
    Par défaut
    Le problème est que je ne tape pas de commande...

    C'est le logiciel que j'utilise qui recherche quel compilateur fortran est installé...

    Et du coup il essaye un tas de compilo, et quand il essaye g77 il ne le trouve pas. Et comme il teste pas gfortran, il ne me détecte aucun compilo fortran...

    Enfin du moins c'est ce que j'ai compris...

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    checking for f77... no
    checking for g77... no
    checking for f90... no
    checking for xlf90... no
    checking for ifort... no
    checking whether we are using the GNU Fortran 77 compiler... no
    PS : modif effectuée dans le .cshrc, ça change rien

  4. #4
    Membre émérite
    Avatar de matrix788
    Profil pro
    Inscrit en
    Juin 2002
    Messages
    740
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Juin 2002
    Messages : 740
    Billets dans le blog
    2
    Par défaut
    fais un gcc -v pour avoir la version de ton compilateur.

    ensuite yast2 sur le rpm gcc-fortran-xxxx (version du gcc) que tu auras téléchargé ici : http://mirrors.kernel.org/opensuse/d...oss/suse/i586/

    tu change la version de suse par la tienne, je t'ai mis cela en exemple.

  5. #5
    Membre du Club
    Profil pro
    Inscrit en
    Avril 2009
    Messages
    6
    Détails du profil
    Informations personnelles :
    Localisation : Canada

    Informations forums :
    Inscription : Avril 2009
    Messages : 6
    Par défaut
    Pour cela il faudrait que je sois root non ?

    Et je ne le suis pas...

Discussions similaires

  1. [VxiR2] jointure d'un alias non pris en compte dans la requete
    Par Geo55 dans le forum Designer
    Réponses: 2
    Dernier message: 31/05/2011, 09h29
  2. Réponses: 1
    Dernier message: 24/05/2010, 20h45
  3. [QR 4.05] Propriété imprimante non pris en compte
    Par portu dans le forum SAP Crystal Reports
    Réponses: 5
    Dernier message: 30/09/2008, 14h21
  4. Accents non pris en compte dans les requêtes SELECT
    Par YanK dans le forum Requêtes
    Réponses: 1
    Dernier message: 30/08/2005, 10h57
  5. [event] keyListener non pris en compte
    Par pierre.zelb dans le forum Agents de placement/Fenêtres
    Réponses: 5
    Dernier message: 03/08/2005, 08h35

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo