ERROR while installing passengerapache2 module

11 views
Skip to first unread message

srinivas peteti

unread,
Oct 6, 2016, 3:07:00 AM10/6/16
to Phusion Passenger Discussions
when i made sudo /usr/local/bin/passenger-install-apache2-module -a
all dependencies required are there,butt ia m getting wmemcpy not declared error
--------------------------------------------

Which languages are you interested in?

Override selection with --languages.

 ‣ ⬢  Ruby
   ⬢  Python
   ⬡  Node.js
   ⬡  Meteor

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

Checking for required software...

 * Checking for C compiler...
      Found: yes
      Location: /usr/bin/cc
 * Checking for C++ compiler...
      Found: yes
      Location: /usr/bin/c++
 * 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.35.0
      Usable: yes
      Supports SSL: yes
 * Checking for Zlib development headers...
      Found: yes
      Location: /usr/include/zlib.h
 * Checking for Apache 2...
      Found: yes
      Location of httpd: /usr/sbin/apache2
      Apache version: 2.4.7
 * Checking for Apache 2 development headers...
      Found: yes
      Location of apxs2: /usr/bin/apxs2
 * Checking for Rake (associated with /usr/bin/ruby2.2)...
      Found: yes
      Location: /usr/bin/ruby2.2 /usr/bin/rake
 * Checking for OpenSSL support for Ruby...
      Found: yes
 * Checking for RubyGems...
      Found: yes
 * Checking for Ruby development headers...
      Found: yes
      Location: /usr/include/ruby-2.2.0/ruby.h
 * Checking for rack...
      Found: yes
 * Checking for Apache Portable Runtime (APR) development headers...
      Found: yes
      Location: /usr/bin/apr-1-config
      Version: 1.5.1
 * Checking for Apache Portable Runtime Utility (APU) development headers...
      Found: yes
      Location: /usr/bin/apu-1-config
      Version: 1.5.3

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

Checking whether there are multiple Apache installations...
Only a single installation detected. This is good.

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

In file included from /usr/include/c++/4.8/bits/postypes.h:40:0,
                 from /usr/include/c++/4.8/bits/char_traits.h:40,
                 from /usr/include/c++/4.8/string:40,
                 from src/cxx_supportlib/oxt/detail/tracable_exception_enabled.hpp:25,
                 from src/cxx_supportlib/oxt/tracable_exception.hpp:31,
                 from src/cxx_supportlib/Exceptions.h:62,
                 from src/cxx_supportlib/Exceptions.cpp:27:
/usr/include/c++/4.8/cwchar:199:11: error: ‘::wmemcpy’ has not been declared
   using ::wmemcpy;

           ^
In file included from /usr/include/c++/4.8/string:40:0,
                 from src/cxx_supportlib/oxt/detail/tracable_exception_enabled.hpp:25,
                 from src/cxx_supportlib/oxt/tracable_exception.hpp:31,
                 from src/cxx_supportlib/Exceptions.h:62,
                 from src/cxx_supportlib/Exceptions.cpp:27:
/usr/include/c++/4.8/bits/char_traits.h: In static member function ‘static std::char_traits<wchar_t>::char_type* std::char_traits<wchar_t>::copy(std::char_traits<wchar_t>::char_type*, const char_type*, std::size_t)’:
/usr/include/c++/4.8/bits/char_traits.h:342:39: error: ‘wmemcpy’ was not declared in this scope
       { return wmemcpy(__s1, __s2, __n); }
                                       ^

rake aborted!


-

Daniel Knoppel

unread,
Oct 7, 2016, 4:11:20 PM10/7/16
to Phusion Passenger Discussions
What platform?

Googling the error suggests you are using mingw to compile, if that is the case: Windows is not supported.

- Daniel
Reply all
Reply to author
Forward
0 new messages