Open Mazuco opened 8 years ago
Please review this link: http://stackoverflow.com/questions/35033846/cdrstats-installation-error
check
// For version 1.6 orm.DRMySQL orm.DRSqlite orm.DRPostgres
// < 1.6 orm.DR_MySQL orm.DR_Sqlite orm.DR_Postgres
changes in the file cdr_generator.go line 55
orm.RegisterDriver ("sqlite3" orm.DR_Sqlite)
by this other=
orm.RegisterDriver ("sqlite3" orm.DRSqlite)
and then you make build and work
root@cdr-stats:/opt/app/cdr-pusher# make build found packages fetch_orm.go (fetch) and insert_gorm.go (main) in archive found packages fetch_orm.go (fetch) and insertgorm.go (main) in archive cp -i cdr-pusher.yaml /etc/cdr-pusher.yaml cp: sobrescrever “/etc/cdr-pusher.yaml”? yes /opt/app/cdr-pusher ./cdr_generator.go:55: undefined: orm.DR_Sqlite Makefile:29: recipe for target 'build' failed make: *\ [build] Error 2
Is not possible to install this cdr-pusher