sqlite - CDRstats installation error -
i'm trying install cdrstats pusher on debian 8.2 machine asterisk 11.13 installed. how ever it's getting me message while #make build:
installation url: http://docs.cdr-stats.org/en/latest/installation/install-cdr-pusher.html
error:
root@cdrstats:/opt/app/cdr-pusher# make build found packages fetch_orm.go (fetch) , insert_gorm.go (main) in archive found packages fetch_orm.go (fetch) , insert_gorm.go (main) in archive cp -i cdr-pusher.yaml /etc/cdr-pusher.yaml cp: overwrite ‘/etc/cdr-pusher.yaml’? y # _/opt/app/cdr-pusher ./cdr_generator.go:55: undefined: orm.dr_sqlite makefile:29: recipe target 'build' failed make: *** [build] error 2
check
// version 1.6 orm.drmysql orm.drsqlite orm.drpostgres // < 1.6 orm.dr_mysql orm.dr_sqlite orm.dr_postgres
changes in file cdr_generator.go line 55
orm.registerdriver ("sqlite3" orm.dr_sqlite)
by other=
orm.registerdriver ("sqlite3" orm.drsqlite)
and make build , work
Comments
Post a Comment