Visualizzazione dei risultati da 1 a 2 su 2

Discussione: verlihub errore

  1. #1

    verlihub errore

    ciao a tutti
    mi rivolgo a voi carissimi amici del forum linux nel risolvere un fastidioso problema che ho con un hub server (per rete direct connect)nella fattispecie nell'installazione di questo
    il prog è verlihub
    dopo il mitico configure andato a buon fine seguendo il txt di riferimento do make, a il risultato non è propio incoraggiante

    ################################################## ###################

    linux:~/downloaded/hubserver/verlihub-0.9.7/verlihub-0.9.7 # make
    make all-recursive
    make[1]: Entering directory `/root/downloaded/hubserver/verlihub-0.9.7/verlihub-0.9.7'
    Making all in src
    make[2]: Entering directory `/root/downloaded/hubserver/verlihub-0.9.7/verlihub-0.9.7/src'
    if /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -I/usr/local/include -MT cban.lo -MD -MP -MF ".deps/cban.Tpo" \
    -c -o cban.lo `test -f 'cban.cpp' || echo './'`cban.cpp; \
    then mv ".deps/cban.Tpo" ".deps/cban.Plo"; \
    else rm -f ".deps/cban.Tpo"; exit 1; \
    fi
    rm -f .libs/cban.lo
    g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -I/usr/local/include -MT cban.lo -MD -MP -MF .deps/cban.Tpo -c cban.cpp -fPIC -DPIC
    In file included from cconfmysql.h:24,
    from cbanlist.h:13,
    from cban.cpp:12:
    cmysql.h:18:19: mysql.h: No such file or directory
    In file included from cconfmysql.h:24,
    from cbanlist.h:13,
    from cban.cpp:12:
    cmysql.h:44: error: syntax error before `*' token
    In file included from cconfmysql.h:25,
    from cbanlist.h:13,
    from cban.cpp:12:
    cquery.h:39: error: syntax error before `)' token
    cquery.h:44: error: syntax error before `*' token
    In file included from cbanlist.h:13,
    from cban.cpp:12:
    cconfmysql.h:121: error: 'MYSQL_ROW' is used as a type, but is not defined as a
    type.
    cconfmysql.h:123: error: syntax error before `row'
    cconfmysql.h:123: error: missing ';' before right brace
    cconfmysql.h:125: error: semicolon missing after declaration of `
    nConfig::cConfMySQL::ufLoad'
    cconfmysql.h:126: error: two or more data types in declaration of `operator()'
    cconfmysql.h: In member function `nConfig::cConfMySQL::ufLoad
    nConfig::cConfMySQL:perator()(nConfig::cConfigItemBase*)':
    cconfmysql.h:127: error: `mRow' undeclared (first use this function)
    cconfmysql.h:127: error: (Each undeclared identifier is reported only once for
    each function it appears in.)
    cconfmysql.h:127: error: `i' undeclared (first use this function)
    cconfmysql.h: At global scope:
    cconfmysql.h:135: error: syntax error before `public'
    cconfmysql.h:142: error: ISO C++ forbids declaration of `db_iterator' with no
    type
    cconfmysql.h: In function `int nConfig::db_iterator(nConfig::cConfMySQL*)':
    cconfmysql.h:142: error: only constructors take base initializers
    cconfmysql.h:142: confused by earlier errors, bailing out
    make[2]: *** [cban.lo] Error 1
    make[2]: Leaving directory `/root/downloaded/hubserver/verlihub-0.9.7/verlihub-0.9.7/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/root/downloaded/hubserver/verlihub-0.9.7/verlihub-0.9.7'
    make: *** [all] Error 2
    linux:~/downloaded/hubserver/verlihub-0.9.7/verlihub-0.9.7 #

    ################################################## ####################

    uso suse9.1 pro ma non mi sembra che del programma in questione esistano rpm.
    sono nelle vostre mani, ndo sta l'errore??
    so che il programma necessità di mysql per girare
    di più nin zò

  2. #2
    ehm chiedo scusa per la mia
    gli rpm esistono e li ho usati a dovere
    ma adesso il mio problema è il database mysql
    se da terminale do mysql mi restituisce:

    ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)


    come faccio a vedere se il db è installato??
    come lo configuro??
    ogni suggerimento link ecc è ben accetto

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.