cdr-pusher icon indicating copy to clipboard operation
cdr-pusher copied to clipboard

Makefile:29: recipe for target 'build' failed

Open Mazuco opened this issue 8 years ago • 1 comments

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 insert_gorm.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

Mazuco avatar Sep 30 '16 15:09 Mazuco

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

joenilson avatar Dec 07 '16 20:12 joenilson