Skip to content

build error  #4

@vivek779

Description

@vivek779

I tried to install nginx 1.6.2 with sqlite-http-basic-auth-nginx-module when i run build command it shows error like this
/root/build/sqlite-http-basic-auth-nginx-module/ngx_http_auth_sqlite_basic_modul e.c:10:21: error: sqlite3.h: No such file or directory
/root/build/sqlite-http-basic-auth-nginx-module/ngx_http_auth_sqlite_basic_modul e.c: In function 'ngx_http_auth_sqlite_basic_handler':
/root/build/sqlite-http-basic-auth-nginx-module/ngx_http_auth_sqlite_basic_modul e.c:120: error: 'sqlite3_stmt' undeclared (first use in this function)
/root/build/sqlite-http-basic-auth-nginx-module/ngx_http_auth_sqlite_basic_modul e.c:120: error: (Each undeclared identifier is reported only once
/root/build/sqlite-http-basic-auth-nginx-module/ngx_http_auth_sqlite_basic_modul e.c:120: error: for each function it appears in.)
/root/build/sqlite-http-basic-auth-nginx-module/ngx_http_auth_sqlite_basic_modul e.c:120: error: 'sqlite_stmt' undeclared (first use in this function)
/root/build/sqlite-http-basic-auth-nginx-module/ngx_http_auth_sqlite_basic_modul e.c:121: error: 'sqlite3' undeclared (first use in this function)
/root/build/sqlite-http-basic-auth-nginx-module/ngx_http_auth_sqlite_basic_modul e.c:121: error: 'sqlite_handle' undeclared (first use in this function)
cc1: warnings being treated as errors
/root/build/sqlite-http-basic-auth-nginx-module/ngx_http_auth_sqlite_basic_modul e.c:140: error: implicit declaration of function 'sqlite3_open'
/root/build/sqlite-http-basic-auth-nginx-module/ngx_http_auth_sqlite_basic_modul e.c:188: error: implicit declaration of function 'sqlite3_prepare_v2'
/root/build/sqlite-http-basic-auth-nginx-module/ngx_http_auth_sqlite_basic_modul e.c:190: error: 'SQLITE_OK' undeclared (first use in this function)
/root/build/sqlite-http-basic-auth-nginx-module/ngx_http_auth_sqlite_basic_modul e.c:192: error: implicit declaration of function 'sqlite3_close'
/root/build/sqlite-http-basic-auth-nginx-module/ngx_http_auth_sqlite_basic_modul e.c:196: error: implicit declaration of function 'sqlite3_step'
/root/build/sqlite-http-basic-auth-nginx-module/ngx_http_auth_sqlite_basic_modul e.c:198: error: 'SQLITE_ROW' undeclared (first use in this function)
make[1]: *** [objs/addon/sqlite-http-basic-auth-nginx-module/ngx_http_auth_sqlit e_basic_module.o] Error 1
make[1]: Leaving directory `/root/build/nginx-1.6.2'
make: *** [build] Error 2
please guide me

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions