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

Réseau Discussion :

Le serveur Radius, dépendance j'y comprend plus rien


Sujet :

Réseau

  1. #1
    Membre à l'essai
    Inscrit en
    Avril 2006
    Messages
    61
    Détails du profil
    Informations forums :
    Inscription : Avril 2006
    Messages : 61
    Points : 24
    Points
    24
    Par défaut Le serveur Radius, dépendance j'y comprend plus rien
    Bonjour à tous,

    J'essaye actuellement de faire un serveur radius, mai j'ai un problème lorsque je tape la commande :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
     [root@uc-017-240 root]# rpmbuild -ba freeradius-1.1.1/redhat/freeradius.spec
    erreur: Dépendances de construction manquantes:
    libtool est nécessaire pour freeradius-1.1.1-0


    Il me dit je dépend de libtool, bon je reste zen , je download le tar.gz de libtool je l'install... ./configure, make, make install ca doit être bon ( au pire je peux mettre le resultat si ca vient de là)

    Je me dit , je l'ai bien installé quand même, je verifie...

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
     [root@uc-017-240 root]# rpm -qa | grep libtool

    libtool-libs-1.4.3-6


    Il est bien installer non ? je ne suis pas un expert donc j'ai peut être oublier des étapes...

    Merci d'avance pour votre aide

    Cordialement



  2. #2
    Membre actif
    Profil pro
    Inscrit en
    Mai 2003
    Messages
    322
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Mai 2003
    Messages : 322
    Points : 211
    Points
    211
    Par défaut
    peut-être que " libtool-libs" et "libtool" sont des paquets différents ?

  3. #3
    Membre à l'essai
    Inscrit en
    Avril 2006
    Messages
    61
    Détails du profil
    Informations forums :
    Inscription : Avril 2006
    Messages : 61
    Points : 24
    Points
    24
    Par défaut
    Ba euh , je pense que non, je vous mets le cheminment du make install, comme ça au moins je serais fixé si il est installé correctement.

    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
     [root@uc-017-240 libtool-1.5.8]# make install
    Making install in .
    make[1]: Entre dans le répertoire `/libtool-1.5.8'
    /bin/sh ./config.status --recheck
    running /bin/sh ./configure  --enable-ltdl-install  --no-create --no-recursion
    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 for gcc... gcc
    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 gcc accepts -g... yes
    checking for gcc option to accept ANSI C... none needed
    checking for style of include used by make... GNU
    checking dependency style of gcc... none
    checking for a sed that does not truncate output... /bin/sed
    checking build system type... i686-pc-linux-gnu
    checking host system type... i686-pc-linux-gnu
    checking for egrep... grep -E
    checking for ld used by gcc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for BSD-compatible nm... /usr/bin/nm -B
    checking whether ln -s works... yes
    checking for g++... no
    checking for c++... no
    checking for gpp... no
    checking for aCC... no
    checking for CC... no
    checking for cxx... no
    checking for cc++... no
    checking for cl... no
    checking for FCC... no
    checking for KCC... no
    checking for RCC... no
    checking for xlC_r... no
    checking for xlC... no
    checking whether we are using the GNU C++ compiler... no
    checking whether g++ accepts -g... no
    checking dependency style of g++... none
    checking for g77... no
    checking for f77... no
    checking for xlf... no
    checking for frt... no
    checking for pgf77... no
    checking for fort77... no
    checking for fl32... no
    checking for af77... no
    checking for f90... no
    checking for xlf90... no
    checking for pgf90... no
    checking for epcf90... no
    checking for f95... no
    checking for fort... no
    checking for xlf95... no
    checking for ifc... no
    checking for efc... no
    checking for pgf95... no
    checking for lf95... no
    checking for gfortran... no
    checking whether we are using the GNU Fortran 77 compiler... no
    checking whether  accepts -g... no
    checking for gcj... no
    checking for windres... no
    checking for /usr/bin/ld option to reload object files... -r
    checking how to recognise dependent libraries... pass_all
    checking how to run the C preprocessor... gcc -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 dlfcn.h usability... yes
    checking dlfcn.h presence... yes
    checking for dlfcn.h... yes
    checking how to run the C++ preprocessor... /lib/cpp
    checking the maximum length of command line arguments... 32768
    checking command to parse /usr/bin/nm -B output from gcc object... failed
    checking for objdir... .libs
    checking for ar... ar
    checking for ranlib... ranlib
    checking for strip... strip
    checking if gcc static flag  works... yes
    checking if gcc supports -fno-rtti -fno-exceptions... yes
    checking for gcc option to produce PIC... -fPIC
    checking if gcc PIC flag -fPIC works... yes
    checking if gcc supports -c -o file.o... yes
    checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking for shl_load... no
    checking for shl_load in -ldld... no
    checking for dlopen... no
    checking for dlopen in -ldl... yes
    checking whether a program can dlopen itself... yes
    checking whether a statically linked program can dlopen itself... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... yes
    configure: creating libtool
    appending configuration tag "CXX" to libtool
    checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
    libtool.m4: error: problem compiling CXX test program
    checking for g++ option to produce PIC...
    checking if g++ supports -c -o file.o... no
    checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... unsupported
    checking whether stripping libraries is possible... yes
    checking for shl_load... (cached) no
    checking for shl_load in -ldld... (cached) no
    checking for dlopen... (cached) no
    checking for dlopen in -ldl... (cached) yes
    checking whether a program can dlopen itself... (cached) yes
    checking whether a statically linked program can dlopen itself... (cached) yes
    appending configuration tag "F77" to libtool
    appending configuration tag "GCJ" to libtool
    configure: creating ./config.status
    chmod +x libtool
    CONFIG_FILES=libtoolize CONFIG_HEADERS= /bin/sh ./config.status
    config.status: creating libtoolize
    config.status: executing depfiles commands
    chmod +x libtoolize
    make[2]: Entre dans le répertoire `/libtool-1.5.8'
     /bin/sh ./config.status
    config.status: creating Makefile
    config.status: creating doc/Makefile
    config.status: creating tests/Makefile
    config.status: executing depfiles commands
    make[2]: Quitte le répertoire `/libtool-1.5.8'
    make[2]: Entre dans le répertoire `/libtool-1.5.8'
    test -z "/usr/local/bin" || mkdir -p -- . "/usr/local/bin"
     /usr/bin/install -c 'libtool' '/usr/local/bin/libtool'
     /usr/bin/install -c 'libtoolize' '/usr/local/bin/libtoolize'
    test -z "/usr/local/share/aclocal" || mkdir -p -- . "/usr/local/share/aclocal"
     /usr/bin/install -c -m 644 'libtool.m4' '/usr/local/share/aclocal/libtool.m4'
     /usr/bin/install -c -m 644 'ltdl.m4' '/usr/local/share/aclocal/ltdl.m4'
    test -z "/usr/local/share/libtool" || mkdir -p -- . "/usr/local/share/libtool"
     /usr/bin/install -c -m 644 'config.guess' '/usr/local/share/libtool/config.guess'
     /usr/bin/install -c -m 644 'config.sub' '/usr/local/share/libtool/config.sub'
     /usr/bin/install -c -m 644 'ltmain.sh' '/usr/local/share/libtool/ltmain.sh'
    make  install-data-hook
    make[3]: Entre dans le répertoire `/libtool-1.5.8'
    cd libltdl && make local-install-files
    make[4]: Entre dans le répertoire `/libtool-1.5.8/libltdl'
    rm -rf /usr/local/share/libtool/libltdl
    mkdir -p -- . /usr/local/share/libtool/libltdl
    make[4]: Quitte le répertoire `/libtool-1.5.8/libltdl'
    chmod +x /usr/local/share/libtool/config.guess
    chmod +x /usr/local/share/libtool/config.sub
    make[3]: Quitte le répertoire `/libtool-1.5.8'
    make[2]: Quitte le répertoire `/libtool-1.5.8'
    make[1]: Quitte le répertoire `/libtool-1.5.8'
    Making install in libltdl
    make[1]: Entre dans le répertoire `/libtool-1.5.8/libltdl'
    /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -c -o ltdl.lo ltdl.c
    mkdir .libs
     gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c ltdl.c  -fPIC -DPIC -o .libs/ltdl.o
     gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c ltdl.c -o ltdl.o >/dev/null 2>&1
    /bin/sh ./libtool --mode=link gcc  -g -O2   -o libltdl.la -rpath /usr/local/lib -no-undefined -version-info 4:0:1 ltdl.lo -ldl
    gcc -shared  .libs/ltdl.o  -ldl  -Wl,-soname -Wl,libltdl.so.3 -o .libs/libltdl.so.3.1.0
    (cd .libs && rm -f libltdl.so.3 && ln -s libltdl.so.3.1.0 libltdl.so.3)
    (cd .libs && rm -f libltdl.so && ln -s libltdl.so.3.1.0 libltdl.so)
    ar cru .libs/libltdl.a  ltdl.o
    ranlib .libs/libltdl.a
    creating libltdl.la
    (cd .libs && rm -f libltdl.la && ln -s ../libltdl.la libltdl.la)
    make[2]: Entre dans le répertoire `/libtool-1.5.8/libltdl'
    test -z "/usr/local/lib" || mkdir -p -- . "/usr/local/lib"
     /bin/sh ./libtool --mode=install /usr/bin/install -c  'libltdl.la' '/usr/local/lib/libltdl.la'
    /usr/bin/install -c .libs/libltdl.so.3.1.0 /usr/local/lib/libltdl.so.3.1.0
    (cd /usr/local/lib && rm -f libltdl.so.3 && ln -s libltdl.so.3.1.0 libltdl.so.3)
    (cd /usr/local/lib && rm -f libltdl.so && ln -s libltdl.so.3.1.0 libltdl.so)
    /usr/bin/install -c .libs/libltdl.lai /usr/local/lib/libltdl.la
    /usr/bin/install -c .libs/libltdl.a /usr/local/lib/libltdl.a
    ranlib /usr/local/lib/libltdl.a
    chmod 644 /usr/local/lib/libltdl.a
    PATH="$PATH:/sbin" ldconfig -n /usr/local/lib
    ----------------------------------------------------------------------
    Libraries have been installed in:
       /usr/local/lib
     
    If you ever happen to want to link against installed libraries
    in a given directory, LIBDIR, you must either use libtool, and
    specify the full pathname of the library, or use the `-LLIBDIR'
    flag during linking and do at least one of the following:
       - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
         during execution
       - add LIBDIR to the `LD_RUN_PATH' environment variable
         during linking
       - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
       - have your system administrator add LIBDIR to `/etc/ld.so.conf'
     
    See any operating system documentation about shared libraries for
    more information, such as the ld(1) and ld.so(8) manual pages.
    ----------------------------------------------------------------------
    test -z "/usr/local/include" || mkdir -p -- . "/usr/local/include"
     /usr/bin/install -c -m 644 'ltdl.h' '/usr/local/include/ltdl.h'
    make[2]: Quitte le répertoire `/libtool-1.5.8/libltdl'
    make[1]: Quitte le répertoire `/libtool-1.5.8/libltdl'
    Making install in doc
    make[1]: Entre dans le répertoire `/libtool-1.5.8/doc'
    make[2]: Entre dans le répertoire `/libtool-1.5.8/doc'
    make[2]: Rien à faire pour `install-exec-am'.
    test -z "/usr/local/info" || mkdir -p -- . "/usr/local/info"
     /usr/bin/install -c -m 644 './libtool.info' '/usr/local/info/libtool.info'
     install-info --info-dir='/usr/local/info' '/usr/local/info/libtool.info'
    make[2]: Quitte le répertoire `/libtool-1.5.8/doc'
    make[1]: Quitte le répertoire `/libtool-1.5.8/doc'
    Making install in tests
    make[1]: Entre dans le répertoire `/libtool-1.5.8/tests'
    make[2]: Entre dans le répertoire `/libtool-1.5.8/tests'
    make[2]: Rien à faire pour `install-exec-am'.
    make[2]: Rien à faire pour `install-data-am'.
    make[2]: Quitte le répertoire `/libtool-1.5.8/tests'
    make[1]: Quitte le répertoire `/libtool-1.5.8/tests'
    Je sais c'est long... ^^'.

  4. #4
    Membre actif
    Profil pro
    Inscrit en
    Mai 2003
    Messages
    322
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Mai 2003
    Messages : 322
    Points : 211
    Points
    211
    Par défaut
    je pense que le fait de l'installer à partir des sources fait que du coup il ne reconnait pas le programe en tant que paquet.
    Soit il faut trouver le paquet libtool, genre sur www.rpmfind.net, soit ne passer que par des installation à partir de sources.

  5. #5
    Membre à l'essai
    Inscrit en
    Avril 2006
    Messages
    61
    Détails du profil
    Informations forums :
    Inscription : Avril 2006
    Messages : 61
    Points : 24
    Points
    24
    Par défaut
    Merci , avec rpm l'installation de libtool est ok ca marche, (cependant par curiosité pourquoi avec make ça foire).

    je fait mon petit rpmbuild... , ça ce construit mais j'ai encor un problème le rpm n'a pas voulu ce créer , j'obtient ça à la fin :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    gmake[4]: *** [radiusd] Erreur 1
    gmake[4]: Quitte le répertoire `/usr/src/redhat/BUILD/freeradius-1.1.1/src/main'
    gmake[3]: *** [common] Erreur 2
    gmake[3]: Quitte le répertoire `/usr/src/redhat/BUILD/freeradius-1.1.1/src'
    gmake[2]: *** [all] Erreur 2
    gmake[2]: Quitte le répertoire `/usr/src/redhat/BUILD/freeradius-1.1.1/src'
    gmake[1]: *** [common] Erreur 2
    gmake[1]: Quitte le répertoire `/usr/src/redhat/BUILD/freeradius-1.1.1'
    make: *** [all] Erreur 2
    erreur: Mauvais status de sortie pour /var/tmp/rpm-tmp.70 (%build)
     
     
    Erreur de construction de RPM:
        Mauvais status de sortie pour /var/tmp/rpm-tmp.70 (%build)

Discussions similaires

  1. serveur radius microsoft
    Par bbh10 dans le forum Réseau
    Réponses: 0
    Dernier message: 05/05/2008, 11h49
  2. serveur radius open source
    Par bbh10 dans le forum Réseau
    Réponses: 0
    Dernier message: 05/05/2008, 09h27
  3. Serveur radius windows
    Par bbh10 dans le forum Windows Serveur
    Réponses: 0
    Dernier message: 05/05/2008, 09h25
  4. probleme de serveur radius
    Par marria77 dans le forum Réseau
    Réponses: 0
    Dernier message: 06/12/2007, 09h54
  5. dialoguer avec un serveur RADIUS
    Par jypee76 dans le forum Développement
    Réponses: 4
    Dernier message: 12/08/2003, 10h06

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