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

Modules Perl Discussion :

Install DBD::SYBASE


Sujet :

Modules Perl

  1. #1
    Futur Membre du Club
    Inscrit en
    Février 2005
    Messages
    11
    Détails du profil
    Informations forums :
    Inscription : Février 2005
    Messages : 11
    Points : 7
    Points
    7
    Par défaut Install DBD::SYBASE
    Bonjour,

    je cherche a installer le driver Sybase pour DBI. Apres avoir installé mysql et odbc sans probleme, là je galere a mort...
    Deja il semble qu'il me faille absoluement le client Sybase installé sur mon poste (c'est chose faite) ensuite c'est CPAN qui s'y met !

    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
    cpan> install DBD::Sybase
    CPAN: Storable loaded ok
    Going to read \.cpan\Metadata
      Database was generated on Mon, 14 Feb 2005 05:45:33 GMT
    Running install for module DBD::Sybase
    Running make for M/ME/MEWP/DBD-Sybase-1.05.tar.gz
    CPAN: Digest::MD5 loaded ok
    CPAN: Compress::Zlib loaded ok
    Checksum for \.cpan\sources\authors\id\M\ME\MEWP\DBD-Sybase-1.05.tar.gz ok
    Scanning cache \.cpan\build for sizes
    DBD-Sybase-1.05/
    DBD-Sybase-1.05/dbdimp.h
    DBD-Sybase-1.05/dbd-sybase.pod
    DBD-Sybase-1.05/t/
    DBD-Sybase-1.05/t/nsql.t
    DBD-Sybase-1.05/t/xblk.t
    DBD-Sybase-1.05/t/place.t
    DBD-Sybase-1.05/t/fail.t
    DBD-Sybase-1.05/t/exec.t
    DBD-Sybase-1.05/t/autocommit.t
    DBD-Sybase-1.05/t/thread.t
    DBD-Sybase-1.05/t/xblob.t
    DBD-Sybase-1.05/t/base.t
    DBD-Sybase-1.05/t/_test.pm
    DBD-Sybase-1.05/t/multi_sth.t
    DBD-Sybase-1.05/t/login.t
    DBD-Sybase-1.05/t/screen.jpg
    DBD-Sybase-1.05/t/main.t
    DBD-Sybase-1.05/Sybase.h
    DBD-Sybase-1.05/dbdimp.c
    DBD-Sybase-1.05/README.freetds
    DBD-Sybase-1.05/PWD.factory
    DBD-Sybase-1.05/Makefile.PL
    DBD-Sybase-1.05/META.yml
    DBD-Sybase-1.05/dbivport.h
    DBD-Sybase-1.05/README.vms
    DBD-Sybase-1.05/Sybase.xs
    DBD-Sybase-1.05/README
    DBD-Sybase-1.05/CHANGES
    DBD-Sybase-1.05/BUGS
    DBD-Sybase-1.05/CONFIG
    DBD-Sybase-1.05/Sybase.pm
    DBD-Sybase-1.05/MANIFEST
    DBD-Sybase-1.05/eg/
    DBD-Sybase-1.05/eg/Show.cgi
    DBD-Sybase-1.05/eg/dbschema.pl
    DBD-Sybase-1.05/eg/README
    DBD-Sybase-1.05/eg/check-space.pl
     
    gzip: stdout: Broken pipe
     
      CPAN.pm: Going to build M/ME/MEWP/DBD-Sybase-1.05.tar.gz
     
    Unknown Client Library version - assuming FreeTDS.
     
    By default DBD::Sybase 1.05 and later use the 'CHAINED' mode (where available)
    when 'AutoCommit' is turned off. Versions 1.04 and older instead managed
    the transactions explicitly with a 'BEGIN TRAN' before the first DML
    statement. Using the 'CHAINED' mode is preferable as it is the way that
    Sybase implements AutoCommit handling for both its ODBC and JDBC drivers.
     
    Use 'CHAINED' mode by default (Y/N) [Y]:
     
    The DBD::Sybase module need access to a Sybase server to run the tests.
    To clear an entry please enter 'undef'
    Sybase server to use (default: SYBASE):
    User ID to log in to Sybase (default: sa):
    Password (default: undef):
    Sybase database to use on SYBASE (default: undef):
     
    * Writing login information, including password, to file PWD.
     
    Checking if your kit is complete...
    Looks good
    Note (probably harmless): No library found for -llibtcl.lib
    Note (probably harmless): No library found for -llibcomn.lib
    Note (probably harmless): No library found for -llibintl.lib
    Note (probably harmless): No library found for -lm
    Note (probably harmless): No library found for oldnames.lib
    Note (probably harmless): No library found for kernel32.lib
    Note (probably harmless): No library found for user32.lib
    Note (probably harmless): No library found for gdi32.lib
    Note (probably harmless): No library found for winspool.lib
    Note (probably harmless): No library found for comdlg32.lib
    Note (probably harmless): No library found for advapi32.lib
    Note (probably harmless): No library found for shell32.lib
    Note (probably harmless): No library found for ole32.lib
    Note (probably harmless): No library found for oleaut32.lib
    Note (probably harmless): No library found for netapi32.lib
    Note (probably harmless): No library found for uuid.lib
    Note (probably harmless): No library found for wsock32.lib
    Note (probably harmless): No library found for mpr.lib
    Note (probably harmless): No library found for winmm.lib
    Note (probably harmless): No library found for version.lib
    Note (probably harmless): No library found for odbc32.lib
    Note (probably harmless): No library found for odbccp32.lib
    Note (probably harmless): No library found for msvcrt.lib
    *** You're using Microsoft Visual C++ compiler but the LIB and INCLUDE environment
        variables are not both set. If you have 'unresolved external symbol'
        errors during linking, run the vcvars32.bat batch file to set up your
        LIB and INCLUDE environment variables, and try again.
        A copy of vcvars32.bat can typically be found in the following
        directories under your Visual Studio install directory:
            Visual C++ 6.0:     vc98\bin
            Visual Studio .NET: vc7\bin
     
    Using DBI 1.47 (for perl 5.008004 on MSWin32-x86-multi-thread) installed in C:/Perl/site/lib/auto/DB
    I/
    Writing Makefile for DBD::Sybase
     
    Microsoft (R) Program Maintenance Utility   Version 1.50
    Copyright (c) Microsoft Corp 1988-94. All rights reserved.
     
    cp dbd-sybase.pod blib\lib\DBD\dbd-sybase.pod
    cp Sybase.pm blib\lib\DBD\Sybase.pm
            C:\Perl\bin\perl.exe -p -e "s/~DRIVER~/Sybase/g" C:/Perl/site/lib/auto/DBI//Driver.xst > Syb
    ase.xsi
            C:\Perl\bin\perl.exe C:\Perl\lib\ExtUtils/xsubpp  -typemap C:\Perl\lib\ExtUtils\typemap  Syb
    ase.xs > Sybase.xsc && C:\Perl\bin\perl.exe -MExtUtils::Command -e mv Sybase.xsc Sybase.c
            cl -c  -IC:\sybase/OCS-12_5/include -IC:/Perl/site/lib/auto/DBI  -nologo -Gf -W3 -MD -Zi -DN
    DEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DPERL_IMPLICIT_CONTEXT -D
    PERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -O1    -DVERSION=\"1.05\"  -DX
    S_VERSION=\"1.05\"  "-IC:\Perl\lib\CORE"   Sybase.c
    'cl' n'est pas reconnu en tant que commande interne
    ou externe, un programme exécutable ou un fichier de commandes.
    NMAKE : fatal error U1077: 'C:\WINNT\system32\cmd.exe' : return code '0x1'
    Stop.
      C:\perl\bin\NMAKE.EXE  -- NOT OK
    Running make test
      Can't test without successful make
    Running make install
      make had returned bad status, install seems impossible
    vraiment désolé pour le gros pvé, mais comme je ne sais pas quels messages peuvent etre importants...
    Os :Win200
    perl 5.8
    sybase 12.5
    j'ai meme recupéré Nmake 1.5...

    help

  2. #2
    Expert éminent
    Avatar de Jedai
    Homme Profil pro
    Enseignant
    Inscrit en
    Avril 2003
    Messages
    6 245
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Côte d'Or (Bourgogne)

    Informations professionnelles :
    Activité : Enseignant

    Informations forums :
    Inscription : Avril 2003
    Messages : 6 245
    Points : 8 586
    Points
    8 586
    Par défaut
    Tu devrais plutôt utiliser ppm que cpan sous windows.

    --
    Jedaï

  3. #3
    Futur Membre du Club
    Inscrit en
    Février 2005
    Messages
    11
    Détails du profil
    Informations forums :
    Inscription : Février 2005
    Messages : 11
    Points : 7
    Points
    7
    Par défaut
    oui mais :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    ppm> searc DBD-sybase
    Searching in Active Repositories
    No matches for 'DBD-sybase'; see 'help search'.
    ppm>
    alors que les autres drivers sont bien disponibles... Est ce qu'on peut installer a partir d'un tar.gz downloadé sur CPAN ? est ce qu'il faut configurer ppm autrement ?

  4. #4
    Futur Membre du Club
    Inscrit en
    Février 2005
    Messages
    11
    Détails du profil
    Informations forums :
    Inscription : Février 2005
    Messages : 11
    Points : 7
    Points
    7
    Par défaut
    Ok j'ai trouvé (enfin si on peut dire...) DBD::Sybase n'est pas compatible Perl5.8x, j'ai du reinstaller Perl5.6x, ensuite tout fonctionne bien...

    euuh je ne sais pas comment mettre le tag "resolu" desolé.

  5. #5
    Expert confirmé
    Avatar de GLDavid
    Homme Profil pro
    Service Delivery Manager
    Inscrit en
    Janvier 2003
    Messages
    2 867
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 47
    Localisation : France, Seine Saint Denis (Île de France)

    Informations professionnelles :
    Activité : Service Delivery Manager
    Secteur : Industrie Pharmaceutique

    Informations forums :
    Inscription : Janvier 2003
    Messages : 2 867
    Points : 4 873
    Points
    4 873
    Par défaut
    Il y a un petit bouton "Résolu" en bas de la page de ton thread.
    Je te le met pour cette fois mais j'apprécie qu'un petit jeunôt y ait pensé

    @++

  6. #6
    Futur Membre du Club
    Inscrit en
    Février 2005
    Messages
    11
    Détails du profil
    Informations forums :
    Inscription : Février 2005
    Messages : 11
    Points : 7
    Points
    7
    Par défaut
    Ah ok ! je chrehait dans la page ou j'ecrivais ma reponse... Merci pour l'info j'oublierai pas la prochaine fois !

  7. #7
    Futur Membre du Club
    Inscrit en
    Juillet 2004
    Messages
    5
    Détails du profil
    Informations forums :
    Inscription : Juillet 2004
    Messages : 5
    Points : 5
    Points
    5
    Par défaut
    par contre avec ppm j'ai un souci mon poste a lache j'ai donc reinstaller active perl, je peux bien installer dbi
    dbd-oracle
    mais le module dbd-sybse n'existe plus comment faire ,merci.

  8. #8
    Expert confirmé
    Avatar de GLDavid
    Homme Profil pro
    Service Delivery Manager
    Inscrit en
    Janvier 2003
    Messages
    2 867
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 47
    Localisation : France, Seine Saint Denis (Île de France)

    Informations professionnelles :
    Activité : Service Delivery Manager
    Secteur : Industrie Pharmaceutique

    Informations forums :
    Inscription : Janvier 2003
    Messages : 2 867
    Points : 4 873
    Points
    4 873
    Par défaut
    Salut et bienvenue à toi

    Ca m'étonne car le module DBD-Sybase-1.05 existe sur CPAN. Pas d'erreur de frappe ? Sinon, en faisant un
    dans ppm, tu as la liste des modules.

    @++

  9. #9
    Futur Membre du Club
    Inscrit en
    Juillet 2004
    Messages
    5
    Détails du profil
    Informations forums :
    Inscription : Juillet 2004
    Messages : 5
    Points : 5
    Points
    5
    Par défaut
    oui il trouve mais un dbi-class-sybase.
    ou sybase-login.

    j'ai recupere tous les modules qu'il y avait mais cela ne marche pas car il me faut le module dbd-sybase,

    comment on recupere sur cpan, merci.

  10. #10
    Expert confirmé
    Avatar de GLDavid
    Homme Profil pro
    Service Delivery Manager
    Inscrit en
    Janvier 2003
    Messages
    2 867
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 47
    Localisation : France, Seine Saint Denis (Île de France)

    Informations professionnelles :
    Activité : Service Delivery Manager
    Secteur : Industrie Pharmaceutique

    Informations forums :
    Inscription : Janvier 2003
    Messages : 2 867
    Points : 4 873
    Points
    4 873
    Par défaut
    Tu télécharges dans la page du module. Il doit y avoir un lien normalement. Attention, tu devras cependant compiler ton module avec cette piste.


    @++

  11. #11
    Futur Membre du Club
    Profil pro
    Inscrit en
    Mai 2005
    Messages
    7
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Mai 2005
    Messages : 7
    Points : 9
    Points
    9
    Par défaut Nouvelle
    Pour tous ceux qui tomberai sur ce message voici une adresse ou se trouve le driver DBD::Sybase compilé dans sa version 1.09.

    http://www.froebe.net/attachments/DBD-Sybase-1.09.zip

    la marche à suivre :
    http://froebe.net/blog/2010/02/17/ge...pvista7-32bit/

    L'installation se déroule parfaitement avec perl 5.10.
    Maintenant j'ai un nouveau soucis :

    échec dans la fonction Perl « set_up_connection » : install_driver(Sybase) failed: Can't load 'C:/Perl/site/lib/auto/DBD/Sybase/Sybase.dll' for module DBD::Sybase: load_file:Le module spécifié est introuvable at C:/Perl/lib/DynaLoader.pm line 201
    Si vous avez des informations je suis prenneur !

    PS : Je suis sur une piste, visiblement quand j'ouvre la Sybase.dll Dependency Walker il ne trouve pas 4 dll (LIBSYBCT.DLL, LIBSYBCS.DLL, LIBSYBBLK.DLL, IESHIMS.DLL)

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. installer DBD::Sybase strawberryperl windows
    Par sayannara dans le forum SGBD
    Réponses: 0
    Dernier message: 28/03/2013, 16h22
  2. Réponses: 0
    Dernier message: 15/10/2009, 12h56
  3. Installation DBD::Sybase sur windows
    Par loki8 dans le forum Modules
    Réponses: 4
    Dernier message: 06/04/2009, 14h40
  4. install ppm DBD:SYBASE
    Par vince2005 dans le forum SGBD
    Réponses: 3
    Dernier message: 12/04/2007, 11h11
  5. probleme pour installer le module DBD::Sybase
    Par black_code dans le forum SGBD
    Réponses: 9
    Dernier message: 25/07/2005, 15h06

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