Opened 11 years ago

Closed 10 years ago

#25017 closed defect (worksforme)

nginx build failed with google-perftools variants

Reported by: smibrahim@… Owned by: boeyms@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: nginx

Description

i am trying to build nginx with google-perftools, and getting this message, though google-perftools is installed in the very starting, but nginx configure script fail on


"./configure: error: the Google perftool module requires the Google perftools
library. You can either do not enable the module or install the library."


for better understanding here is details:

[Users/lavlu] > install nginx +gzip_static +google_perftools +status +upload
--->  Computing dependencies for nginx
--->  Fetching google-perftools
--->  Attempting to fetch google-perftools-1.3.tar.gz from http://aarnet.au.distfiles.macports.org/pub/macports/mpdistfiles/google-perftools
--->  Verifying checksum(s) for google-perftools
--->  Extracting google-perftools
--->  Configuring google-perftools
--->  Building google-perftools
--->  Staging google-perftools into destroot
--->  Installing google-perftools @1.3_0
--->  Activating google-perftools @1.3_0
--->  Cleaning google-perftools
--->  Fetching nginx
--->  Attempting to fetch nginx-0.7.64.tar.gz from http://aarnet.au.distfiles.macports.org/pub/macports/mpdistfiles/nginx
--->  Attempting to fetch nginx_upload_module-2.0.9.tar.gz from http://aarnet.au.distfiles.macports.org/pub/macports/mpdistfiles/nginx
--->  Attempting to fetch nginx_upload_module-2.0.9.tar.gz from http://distfiles.macports.org/nginx
--->  Attempting to fetch nginx_upload_module-2.0.9.tar.gz from http://lil.fr.distfiles.macports.org/nginx
--->  Attempting to fetch nginx_upload_module-2.0.9.tar.gz from http://www.grid.net.ru/nginx/download/
--->  Verifying checksum(s) for nginx
--->  Extracting nginx
--->  Applying patches to nginx
--->  Configuring nginx
Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_nginx/work/nginx-0.7.64" && ./configure --prefix=/opt/local --with-cc-opt="-I/opt/local/include -O2" --with-ld-opt="-L/opt/local/lib" --conf-path=/opt/local/etc/nginx/nginx.conf --error-log-path=/opt/local/var/log/nginx/error.log --http-log-path=/opt/local/var/log/nginx/access.log --pid-path=/opt/local/var/run/nginx/nginx.pid --lock-path=/opt/local/var/run/nginx/nginx.lock --http-client-body-temp-path=/opt/local/var/run/nginx/client_body_temp --http-proxy-temp-path=/opt/local/var/run/nginx/proxy_temp --http-fastcgi-temp-path=/opt/local/var/run/nginx/fastcgi_temp --with-http_stub_status_module --with-http_gzip_static_module --with-google_perftools_module --add-module=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_nginx/work/nginx_upload_module-2.0.9 " returned error 1
Command output: checking for Darwin 64-bit kqueue millisecond timeout bug ... not found
checking for sendfile() ... found
checking for atomic(3) ... found
checking for nobody group ... found
checking for poll() ... found
checking for /dev/poll ... not found
checking for crypt() ... found
checking for O_DIRECT ... not found
checking for F_NOCACHE ... found
checking for directio() ... not found
checking for statfs() ... found
checking for statvfs() ... found
checking for dlopen() ... found
checking for sched_yield() ... found
configuring additional modules
adding module in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_nginx/work/nginx_upload_module-2.0.9
 + ngx_http_upload_module was configured
checking for PCRE library ... found
checking for system md library ... not found
checking for system md5 library ... not found
checking for OpenSSL md5 crypto library ... found
checking for sha1 in system md library ... not found
checking for OpenSSL sha1 crypto library ... found
checking for zlib library ... found
checking for Google perftools ... not found
checking for Google perftools in /usr/local/ ... not found

./configure: error: the Google perftool module requires the Google perftools
library. You can either do not enable the module or install the library.


Error: Status 1 encountered during processing.
Before reporting a bug, first run the command again with the -d flag to get complete output.
Goodbye

Change History (2)

comment:1 Changed 11 years ago by ryandesign (Ryan Schmidt)

Keywords: nginx removed
Owner: changed from macports-tickets@… to boeyms@…

Agreed.

But please remember to Cc port maintainers.

comment:2 Changed 10 years ago by jmroot (Joshua Root)

Resolution: worksforme
Status: newclosed

Seems fine with version 1.0.0.

Note: See TracTickets for help on using tickets.