phusion / passenger

A fast and robust web server and application server for Ruby, Python and Node.js
https://www.phusionpassenger.com/
MIT License
5.01k stars 547 forks source link

DateParsing.h fails to compile on Solaris 11.2: tm_gmtoff not supported #1435

Closed CirrusThink closed 9 years ago

CirrusThink commented 9 years ago

rvmsudo passenger-install-nginx-module

Warning: can not check `/etc/sudoers` for `secure_path`, falling back to call via `/usr/bin/env`, this breaks rules from `/etc/sudoers`. Run:

    export rvmsudo_secure_path=1

to avoid the warning, put it in shell initialization file to make it persistent.

In case there is no `secure_path` in `/etc/sudoers`. Run:

    export rvmsudo_secure_path=0

to avoid the warning, put it in shell initialization file to make it persistent.
Password:
Welcome to the Phusion Passenger Nginx module installer, v5.0.4.

This installer will guide you through the entire installation process. It
shouldn't take more than 5 minutes in total.

Here's what you can expect from the installation process:

 1. This installer will compile and install Nginx with Passenger support.
 2. You'll learn how to configure Passenger in Nginx.
 3. You'll learn how to deploy a Ruby on Rails application.

Don't worry if anything goes wrong. This installer will advise you on how to
solve any problems.

Press Enter to continue, or Ctrl-C to abort.

--------------------------------------------

Which languages are you interested in?

Use <space> to select.
If the menu doesn't display correctly, press '!'

 ‣ ⬢  Ruby
   ⬢  Python
   ⬡  Node.js
   ⬡  Meteor

--------------------------------------------

Checking for required software...

 * Checking for C compiler...
      Found: yes
      Location: /usr/bin/gcc
 * Checking for C++ compiler...
      Found: yes
      Location: /usr/bin/c++
 * Checking for A download tool like 'wget' or 'curl'...
      Found: yes
      Location: /usr/bin/wget
 * Checking for Curl development headers with SSL support...
      Found: yes
      curl-config location: /usr/bin/curl-config
      Header location: /usr/include/curl/curl.h
      Version: libcurl 7.21.2
      Usable: yes
      Supports SSL: yes
 * Checking for OpenSSL development headers...
      Found: yes
      Location: /usr/include/openssl/ssl.h
 * Checking for Zlib development headers...
      Found: yes
      Location: /usr/include/zlib.h
 * Checking for Rake (associated with /export/home/ladmin/.rvm/gems/ruby-2.1.5@global/wrappers/ruby)...
      Found: yes
      Location: /export/home/ladmin/.rvm/gems/ruby-2.1.5@global/wrappers/rake
 * Checking for OpenSSL support for Ruby...
      Found: yes
 * Checking for RubyGems...
      Found: yes
 * Checking for Ruby development headers...
      Found: yes
      Location: /export/home/ladmin/.rvm/rubies/ruby-2.1.5/include/ruby-2.1.0/ruby.h
 * Checking for rack...
      Found: yes

--------------------------------------------

Automatically download and install Nginx?

Nginx doesn't support loadable modules such as some other web servers do,
so in order to install Nginx with Passenger support, it must be recompiled.

Do you want this installer to download, compile and install Nginx for you?

 1. Yes: download, compile and install Nginx for me. (recommended)
    The easiest way to get started. A stock Nginx 1.6.2 with Passenger
    support, but with no other additional third party modules, will be
    installed for you to a directory of your choice.

 2. No: I want to customize my Nginx installation. (for advanced users)
    Choose this if you want to compile Nginx with more third party modules
    besides Passenger, or if you need to pass additional options to Nginx's
    'configure' script. This installer will  1) ask you for the location of
    the Nginx source code,  2) run the 'configure' script according to your
    instructions, and  3) run 'make install'.

Whichever you choose, if you already have an existing Nginx configuration file,
then it will be preserved.

Enter your choice (1 or 2) or press Ctrl-C to abort: 1

--------------------------------------------

Downloading Nginx...
Verifying Nginx checksum...
Extracting Nginx source tarball...
# tar xzvf /tmp/passenger.1etmh1x/nginx.tar.gz
nginx-1.6.2/
nginx-1.6.2/auto/
nginx-1.6.2/conf/
nginx-1.6.2/contrib/
nginx-1.6.2/src/
nginx-1.6.2/configure
nginx-1.6.2/LICENSE
nginx-1.6.2/README
nginx-1.6.2/html/
nginx-1.6.2/man/
nginx-1.6.2/CHANGES.ru
nginx-1.6.2/CHANGES
nginx-1.6.2/man/nginx.8
nginx-1.6.2/html/50x.html
nginx-1.6.2/html/index.html
nginx-1.6.2/src/core/
nginx-1.6.2/src/event/
nginx-1.6.2/src/http/
nginx-1.6.2/src/mail/
nginx-1.6.2/src/misc/
nginx-1.6.2/src/os/
nginx-1.6.2/src/os/unix/
nginx-1.6.2/src/os/unix/ngx_aio_read_chain.c
nginx-1.6.2/src/os/unix/ngx_aio_read.c
nginx-1.6.2/src/os/unix/ngx_aio_write_chain.c
nginx-1.6.2/src/os/unix/ngx_aio_write.c
nginx-1.6.2/src/os/unix/ngx_atomic.h
nginx-1.6.2/src/os/unix/ngx_alloc.c
nginx-1.6.2/src/os/unix/ngx_alloc.h
nginx-1.6.2/src/os/unix/ngx_darwin_config.h
nginx-1.6.2/src/os/unix/ngx_channel.c
nginx-1.6.2/src/os/unix/ngx_channel.h
nginx-1.6.2/src/os/unix/ngx_daemon.c
nginx-1.6.2/src/os/unix/ngx_darwin.h
nginx-1.6.2/src/os/unix/ngx_darwin_sendfile_chain.c
nginx-1.6.2/src/os/unix/ngx_darwin_init.c
nginx-1.6.2/src/os/unix/ngx_file_aio_read.c
nginx-1.6.2/src/os/unix/ngx_errno.c
nginx-1.6.2/src/os/unix/ngx_errno.h
nginx-1.6.2/src/os/unix/ngx_freebsd.h
nginx-1.6.2/src/os/unix/ngx_files.c
nginx-1.6.2/src/os/unix/ngx_files.h
nginx-1.6.2/src/os/unix/ngx_freebsd_rfork_thread.c
nginx-1.6.2/src/os/unix/ngx_freebsd_config.h
nginx-1.6.2/src/os/unix/ngx_freebsd_init.c
nginx-1.6.2/src/os/unix/ngx_freebsd_sendfile_chain.c
nginx-1.6.2/src/os/unix/ngx_freebsd_rfork_thread.h
nginx-1.6.2/src/os/unix/ngx_gcc_atomic_sparc64.h
nginx-1.6.2/src/os/unix/ngx_gcc_atomic_amd64.h
nginx-1.6.2/src/os/unix/ngx_gcc_atomic_ppc.h
nginx-1.6.2/src/os/unix/ngx_solaris_sendfilev_chain.c
nginx-1.6.2/src/os/unix/ngx_gcc_atomic_x86.h
nginx-1.6.2/src/os/unix/ngx_linux.h
nginx-1.6.2/src/os/unix/ngx_linux_aio_read.c
nginx-1.6.2/src/os/unix/ngx_linux_config.h
nginx-1.6.2/src/os/unix/ngx_linux_init.c
nginx-1.6.2/src/os/unix/ngx_linux_sendfile_chain.c
nginx-1.6.2/src/os/unix/ngx_os.h
nginx-1.6.2/src/os/unix/ngx_posix_config.h
nginx-1.6.2/src/os/unix/ngx_posix_init.c
nginx-1.6.2/src/os/unix/ngx_process.c
nginx-1.6.2/src/os/unix/ngx_process.h
nginx-1.6.2/src/os/unix/ngx_process_cycle.c
nginx-1.6.2/src/os/unix/ngx_process_cycle.h
nginx-1.6.2/src/os/unix/ngx_pthread_thread.c
nginx-1.6.2/src/os/unix/ngx_readv_chain.c
nginx-1.6.2/src/os/unix/ngx_recv.c
nginx-1.6.2/src/os/unix/ngx_send.c
nginx-1.6.2/src/os/unix/ngx_setaffinity.c
nginx-1.6.2/src/os/unix/ngx_setaffinity.h
nginx-1.6.2/src/os/unix/ngx_setproctitle.c
nginx-1.6.2/src/os/unix/ngx_setproctitle.h
nginx-1.6.2/src/os/unix/ngx_shmem.c
nginx-1.6.2/src/os/unix/ngx_shmem.h
nginx-1.6.2/src/os/unix/ngx_socket.c
nginx-1.6.2/src/os/unix/ngx_socket.h
nginx-1.6.2/src/os/unix/ngx_solaris.h
nginx-1.6.2/src/os/unix/ngx_solaris_config.h
nginx-1.6.2/src/os/unix/ngx_solaris_init.c
nginx-1.6.2/src/os/unix/ngx_sunpro_atomic_sparc64.h
nginx-1.6.2/src/os/unix/ngx_sunpro_amd64.il
nginx-1.6.2/src/os/unix/ngx_sunpro_sparc64.il
nginx-1.6.2/src/os/unix/ngx_sunpro_x86.il
nginx-1.6.2/src/os/unix/ngx_thread.h
nginx-1.6.2/src/os/unix/ngx_time.c
nginx-1.6.2/src/os/unix/ngx_time.h
nginx-1.6.2/src/os/unix/ngx_udp_recv.c
nginx-1.6.2/src/os/unix/ngx_user.c
nginx-1.6.2/src/os/unix/ngx_user.h
nginx-1.6.2/src/os/unix/ngx_writev_chain.c
nginx-1.6.2/src/os/unix/rfork_thread.S
nginx-1.6.2/src/misc/ngx_google_perftools_module.c
nginx-1.6.2/src/misc/ngx_cpp_test_module.cpp
nginx-1.6.2/src/mail/ngx_mail_handler.c
nginx-1.6.2/src/mail/ngx_mail.c
nginx-1.6.2/src/mail/ngx_mail.h
nginx-1.6.2/src/mail/ngx_mail_auth_http_module.c
nginx-1.6.2/src/mail/ngx_mail_core_module.c
nginx-1.6.2/src/mail/ngx_mail_imap_handler.c
nginx-1.6.2/src/mail/ngx_mail_imap_module.c
nginx-1.6.2/src/mail/ngx_mail_imap_module.h
nginx-1.6.2/src/mail/ngx_mail_parse.c
nginx-1.6.2/src/mail/ngx_mail_pop3_handler.c
nginx-1.6.2/src/mail/ngx_mail_pop3_module.c
nginx-1.6.2/src/mail/ngx_mail_pop3_module.h
nginx-1.6.2/src/mail/ngx_mail_proxy_module.c
nginx-1.6.2/src/mail/ngx_mail_smtp_handler.c
nginx-1.6.2/src/mail/ngx_mail_smtp_module.c
nginx-1.6.2/src/mail/ngx_mail_smtp_module.h
nginx-1.6.2/src/mail/ngx_mail_ssl_module.c
nginx-1.6.2/src/mail/ngx_mail_ssl_module.h
nginx-1.6.2/src/http/modules/
nginx-1.6.2/src/http/ngx_http_cache.h
nginx-1.6.2/src/http/ngx_http.c
nginx-1.6.2/src/http/ngx_http.h
nginx-1.6.2/src/http/ngx_http_copy_filter_module.c
nginx-1.6.2/src/http/ngx_http_busy_lock.c
nginx-1.6.2/src/http/ngx_http_busy_lock.h
nginx-1.6.2/src/http/ngx_http_config.h
nginx-1.6.2/src/http/ngx_http_header_filter_module.c
nginx-1.6.2/src/http/ngx_http_core_module.c
nginx-1.6.2/src/http/ngx_http_core_module.h
nginx-1.6.2/src/http/ngx_http_file_cache.c
nginx-1.6.2/src/http/ngx_http_parse_time.c
nginx-1.6.2/src/http/ngx_http_parse.c
nginx-1.6.2/src/http/ngx_http_request_body.c
nginx-1.6.2/src/http/ngx_http_request.c
nginx-1.6.2/src/http/ngx_http_postpone_filter_module.c
nginx-1.6.2/src/http/ngx_http_request.h
nginx-1.6.2/src/http/ngx_http_spdy_module.c
nginx-1.6.2/src/http/ngx_http_script.c
nginx-1.6.2/src/http/ngx_http_script.h
nginx-1.6.2/src/http/ngx_http_spdy.c
nginx-1.6.2/src/http/ngx_http_spdy.h
nginx-1.6.2/src/http/ngx_http_spdy_filter_module.c
nginx-1.6.2/src/http/ngx_http_spdy_module.h
nginx-1.6.2/src/http/ngx_http_special_response.c
nginx-1.6.2/src/http/ngx_http_upstream.c
nginx-1.6.2/src/http/ngx_http_upstream.h
nginx-1.6.2/src/http/ngx_http_upstream_round_robin.c
nginx-1.6.2/src/http/ngx_http_upstream_round_robin.h
nginx-1.6.2/src/http/ngx_http_variables.c
nginx-1.6.2/src/http/ngx_http_variables.h
nginx-1.6.2/src/http/ngx_http_write_filter_module.c
nginx-1.6.2/src/http/modules/ngx_http_addition_filter_module.c
nginx-1.6.2/src/http/modules/ngx_http_access_module.c
nginx-1.6.2/src/http/modules/ngx_http_charset_filter_module.c
nginx-1.6.2/src/http/modules/ngx_http_auth_basic_module.c
nginx-1.6.2/src/http/modules/ngx_http_auth_request_module.c
nginx-1.6.2/src/http/modules/ngx_http_autoindex_module.c
nginx-1.6.2/src/http/modules/ngx_http_browser_module.c
nginx-1.6.2/src/http/modules/ngx_http_not_modified_filter_module.c
nginx-1.6.2/src/http/modules/ngx_http_chunked_filter_module.c
nginx-1.6.2/src/http/modules/ngx_http_dav_module.c
nginx-1.6.2/src/http/modules/ngx_http_degradation_module.c
nginx-1.6.2/src/http/modules/ngx_http_empty_gif_module.c
nginx-1.6.2/src/http/modules/ngx_http_fastcgi_module.c
nginx-1.6.2/src/http/modules/ngx_http_flv_module.c
nginx-1.6.2/src/http/modules/ngx_http_geo_module.c
nginx-1.6.2/src/http/modules/ngx_http_geoip_module.c
nginx-1.6.2/src/http/modules/ngx_http_gunzip_filter_module.c
nginx-1.6.2/src/http/modules/ngx_http_gzip_filter_module.c
nginx-1.6.2/src/http/modules/ngx_http_gzip_static_module.c
nginx-1.6.2/src/http/modules/ngx_http_headers_filter_module.c
nginx-1.6.2/src/http/modules/ngx_http_image_filter_module.c
nginx-1.6.2/src/http/modules/ngx_http_index_module.c
nginx-1.6.2/src/http/modules/ngx_http_limit_conn_module.c
nginx-1.6.2/src/http/modules/ngx_http_limit_req_module.c
nginx-1.6.2/src/http/modules/ngx_http_log_module.c
nginx-1.6.2/src/http/modules/ngx_http_map_module.c
nginx-1.6.2/src/http/modules/ngx_http_memcached_module.c
nginx-1.6.2/src/http/modules/ngx_http_mp4_module.c
nginx-1.6.2/src/http/modules/ngx_http_random_index_module.c
nginx-1.6.2/src/http/modules/ngx_http_proxy_module.c
nginx-1.6.2/src/http/modules/ngx_http_upstream_ip_hash_module.c
nginx-1.6.2/src/http/modules/ngx_http_range_filter_module.c
nginx-1.6.2/src/http/modules/ngx_http_realip_module.c
nginx-1.6.2/src/http/modules/ngx_http_referer_module.c
nginx-1.6.2/src/http/modules/ngx_http_rewrite_module.c
nginx-1.6.2/src/http/modules/ngx_http_scgi_module.c
nginx-1.6.2/src/http/modules/ngx_http_secure_link_module.c
nginx-1.6.2/src/http/modules/ngx_http_split_clients_module.c
nginx-1.6.2/src/http/modules/ngx_http_ssi_filter_module.c
nginx-1.6.2/src/http/modules/perl/
nginx-1.6.2/src/http/modules/ngx_http_ssi_filter_module.h
nginx-1.6.2/src/http/modules/ngx_http_ssl_module.c
nginx-1.6.2/src/http/modules/ngx_http_ssl_module.h
nginx-1.6.2/src/http/modules/ngx_http_static_module.c
nginx-1.6.2/src/http/modules/ngx_http_stub_status_module.c
nginx-1.6.2/src/http/modules/ngx_http_sub_filter_module.c
nginx-1.6.2/src/http/modules/ngx_http_upstream_keepalive_module.c
nginx-1.6.2/src/http/modules/ngx_http_upstream_least_conn_module.c
nginx-1.6.2/src/http/modules/ngx_http_userid_filter_module.c
nginx-1.6.2/src/http/modules/ngx_http_uwsgi_module.c
nginx-1.6.2/src/http/modules/ngx_http_xslt_filter_module.c
nginx-1.6.2/src/http/modules/perl/Makefile.PL
nginx-1.6.2/src/http/modules/perl/nginx.pm
nginx-1.6.2/src/http/modules/perl/nginx.xs
nginx-1.6.2/src/http/modules/perl/typemap
nginx-1.6.2/src/http/modules/perl/ngx_http_perl_module.c
nginx-1.6.2/src/http/modules/perl/ngx_http_perl_module.h
nginx-1.6.2/src/event/modules/
nginx-1.6.2/src/event/ngx_event_accept.c
nginx-1.6.2/src/event/ngx_event.c
nginx-1.6.2/src/event/ngx_event.h
nginx-1.6.2/src/event/ngx_event_openssl_stapling.c
nginx-1.6.2/src/event/ngx_event_busy_lock.c
nginx-1.6.2/src/event/ngx_event_busy_lock.h
nginx-1.6.2/src/event/ngx_event_connect.c
nginx-1.6.2/src/event/ngx_event_connect.h
nginx-1.6.2/src/event/ngx_event_mutex.c
nginx-1.6.2/src/event/ngx_event_openssl.c
nginx-1.6.2/src/event/ngx_event_openssl.h
nginx-1.6.2/src/event/ngx_event_pipe.c
nginx-1.6.2/src/event/ngx_event_pipe.h
nginx-1.6.2/src/event/ngx_event_posted.c
nginx-1.6.2/src/event/ngx_event_posted.h
nginx-1.6.2/src/event/ngx_event_timer.c
nginx-1.6.2/src/event/ngx_event_timer.h
nginx-1.6.2/src/event/modules/ngx_devpoll_module.c
nginx-1.6.2/src/event/modules/ngx_aio_module.c
nginx-1.6.2/src/event/modules/ngx_eventport_module.c
nginx-1.6.2/src/event/modules/ngx_epoll_module.c
nginx-1.6.2/src/event/modules/ngx_win32_select_module.c
nginx-1.6.2/src/event/modules/ngx_kqueue_module.c
nginx-1.6.2/src/event/modules/ngx_poll_module.c
nginx-1.6.2/src/event/modules/ngx_rtsig_module.c
nginx-1.6.2/src/event/modules/ngx_select_module.c
nginx-1.6.2/src/core/ngx_array.c
nginx-1.6.2/src/core/nginx.c
nginx-1.6.2/src/core/nginx.h
nginx-1.6.2/src/core/ngx_conf_file.c
nginx-1.6.2/src/core/ngx_array.h
nginx-1.6.2/src/core/ngx_buf.c
nginx-1.6.2/src/core/ngx_buf.h
nginx-1.6.2/src/core/ngx_connection.c
nginx-1.6.2/src/core/ngx_conf_file.h
nginx-1.6.2/src/core/ngx_config.h
nginx-1.6.2/src/core/ngx_murmurhash.c
nginx-1.6.2/src/core/ngx_file.c
nginx-1.6.2/src/core/ngx_connection.h
nginx-1.6.2/src/core/ngx_core.h
nginx-1.6.2/src/core/ngx_cpuinfo.c
nginx-1.6.2/src/core/ngx_crc.h
nginx-1.6.2/src/core/ngx_crc32.c
nginx-1.6.2/src/core/ngx_crc32.h
nginx-1.6.2/src/core/ngx_crypt.c
nginx-1.6.2/src/core/ngx_crypt.h
nginx-1.6.2/src/core/ngx_cycle.c
nginx-1.6.2/src/core/ngx_cycle.h
nginx-1.6.2/src/core/ngx_file.h
nginx-1.6.2/src/core/ngx_hash.c
nginx-1.6.2/src/core/ngx_hash.h
nginx-1.6.2/src/core/ngx_inet.c
nginx-1.6.2/src/core/ngx_inet.h
nginx-1.6.2/src/core/ngx_list.c
nginx-1.6.2/src/core/ngx_list.h
nginx-1.6.2/src/core/ngx_log.c
nginx-1.6.2/src/core/ngx_log.h
nginx-1.6.2/src/core/ngx_md5.c
nginx-1.6.2/src/core/ngx_md5.h
nginx-1.6.2/src/core/ngx_open_file_cache.c
nginx-1.6.2/src/core/ngx_murmurhash.h
nginx-1.6.2/src/core/ngx_open_file_cache.h
nginx-1.6.2/src/core/ngx_output_chain.c
nginx-1.6.2/src/core/ngx_palloc.c
nginx-1.6.2/src/core/ngx_palloc.h
nginx-1.6.2/src/core/ngx_parse.c
nginx-1.6.2/src/core/ngx_parse.h
nginx-1.6.2/src/core/ngx_proxy_protocol.c
nginx-1.6.2/src/core/ngx_proxy_protocol.h
nginx-1.6.2/src/core/ngx_queue.c
nginx-1.6.2/src/core/ngx_queue.h
nginx-1.6.2/src/core/ngx_radix_tree.c
nginx-1.6.2/src/core/ngx_radix_tree.h
nginx-1.6.2/src/core/ngx_rbtree.c
nginx-1.6.2/src/core/ngx_rbtree.h
nginx-1.6.2/src/core/ngx_regex.c
nginx-1.6.2/src/core/ngx_regex.h
nginx-1.6.2/src/core/ngx_resolver.c
nginx-1.6.2/src/core/ngx_resolver.h
nginx-1.6.2/src/core/ngx_sha1.h
nginx-1.6.2/src/core/ngx_shmtx.c
nginx-1.6.2/src/core/ngx_shmtx.h
nginx-1.6.2/src/core/ngx_slab.c
nginx-1.6.2/src/core/ngx_slab.h
nginx-1.6.2/src/core/ngx_spinlock.c
nginx-1.6.2/src/core/ngx_string.c
nginx-1.6.2/src/core/ngx_string.h
nginx-1.6.2/src/core/ngx_times.c
nginx-1.6.2/src/core/ngx_times.h
nginx-1.6.2/contrib/geo2nginx.pl
nginx-1.6.2/contrib/README
nginx-1.6.2/contrib/unicode2nginx/
nginx-1.6.2/contrib/vim/
nginx-1.6.2/contrib/vim/ftdetect/
nginx-1.6.2/contrib/vim/indent/
nginx-1.6.2/contrib/vim/syntax/
nginx-1.6.2/contrib/vim/syntax/nginx.vim
nginx-1.6.2/contrib/vim/indent/nginx.vim
nginx-1.6.2/contrib/vim/ftdetect/nginx.vim
nginx-1.6.2/contrib/unicode2nginx/koi-utf
nginx-1.6.2/contrib/unicode2nginx/win-utf
nginx-1.6.2/contrib/unicode2nginx/unicode-to-nginx.pl
nginx-1.6.2/conf/fastcgi.conf
nginx-1.6.2/conf/fastcgi_params
nginx-1.6.2/conf/koi-utf
nginx-1.6.2/conf/koi-win
nginx-1.6.2/conf/mime.types
nginx-1.6.2/conf/nginx.conf
nginx-1.6.2/conf/scgi_params
nginx-1.6.2/conf/uwsgi_params
nginx-1.6.2/conf/win-utf
nginx-1.6.2/auto/cc/
nginx-1.6.2/auto/have_headers
nginx-1.6.2/auto/define
nginx-1.6.2/auto/endianness
nginx-1.6.2/auto/feature
nginx-1.6.2/auto/have
nginx-1.6.2/auto/lib/
nginx-1.6.2/auto/os/
nginx-1.6.2/auto/headers
nginx-1.6.2/auto/include
nginx-1.6.2/auto/init
nginx-1.6.2/auto/install
nginx-1.6.2/auto/types/
nginx-1.6.2/auto/make
nginx-1.6.2/auto/modules
nginx-1.6.2/auto/nohave
nginx-1.6.2/auto/options
nginx-1.6.2/auto/sources
nginx-1.6.2/auto/stubs
nginx-1.6.2/auto/summary
nginx-1.6.2/auto/unix
nginx-1.6.2/auto/types/uintptr_t
nginx-1.6.2/auto/types/sizeof
nginx-1.6.2/auto/types/typedef
nginx-1.6.2/auto/types/value
nginx-1.6.2/auto/os/conf
nginx-1.6.2/auto/os/darwin
nginx-1.6.2/auto/os/freebsd
nginx-1.6.2/auto/os/linux
nginx-1.6.2/auto/os/solaris
nginx-1.6.2/auto/os/win32
nginx-1.6.2/auto/lib/geoip/
nginx-1.6.2/auto/lib/conf
nginx-1.6.2/auto/lib/google-perftools/
nginx-1.6.2/auto/lib/libatomic/
nginx-1.6.2/auto/lib/libgd/
nginx-1.6.2/auto/lib/libxslt/
nginx-1.6.2/auto/lib/md5/
nginx-1.6.2/auto/lib/make
nginx-1.6.2/auto/lib/openssl/
nginx-1.6.2/auto/lib/pcre/
nginx-1.6.2/auto/lib/perl/
nginx-1.6.2/auto/lib/sha1/
nginx-1.6.2/auto/lib/zlib/
nginx-1.6.2/auto/lib/test
nginx-1.6.2/auto/lib/zlib/makefile.bcc
nginx-1.6.2/auto/lib/zlib/conf
nginx-1.6.2/auto/lib/zlib/make
nginx-1.6.2/auto/lib/zlib/makefile.msvc
nginx-1.6.2/auto/lib/zlib/makefile.owc
nginx-1.6.2/auto/lib/zlib/patch.zlib.h
nginx-1.6.2/auto/lib/sha1/makefile.bcc
nginx-1.6.2/auto/lib/sha1/conf
nginx-1.6.2/auto/lib/sha1/make
nginx-1.6.2/auto/lib/sha1/makefile.msvc
nginx-1.6.2/auto/lib/sha1/makefile.owc
nginx-1.6.2/auto/lib/perl/conf
nginx-1.6.2/auto/lib/perl/make
nginx-1.6.2/auto/lib/pcre/makefile.bcc
nginx-1.6.2/auto/lib/pcre/conf
nginx-1.6.2/auto/lib/pcre/make
nginx-1.6.2/auto/lib/pcre/makefile.msvc
nginx-1.6.2/auto/lib/pcre/makefile.owc
nginx-1.6.2/auto/lib/openssl/makefile.bcc
nginx-1.6.2/auto/lib/openssl/conf
nginx-1.6.2/auto/lib/openssl/make
nginx-1.6.2/auto/lib/openssl/makefile.msvc
nginx-1.6.2/auto/lib/md5/makefile.bcc
nginx-1.6.2/auto/lib/md5/conf
nginx-1.6.2/auto/lib/md5/make
nginx-1.6.2/auto/lib/md5/makefile.msvc
nginx-1.6.2/auto/lib/md5/makefile.owc
nginx-1.6.2/auto/lib/libxslt/conf
nginx-1.6.2/auto/lib/libgd/conf
nginx-1.6.2/auto/lib/libatomic/conf
nginx-1.6.2/auto/lib/libatomic/make
nginx-1.6.2/auto/lib/google-perftools/conf
nginx-1.6.2/auto/lib/geoip/conf
nginx-1.6.2/auto/cc/clang
nginx-1.6.2/auto/cc/acc
nginx-1.6.2/auto/cc/bcc
nginx-1.6.2/auto/cc/ccc
nginx-1.6.2/auto/cc/conf
nginx-1.6.2/auto/cc/gcc
nginx-1.6.2/auto/cc/icc
nginx-1.6.2/auto/cc/msvc
nginx-1.6.2/auto/cc/name
nginx-1.6.2/auto/cc/owc
nginx-1.6.2/auto/cc/sunc

--------------------------------------------

Where do you want to install Nginx to?

Please specify a prefix directory [/opt/nginx]:

--------------------------------------------

Compiling Passenger support files...
# env NOEXEC_DISABLE=1 /export/home/ladmin/.rvm/gems/ruby-2.1.5@global/wrappers/rake nginx:clean nginx RELEASE=yes
rm -rf buildout/cache
rm -rf buildout/common/libboost_oxt.a buildout/common/libboost_oxt
rm -f buildout/common/libpassenger_common/Logging.o buildout/common/libpassenger_common/Exceptions.o buildout/common/libpassenger_common/Utils/SystemTime.o buildout/common/libpassenger_common/Utils/StrIntUtils.o buildout/common/libpassenger_common/Utils/StrIntUtilsNoStrictAliasing.o buildout/common/libpassenger_common/Utils/IOUtils.o buildout/common/libpassenger_common/Utils.o
rm -f buildout/common/libpassenger_common/Utils/modp_b64.o buildout/common/libpassenger_common/Utils/CachedFileStat.o buildout/common/libpassenger_common/Utils/LargeFiles.o buildout/common/libpassenger_common/ApplicationPool2/Implementation.o buildout/common/libpassenger_common/ApplicationPool2/AppTypes.o buildout/common/libpassenger_common/AgentsStarter.o buildout/common/libpassenger_common/AgentsBase.o buildout/common/libpassenger_common/MemoryKit/mbuf.o buildout/common/libpassenger_common/MemoryKit/palloc.o buildout/common/libpassenger_common/ServerKit/http_parser.o buildout/common/libpassenger_common/ServerKit/Implementation.o buildout/common/libpassenger_common/Utils/MD5.o buildout/common/libpassenger_common/Utils/Hasher.o buildout/common/libpassenger_common/Utils/jsoncpp.o
rm -f buildout/common/libpassenger_common/agents/LoggingAgent/FilterSupport.o
rm -rf buildout/common/libpassenger_common
rm -rf buildout/support-binaries/
Creating ext/nginx/ConfigurationCommands.c
Creating ext/nginx/CreateLocationConfig.c
Creating ext/nginx/MergeLocationConfig.c
Creating ext/nginx/CacheLocationConfig.c
Creating ext/nginx/ConfigurationFields.h
Creating ext/common/Constants.h
mkdir -p buildout/support-binaries
c++ -o buildout/support-binaries/WatchdogMain.o  -Iext -Iext/common  -Iext/libev -Iext/libeio -D_REENTRANT -I/usr/local/include -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-long-long -Wno-missing-field-initializers -feliminate-unused-debug-symbols -feliminate-unused-debug-types -fvisibility=hidden -DVISIBILITY_ATTRIBUTE_SUPPORTED -ggdb -DHAS_ALLOCA_H -DHAS_SFENCE -DHAS_LFENCE -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -Wno-unused-local-typedefs -DHASH_NAMESPACE="__gnu_cxx" -DHASH_MAP_HEADER="<hash_map>" -DHASH_MAP_CLASS="hash_map" -DHASH_FUN_H="<hash_fun.h>" -pthreads -D__EXTENSIONS__ -D__SOLARIS__ -D_FILE_OFFSET_BITS=64 -DBOOST_HAS_STDINT_H -c ext/common/agents/Watchdog/Main.cpp
c++ -o buildout/support-binaries/ServerMain.o  -Iext -Iext/common  -Iext/libev -Iext/libeio -D_REENTRANT -I/usr/local/include -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-long-long -Wno-missing-field-initializers -feliminate-unused-debug-symbols -feliminate-unused-debug-types -fvisibility=hidden -DVISIBILITY_ATTRIBUTE_SUPPORTED -ggdb -DHAS_ALLOCA_H -DHAS_SFENCE -DHAS_LFENCE -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -Wno-unused-local-typedefs -DHASH_NAMESPACE="__gnu_cxx" -DHASH_MAP_HEADER="<hash_map>" -DHASH_MAP_CLASS="hash_map" -DHASH_FUN_H="<hash_fun.h>" -pthreads -D__EXTENSIONS__ -D__SOLARIS__ -D_FILE_OFFSET_BITS=64 -DBOOST_HAS_STDINT_H -c ext/common/agents/HelperAgent/Main.cpp
In file included from /usr/gcc/4.5/lib/gcc/i386-pc-solaris2.11/4.5.2/../../../../include/c++/4.5.2/backward/hash_map:60:0,
                 from ext/common/Utils/HashMap.h:30,
                 from ext/common/Utils/StringMap.h:17,
                 from ext/common/Utils/CachedFileStat.hpp:26,
                 from ext/common/ApplicationPool2/AppTypes.h:67,
                 from ext/common/ApplicationPool2/Options.h:16,
                 from ext/common/ApplicationPool2/ErrorRenderer.h:16,
                 from ext/common/agents/HelperAgent/RequestHandler.h:44,
                 from ext/common/agents/HelperAgent/Main.cpp:50:
/usr/gcc/4.5/lib/gcc/i386-pc-solaris2.11/4.5.2/../../../../include/c++/4.5.2/backward/backward_warning.h:28:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated.
In file included from ext/common/agents/HelperAgent/ResponseCache.h:20:0,
                 from ext/common/agents/HelperAgent/RequestHandler/TurboCaching.h:18,
                 from ext/common/agents/HelperAgent/RequestHandler.h:56,
                 from ext/common/agents/HelperAgent/Main.cpp:50:
ext/common/Utils/DateParsing.h: In function ‘time_t Passenger::parsedDateToTimestamp(tm&, int)’:
ext/common/Utils/DateParsing.h:68:15: error: ‘struct tm’ has no member named ‘tm_gmtoff’
In file included from ext/common/agents/HelperAgent/Main.cpp:50:0:
ext/common/agents/HelperAgent/RequestHandler.h: In member function ‘virtual Json::Value Passenger::RequestHandler::inspectRequestStateAsJson(const Passenger::ServerKit::HttpServer<Passenger::RequestHandler, Passenger::Client>::Request*) const’:
ext/common/agents/HelperAgent/RequestHandler.h:418:41: error: conversion from ‘pid_t’ to ‘const Json::Value’ is ambiguous
ext/common/Utils/json.h:554:7: note: candidates are: Json::Value::Value(bool)
ext/common/Utils/json.h:537:7: note:                 Json::Value::Value(const char*) <near match>
ext/common/Utils/json.h:536:7: note:                 Json::Value::Value(double)
ext/common/Utils/json.h:534:7: note:                 Json::Value::Value(Json::Value::UInt64)
ext/common/Utils/json.h:533:7: note:                 Json::Value::Value(Json::Value::Int64)
ext/common/Utils/json.h:531:7: note:                 Json::Value::Value(Json::Value::UInt)
ext/common/Utils/json.h:530:7: note:                 Json::Value::Value(Json::Value::Int)
ext/common/Utils/json.h:529:7: note:                 Json::Value::Value(Json::ValueType) <near match>
In file included from ext/common/agents/HelperAgent/RequestHandler.h:56:0,
                 from ext/common/agents/HelperAgent/Main.cpp:50:
ext/common/agents/HelperAgent/RequestHandler/TurboCaching.h: In member function ‘unsigned int Passenger::TurboCaching<Request>::buildResponseHeader(const Passenger::TurboCaching<Request>::ResponsePreparation&, Server*, char*, unsigned int) [with Server = Passenger::RequestHandler, Request = Passenger::Request]’:
ext/common/agents/HelperAgent/RequestHandler/TurboCaching.h:252:3:   instantiated from ‘void Passenger::TurboCaching<Request>::writeResponse(Server*, Client*, Request*, Passenger::TurboCaching<Request>::ResponseCacheEntryType&) [with Server = Passenger::RequestHandler, Client = Passenger::Client, Request = Passenger::Request, Passenger::TurboCaching<Request>::ResponseCacheEntryType = Passenger::ResponseCache<Passenger::Request>::Entry]’
ext/common/agents/HelperAgent/RequestHandler/InitRequest.cpp:143:55:   instantiated from here
ext/common/agents/HelperAgent/RequestHandler/TurboCaching.h:163:5: warning: comparison between signed and unsigned integer expressions
ext/common/agents/HelperAgent/RequestHandler/TurboCaching.h:164:5: warning: comparison between signed and unsigned integer expressions
ext/boost/system/error_code.hpp: At global scope:
ext/boost/system/error_code.hpp:222:36: warning: ‘boost::system::posix_category’ defined but not used
ext/boost/system/error_code.hpp:223:36: warning: ‘boost::system::errno_ecat’ defined but not used
ext/boost/system/error_code.hpp:224:36: warning: ‘boost::system::native_ecat’ defined but not used
cc1plus: warning: unrecognized command line option "-Wno-unused-local-typedefs"
rake aborted!
Command failed with status (1): [c++ -o buildout/support-binaries/ServerMain.o  -Iext -Iext/common  -Iext/libev -Iext/libeio -D_REENTRANT -I/usr/local/include -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-long-long -Wno-missing-field-initializers -feliminate-unused-debug-symbols -feliminate-unused-debug-types -fvisibility=hidden -DVISIBILITY_ATTRIBUTE_SUPPORTED -ggdb -DHAS_ALLOCA_H -DHAS_SFENCE -DHAS_LFENCE -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -Wno-unused-local-typedefs -DHASH_NAMESPACE="__gnu_cxx" -DHASH_MAP_HEADER="<hash_map>" -DHASH_MAP_CLASS="hash_map" -DHASH_FUN_H="<hash_fun.h>" -pthreads -D__EXTENSIONS__ -D__SOLARIS__ -D_FILE_OFFSET_BITS=64 -DBOOST_HAS_STDINT_H -c ext/common/agents/HelperAgent/Main.cpp]

Tasks: TOP => nginx => nginx_without_native_support => buildout/support-binaries/PassengerAgent => buildout/support-binaries/ServerMain.o
(See full trace by running task with --trace)
--------------------------------------------

It looks like something went wrong

Please read our Users guide for troubleshooting tips:

   /export/home/ladmin/.rvm/gems/ruby-2.1.5@global/gems/passenger-enterprise-server-5.0.4/doc/Users guide Nginx.html
   https://www.phusionpassenger.com/documentation/Users%20guide%20Nginx.html

If that doesn't help, please use our support facilities. We'll do our best to help you.

   https://www.phusionpassenger.com/documentation_and_support
FooBarWidget commented 9 years ago

The main problem is that Solaris does not seem to be support tm_gmtoff.

The question is whether we need tm_gmtoff in the first place. We use mktime(), but maybe we can use timegm(). However, timegm() is non-standard, and may not be supported either on Solaris. More investigation is required.

CirrusThink commented 9 years ago

So what is next ?

FooBarWidget commented 9 years ago

First, we need to find a way to get our hands on a Solaris installation. I think I have an old OpenSolaris 2009 VM somewhere on a harddisk, but I need to go find it. If that fails, maybe we can try SmartOS and hope that's it's "close enough" to Solaris 11.2.

CirrusThink commented 9 years ago

I can help. I have an available Solaris 11.2 Would that work ?

FooBarWidget commented 9 years ago

Yes that would help, thank you. :) The next step is to research Solaris 11.2's supported time APIs. Does your Solaris install have developer man pages installed? If so, could you run man timegm and tell me what it says?

CirrusThink commented 9 years ago

Ok looking for that. In the meantime I tried to install 4.0.59 and I get this at the end

Compiling and installing Nginx...
# sh ./configure --prefix='/opt/nginx' --with-http_ssl_module --with-http_gzip_static_module --with-http_stub_status_module --with-cc-opt='-Wno-error' --add-module=/export/home/ladmin/ngx_devel_kit-master --add-module=/export/home/ladmin/lua-nginx-module-master --add-module='/export/home/ladmin/.rvm/gems/ruby-2.1.5@global/gems/passenger-enterprise-server-4.0.59/ext/nginx'
checking for OS
 + SunOS 5.11 i86pc
checking for C compiler ... not found

./configure: error: C compiler cc is not found

But I though compilers where present
FooBarWidget commented 9 years ago

Maybe it's because --with-cc-opt='-Wno-error' is being passed to the configure script. Maybe your Solaris compiler does not support that flag. Try compiling Passenger as a normal Nginx module (see docs) so that that flag is not passed to the compiler.

CirrusThink commented 9 years ago

So I cannot man timegm but I do see a man for gmtime Reformatting page. Please Wait... done

Standard C Library Functions ctime(3C)

NAME ctime, ctime_r, localtime, localtime_r, gmtime, gmtime_r, asctime, asctime_r, tzset - convert date and time to string

SYNOPSIS

include

 char *ctime(const time_t *clock);

 struct tm *localtime(const time_t *clock);

 struct tm *gmtime(const time_t *clock);

 char *asctime(const struct tm *tm);

 extern time_t timezone, altzone;
 extern int daylight;
 extern char *tzname[2];

 void tzset(void);

 char *ctime_r(const time_t *clock, char *buf, int buflen);

 struct tm *localtime_r(const time_t *restrict clock,
      struct tm *restrict res); .....
FooBarWidget commented 9 years ago

gmtime and timegm are not the same.

Now that I know Solaris doesn't support it, I have to come up with a different solution, but I do not yet know what is it. I will have to think about this for a while.

CirrusThink commented 9 years ago

Do you still want access to the Solaris 11.2 box ?

FooBarWidget commented 9 years ago

It is not necessary right now, thank you.

CirrusThink commented 9 years ago

k

CirrusThink commented 9 years ago

enterprise customers is there a different ticketing support system or still here ?

FooBarWidget commented 9 years ago

Enterprise customers can also email support questions to support@phusion.nl. But the engineers you reach through that way are the same as through Github issues, so if we've already noticed the Github issue then there's no point in sending an email to support@phusion.nl.

CirrusThink commented 9 years ago

ok

CirrusThink commented 9 years ago

"Maybe it's because --with-cc-opt='-Wno-error' is being passed to the configure script. " Commented it int he script but still

Compiling and installing Nginx...
# sh ./configure --prefix='/opt/nginx' --with-http_ssl_module --with-http_gzip_static_module --with-http_stub_status_module --add-module=/export/home/ladmin/ngx_devel_kit-master --add-module=/export/home/ladmin/lua-nginx-module-master --add-module='/export/home/ladmin/.rvm/gems/ruby-2.1.5@global/gems/passenger-enterprise-server-4.0.59/ext/nginx'
checking for OS
 + SunOS 5.11 i86pc
checking for C compiler ... not found

./configure: error: C compiler cc is not found

Is there somewhere in the passenger-install-nginx-module script that I can point to use the GCC compiler ?

FooBarWidget commented 9 years ago

Yes, through --extra-configure-flags='--with-cc=/path-to-cc'

CirrusThink commented 9 years ago

what if I want to use gcc instead of cc then would it be --extra-configure-flags='--with-gcc=/usr/bin/gcc' ?

CirrusThink commented 9 years ago

ok so far Solaris 11.2 with Passenger 4.0.59 works with the following statement rvmsudo passenger-install-nginx-module --extra-configure-flags='--with-cc=/usr/bin/gcc'

CirrusThink commented 9 years ago

Could not find a valid gem 'passenger-enterprise-server' (= 5.0.5) in any repository is this posted yet ?

FooBarWidget commented 9 years ago

5.0.5 is not released yet. It's still under development.

CirrusThink commented 9 years ago

how can I deploy the 5.0.5 fix for Solaris ?

FooBarWidget commented 9 years ago

The fix is not yet deployable until we've released Enterprise 5.0.5, which we expect in about 2 weeks. However, you can test whether the fix works, by compiling the open source version as follows:

cd /somewhere
git clone git://github.com/phusion/passenger.git
cd passenger
git checkout GH-1435
./bin/passenger-install-nginx-module --extra-configure-flags='--with-gcc=/usr/bin/gcc'

If this doesn't give you compilation errors, then we know the issue has been fixed.

CirrusThink commented 9 years ago

How do I tell passenger-install-nginx-module to use /usr/local/lib for lua ? liblua.so => /usr/lib/liblua.so is coming from wrong place I need to link it towards liblua.a in /usr/local/lib

OnixGH commented 9 years ago

@CirrusThink I don't have any experience with the Lua module, but the installer doc http://wiki.nginx.org/HttpLuaModule#Installation suggests nginx installation requires extra configure flags like: --with-ld-opt='-Wl,-rpath,/path/to/luajit-or-lua/lib" --add-module=/path/to/ngx_devel_kit --add-module=/path/to/lua-nginx-module

Does the branch compile for you now that we've removed the tm_gmtoff for solaris? Would be great to know, thanks.

FooBarWidget commented 9 years ago

Merging this to branch stable-5.0, considering issue closed.