configure: error: Please reinstall the libcurl distribution

configure: error: Please reinstall the libcurl distribution

When compiling php from source for nginx web server, i get error On checking, found curl-devel not installed The problem