Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build error #4

Open
vivek779 opened this issue Dec 24, 2015 · 0 comments
Open

build error #4

vivek779 opened this issue Dec 24, 2015 · 0 comments

Comments

@vivek779
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant